Improve default page

This commit is contained in:
kbe
2025-08-13 16:43:18 +02:00
parent a214192c41
commit be63600ca3

View File

@@ -20,42 +20,50 @@ export default function Home() {
Add a section here to display before/after photo and demonstrate how the application works Add a section here to display before/after photo and demonstrate how the application works
*/} */}
<div className="flex items-center w-full max-w-screen-xl mx-auto"> <section className="w-full" style={{ backgroundColor: 'rgb(248, 249, 254)' }}>
<div className="w-full p-4 bg-white rounded-lg shadow-lg"> <div className="max-w-screen-xl mx-auto py-24">
<h2 className="text-2xl font-bold text-center text-gray-800 mb-4"> <h2 className="text-3xl font-bold text-center text-gray-800 mb-4">See how Dishpix can help you improve your content online.</h2>
Before & After: See the Dishpix AI Magic <div className="flex flex-col items-center">
</h2> <h3 className="text-lg font-semibold text-center text-gray-700 mb-2">
<div className="flex justify-center space-x-4"> Photo Comparison
<div className="w-1/2"> </h3>
<h3 className="text-lg font-semibold text-center text-gray-700 mb-2"> <div className="flex justify-center space-x-4 w-full">
Before <div className="w-1/4 p-4 bg-gray-100 rounded-lg shadow-md border-2 border-solid border-color-indigo-500">
</h3> <h4 className="text-sm font-semibold text-center text-gray-700 mb-1">
<Image Before
src="/before-photo.png" </h4>
alt="Before photo" <Image
width={400} src="/before-photo.png"
height={300} alt="Before photo"
className="w-full h-auto rounded" width={150}
/> height={113}
className="w-full h-auto rounded"
/>
</div>
<div className="w-1/4 p-4 bg-gray-100 rounded-lg shadow-md border-2 border-solid border-color-indigo-500">
<h4 className="text-sm font-semibold text-center text-gray-700 mb-1">
After
</h4>
<Image
src="/after-photo.png"
alt="After photo"
width={150}
height={113}
className="w-full h-auto rounded"
/>
</div>
</div> </div>
<div className="w-1/2"> <div className="mt-8 text-center">
<h3 className="text-lg font-semibold text-center text-gray-700 mb-2"> <h3 className="text-lg font-semibold text-gray-700 mb-2">
After What Happened?
</h3> </h3>
<Image <p className="text-gray-600">
src="/after-photo.png" Dishpix AI transforms ordinary food photos into stunning, professional-quality images. Our advanced algorithms enhance colors, adjust lighting, and add artistic touches to make your food photos look incredible. Simply upload your photo and let the magic happen!
alt="After photo" </p>
width={400}
height={300}
className="w-full h-auto rounded"
/>
</div> </div>
</div> </div>
<p className="mt-4 text-center text-gray-600">
See how Dishpix AI transforms ordinary food photos into stunning, professional-quality images. Upload your photo and let the magic happen!
</p>
</div> </div>
</div> </section>
</div> </div>
); );
} }