Files
Webserver/app/layout.tsx

40 lines
862 B
TypeScript
Raw 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-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-07 20:17:46 -05:00
title: "Akshay Kolli",
description: "My personal website",
2026-02-06 14:10:59 -05:00
};
2026-02-08 03:01:52 -05:00
import { Analytics } from "../components/Analytics";
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-07 20:17:46 -05:00
<Navbar />
<main className="flex-grow">
{children}
</main>
<Footer />
2026-02-08 03:01:52 -05:00
<Analytics />
2026-02-06 14:10:59 -05:00
</body>
</html>
);
}