62 lines
1.7 KiB
TypeScript
62 lines
1.7 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
import { Geist, Geist_Mono, Space_Grotesk, Space_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
import { NavigationMenu } from "@/components/Navbar";
|
|
import GSAPCursor from "@/components/CustomCircleCursor";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const spaceGroteskSans = Space_Grotesk({
|
|
variable: "--font-spacegrotesk-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const spaceMono = Space_Mono({
|
|
weight: ["400", "700"],
|
|
variable: "--font-space-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Ameya Shenoy",
|
|
description:
|
|
"Engineering lead with 8+ years of expertise in designing Scalable System Architecture, Leading high performing teams, and delivering AI driven solutions while also maintaining the role of an Individual Contributor",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} ${spaceGroteskSans.variable} ${spaceMono.variable} antialiased`}
|
|
>
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
>
|
|
<div className="min-h-screen">
|
|
<GSAPCursor />
|
|
<NavigationMenu />
|
|
{children}
|
|
<footer className="flex"></footer>
|
|
</div>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|