File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ function ImageConverterForm() {
110110
111111 return (
112112 < >
113- < form onSubmit = { handleSubmit } id = "image-converter-form" className = "flex flex-col gap-4 m-auto my-8" >
113+ < form onSubmit = { handleSubmit } id = "image-converter-form" className = "flex flex-col gap-4 m-auto my-8 mb-16 " >
114114 < fieldset >
115115 < label htmlFor = "image-input" className = "btn btn-secondary text-center" > Select Images (JPEG, PNG, WEBP)</ label >
116116 < input className = "hidden" type = "file" id = "image-input" accept = "image/*" multiple
@@ -175,8 +175,13 @@ function ImageConverter() {
175175 return (
176176 < div className = "flex flex-col items-center justify-center p-4 min-h-[75vh]" >
177177 < h1 > Image Converter</ h1 >
178- < p > Select images to convert and optimize.</ p >
178+ < p className = "text-lg" > Select images to convert and optimize.</ p >
179179 < ImageConverterForm />
180+
181+ < p className = "text-gray-400" >
182+ Your images are not stored on our server.< br />
183+ This means you can safely upload and convert your images without worrying about privacy or data retention.
184+ </ p >
180185 </ div > ) ;
181186}
182187
Original file line number Diff line number Diff line change 88 BrowserRouter , Routes , Route
99} from "react-router" ;
1010
11- const BASE = ' /image-optimizer/';
11+ const BASE = process . env . NODE_ENV === 'production' ? ' /image-optimizer' : ' /';
1212
1313createRoot ( document . getElementById ( 'root' ) ) . render (
1414 < StrictMode >
@@ -19,7 +19,7 @@ createRoot(document.getElementById('root')).render(
1919 </ Routes >
2020 </ BrowserRouter >
2121 </ main >
22- < footer className = "footer py-12" >
22+ < footer className = "footer py-12 text-gray-400 " >
2323 < p className = "mb-4" > View on < a href = "https://github.com/timbatt/image-optimizer" target = "_blank" > Github</ a > </ p >
2424 < p > < a href = "https://www.zoarvalleysoftware.com" target = "_blank" rel = "noopener noreferrer" > © Zoar Valley Software LLC - 2025</ a > </ p >
2525 </ footer >
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ import tailwindcss from '@tailwindcss/vite'
55// https://vite.dev/config/
66export default defineConfig ( {
77 plugins : [ react ( ) , tailwindcss ( ) ] ,
8- base : ' /image-optimizer',
8+ base : process . env . NODE_ENV === 'production' ? ' /image-optimizer' : '/ ',
99} )
You can’t perform that action at this time.
0 commit comments