Public folder ka use Next.js mein static files (📸 images, JS, CSS) store karne ke liye hota hai. Path mein kabhi bhi /public likhne ki zarurat nahi hoti. Example:/man.png

import Image from 'next/image';
const StaticAssets = () => {
return (
<div className="bg-gray-100 min-h-screen flex items-center justify-center p-6">
<div className="bg-white p-4 rounded shadow-lg w-80 h-80 flex items-center justify-center">
<Image
src="/man.png"
alt="Illustration of a person"
width={200}
height={200}
priority
className="rounded-md"
/>
</div>
</div>
);
};
export default StaticAssets;