Untitled

 avatar
unknown
plain_text
24 days ago
966 B
4
Indexable
// /app/layout.tsx
import type { Metadata } from "next";
import type React from "react"
import "@/styles/globals.css"
import { Inter } from "next/font/google"
import { Toaster } from 'sonner';
import { ThemeProvider } from "@/components/theme-provider"

const inter = Inter({ subsets: ["latin"] })

export const metadata: Metadata = {
  title: "visionbyjustin",
  description: "fotografie von justin",  
  icons: {
    icon: '/images/aperture.png',
  },
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en" suppressHydrationWarning>
      <body className={inter.className}>
        <ThemeProvider attribute="class" defaultTheme="system" enableSystem>
          {children}
          <Toaster 
            position="top-right" 
            richColors 
            theme="dark"
            closeButton
          />
        </ThemeProvider>
      </body>
    </html>
  )
}
Editor is loading...
Leave a Comment