2026-07-23 06:24:10 +07:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
2026-07-23 15:02:53 +07:00
|
|
|
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 = {
|
2026-07-23 15:02:53 +07:00
|
|
|
title: "Asep Haryana Saputra",
|
2026-07-23 12:47:52 +07:00
|
|
|
description:
|
2026-07-23 15:02:53 +07:00
|
|
|
"Backend & infrastructure engineer — portfolio, projects, and live monitoring dashboard 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`}
|
|
|
|
|
>
|
2026-07-23 15:02:53 +07:00
|
|
|
<body className="flex min-h-full flex-col bg-background text-foreground">
|
|
|
|
|
<DashboardHeader />
|
|
|
|
|
{children}
|
|
|
|
|
</body>
|
2026-07-23 06:24:10 +07:00
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|