first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:16:43 +03:00
commit 6d95e27114
97 changed files with 15687 additions and 0 deletions

37
app/layout.tsx Normal file
View File

@@ -0,0 +1,37 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import StoreProvider from "@/components/StoreProvider";
import { ThemeProvider } from "@/components/theme-provider";
import { Header } from "@/components/header/header";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Next Go Blog",
description: "Advanced blog application",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body className={`${inter.className} antialiased`}>
<StoreProvider>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<Header />
<main className="min-h-screen bg-background">{children}</main>
</ThemeProvider>
</StoreProvider>
</body>
</html>
);
}