birthday cake

This commit is contained in:
Ivan Dimitrov 2023-12-17 11:58:24 +02:00
parent 180e38ab65
commit a6a4c73900

View File

@ -17,14 +17,12 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<main>
<Navbar />
{children}
{today.getDate() === new Date(today.getFullYear(), 12, 17).getDate() && (
<div className="absolute bottom-14 right-14">
<div className="flex flex-col">
<FontAwesomeIcon mask={faSquareFull} className="w-20 h-20 text-neutral-950 bg-gradient-to-t from-slate-950 via-red-700 to-yellow-400" icon={faCakeCandles} />
<span>It&apos;s my birthday.</span>
</div>
<div className="absolute bottom-14 right-14">
<div className="flex flex-col">
<FontAwesomeIcon mask={faSquareFull} className="w-20 h-20 text-neutral-950 bg-gradient-to-t from-slate-950 via-red-700 to-yellow-400" icon={faCakeCandles} />
<span>It&apos;s my birthday.</span>
</div>
)}
</div>
</main>
</body>
</html>