🎉 initial commit

This commit is contained in:
2025-07-09 09:00:48 +07:00
parent b93e919d55
commit ab9470044e
17 changed files with 519 additions and 158 deletions

View File

@ -1,34 +1,15 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import GeistFontProvider from "@/providers/fonts/GeistFontProvider";
import React from "react";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
const RootLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<html lang="en" className="dark">
<body>
<GeistFontProvider>{children}</GeistFontProvider>
</body>
</html>
);
}
};
export default RootLayout;