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>
<div className="flex justify-center space-x-4">
<div className="w-1/2">
<h3 className="text-lg font-semibold text-center text-gray-700 mb-2"> <h3 className="text-lg font-semibold text-center text-gray-700 mb-2">
Before Photo Comparison
</h3> </h3>
<div className="flex justify-center space-x-4 w-full">
<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">
Before
</h4>
<Image <Image
src="/before-photo.png" src="/before-photo.png"
alt="Before photo" alt="Before photo"
width={400} width={150}
height={300} height={113}
className="w-full h-auto rounded" className="w-full h-auto rounded"
/> />
</div> </div>
<div className="w-1/2"> <div className="w-1/4 p-4 bg-gray-100 rounded-lg shadow-md border-2 border-solid border-color-indigo-500">
<h3 className="text-lg font-semibold text-center text-gray-700 mb-2"> <h4 className="text-sm font-semibold text-center text-gray-700 mb-1">
After After
</h3> </h4>
<Image <Image
src="/after-photo.png" src="/after-photo.png"
alt="After photo" alt="After photo"
width={400} width={150}
height={300} height={113}
className="w-full h-auto rounded" className="w-full h-auto rounded"
/> />
</div> </div>
</div> </div>
<p className="mt-4 text-center text-gray-600"> <div className="mt-8 text-center">
See how Dishpix AI transforms ordinary food photos into stunning, professional-quality images. Upload your photo and let the magic happen! <h3 className="text-lg font-semibold text-gray-700 mb-2">
What Happened?
</h3>
<p className="text-gray-600">
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!
</p> </p>
</div> </div>
</div> </div>
</div> </div>
</section>
</div>
); );
} }