Files
hub/src/app/layout.tsx
T

47 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-07-23 06:24:10 +07:00
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { ThemeProvider } from "next-themes";
import { DashboardHeader } from "@/components/dashboard/header";
2026-07-23 06:24:10 +07:00
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Asep Haryana Saputra",
description:
"Teknik Informatika student exploring backend, infrastructure & DevOps — portfolio and projects by Asep Haryana Saputra.",
2026-07-23 06:24:10 +07:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
suppressHydrationWarning
2026-07-23 06:24:10 +07:00
>
<body className="flex min-h-full flex-col bg-background text-foreground">
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<DashboardHeader />
{children}
</ThemeProvider>
</body>
2026-07-23 06:24:10 +07:00
</html>
);
}