Restructure layout and add widget

This commit is contained in:
Dreamgineer
2025-11-12 20:52:50 -05:00 Unverified
parent b831e2f2a1
commit f2551e5d51
51 changed files with 181 additions and 121 deletions
+1 -15
View File
@@ -1,11 +1,6 @@
import type { Metadata } from "next";
import { Anuphan, Geist_Mono } from "next/font/google";
import "./globals.css";
import { AnimatePresence } from "framer-motion";
import Image from "next/image";
import { Toaster } from "sonner";
import Background from "#/bg.jpg";
import Providers, { VersionCheck } from "./client";
const anuphan = Anuphan({
variable: "--font-anuphan",
@@ -40,16 +35,7 @@ export default function RootLayout({
<body
className={`${anuphan.variable} ${geistMono.variable} font-sans antialiased h-full`}
>
<Image
src={Background}
alt="Background"
className="z-[-1] opacity-20 object-cover fixed top-0 left-0 w-full h-full"
/>
<Providers>
<AnimatePresence mode="wait">{children}</AnimatePresence>
<VersionCheck />
</Providers>
<Toaster theme="dark" richColors closeButton />
{children}
</body>
</html>
);