ProxMenux/web/app/layout.tsx

26 lines
661 B
TypeScript
Raw Normal View History

2025-02-13 17:28:49 +01:00
import "./globals.css"
2025-02-18 20:00:51 +01:00
import { Inter } from 'next/font/google'
2025-02-13 23:04:40 +01:00
import Navbar from "@/components/navbar"
import MouseMoveEffect from "@/components/mouse-move-effect"
2025-02-16 11:29:56 +01:00
import type React from "react"
2025-02-18 20:00:51 +01:00
import { metadata } from './metadata'
2025-02-13 17:28:49 +01:00
const inter = Inter({ subsets: ["latin"] })
2025-02-18 20:00:51 +01:00
export { metadata }
2025-02-16 11:29:56 +01:00
2025-02-13 23:04:40 +01:00
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
2025-02-13 17:28:49 +01:00
return (
<html lang="en" className="dark">
<body className={`${inter.className} bg-background text-foreground antialiased`}>
2025-02-13 23:04:40 +01:00
<Navbar />
<MouseMoveEffect />
2025-02-17 22:25:11 +01:00
<div className="pt-16 md:pt-16">{children}</div>
2025-02-13 17:28:49 +01:00
</body>
</html>
)
2025-02-18 18:47:35 +01:00
}