Logo swap, layour changes so the night mode button stays on top. Change src images to Image from next otherwise lint will complain. Api changes to accomendate the new Strapi. Same for type changes to fit into the new Strapi.
This commit is contained in:
@@ -53,7 +53,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||
<body className="bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-100 min-h-screen">
|
||||
<Navbar />
|
||||
<main className="relative">{children}</main>
|
||||
<div className="absolute bottom-4 right-4">
|
||||
<div className="fixed bottom-4 right-4">
|
||||
<NightModeToggle isDarkMode={isDarkMode} toggleDarkMode={toggleDarkMode} />
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user