mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-26 06:11:15 +00:00
Update
This commit is contained in:
@@ -1,21 +1,31 @@
|
||||
import "./globals.css"
|
||||
import { Inter } from 'next/font/google'
|
||||
import { Inter } from "next/font/google"
|
||||
import Navbar from "@/components/navbar"
|
||||
import MouseMoveEffect from "@/components/mouse-move-effect"
|
||||
import type React from "react"
|
||||
import { metadata } from './metadata'
|
||||
import { metadata } from "./metadata"
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] })
|
||||
|
||||
export { metadata }
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en" className="dark">
|
||||
<head>
|
||||
<title>{metadata.title?.default}</title>
|
||||
<meta name="description" content={metadata.description} />
|
||||
<meta property="og:title" content={metadata.openGraph?.title} />
|
||||
<meta property="og:description" content={metadata.openGraph?.description} />
|
||||
<meta property="og:image" content={metadata.openGraph?.images?.[0]?.url} />
|
||||
<meta property="og:url" content={metadata.openGraph?.url} />
|
||||
<meta property="og:type" content={metadata.openGraph?.type} />
|
||||
<meta property="og:site_name" content={metadata.openGraph?.siteName} />
|
||||
<meta name="twitter:card" content={metadata.twitter?.card} />
|
||||
<meta name="twitter:title" content={metadata.twitter?.title} />
|
||||
<meta name="twitter:description" content={metadata.twitter?.description} />
|
||||
<meta name="twitter:image" content={metadata.twitter?.images?.[0]} />
|
||||
</head>
|
||||
<body className={`${inter.className} bg-background text-foreground antialiased`}>
|
||||
<Navbar />
|
||||
<MouseMoveEffect />
|
||||
@@ -23,4 +33,6 @@ export default function RootLayout({
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user