Files
Webserver/app/layout.tsx

56 lines
1.6 KiB
TypeScript
Raw Permalink Normal View History

2026-02-06 14:10:59 -05:00
import type { Metadata } from "next";
2026-02-07 20:17:46 -05:00
import { Inter } from "next/font/google";
2026-02-06 14:10:59 -05:00
import "./globals.css";
2026-02-07 20:17:46 -05:00
import { Navbar } from "../components/layout/Navbar";
import { Footer } from "../components/layout/Footer";
2026-02-08 23:18:21 -05:00
import { Analytics } from "../components/Analytics";
2026-02-06 14:10:59 -05:00
2026-02-07 20:17:46 -05:00
const inter = Inter({
variable: "--font-inter",
2026-02-06 14:10:59 -05:00
subsets: ["latin"],
2026-02-07 20:17:46 -05:00
display: "swap",
2026-02-06 14:10:59 -05:00
});
export const metadata: Metadata = {
2026-02-08 23:18:21 -05:00
metadataBase: new URL("https://akkolli.net"),
title: {
default: "Akshay Kolli",
template: "%s | Akshay Kolli",
},
description: "Personal website of Akshay Kolli — CS PhD Student at UMass Lowell researching World Models, Reinforcement Learning, and Multi-Agent Systems.",
openGraph: {
title: "Akshay Kolli",
description: "CS PhD Student at UMass Lowell researching World Models, Reinforcement Learning, and Multi-Agent Systems.",
siteName: "Akshay Kolli",
type: "website",
},
twitter: {
card: "summary",
creator: "@thekolliakshay",
},
2026-02-06 14:10:59 -05:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
2026-02-07 20:17:46 -05:00
className={`${inter.variable} antialiased flex flex-col min-h-screen`}
2026-02-06 14:10:59 -05:00
>
2026-02-08 23:18:21 -05:00
<a href="#main-content" className="sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-[100] focus:bg-white focus:dark:bg-zinc-900 focus:px-4 focus:py-2 focus:text-sm focus:font-medium focus:rounded focus:shadow">
Skip to content
</a>
2026-02-07 20:17:46 -05:00
<Navbar />
2026-02-08 23:18:21 -05:00
<main id="main-content" className="flex-grow">
2026-02-07 20:17:46 -05:00
{children}
</main>
<Footer />
2026-02-08 03:01:52 -05:00
<Analytics />
2026-02-06 14:10:59 -05:00
</body>
</html>
);
}