2024-01-09 21:25:30 +05:30
|
|
|
import type { Metadata } from "next";
|
|
|
|
import { DM_Sans, Inter } from "next/font/google";
|
|
|
|
import "./globals.css";
|
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
import { TopBlur } from "@/components/top-blur";
|
|
|
|
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--body-font" });
|
|
|
|
const dm = DM_Sans({ subsets: ["latin"], variable: "--display-font" });
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
title: "./raj",
|
|
|
|
description: "My experiments",
|
2024-01-10 00:00:52 +05:30
|
|
|
twitter: {
|
|
|
|
card: "summary_large_image",
|
|
|
|
site: "@xrehpicx",
|
|
|
|
creator: "@xrehpicx",
|
|
|
|
images: ["https://raj.how/opengraph-image.png"],
|
|
|
|
},
|
2024-01-09 21:25:30 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
children,
|
|
|
|
}: {
|
|
|
|
children: React.ReactNode;
|
|
|
|
}) {
|
|
|
|
return (
|
|
|
|
<html suppressHydrationWarning lang="en">
|
|
|
|
<body
|
|
|
|
className={cn(inter.className, inter.variable, dm.variable, "relative")}
|
|
|
|
>
|
|
|
|
<TopBlur />
|
|
|
|
{children}
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|