- Remove services/nextjs as git submodule - Add complete Next.js application source code - Include package.json and package-lock.json for npm cache - This fixes the GitHub Actions cache error
35 lines
881 B
TypeScript
35 lines
881 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import Header from "@/components/widgets/Header";
|
|
import Footer from "@/components/widgets/Footer";
|
|
import { ThemeProvider } from "@/providers/theme-provider";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Portfolio - Full Stack Developer",
|
|
description: "Creating beautiful and functional web experiences with modern technologies",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="ko" suppressHydrationWarning>
|
|
<body>
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
storageKey="portfolio-theme"
|
|
>
|
|
<Header />
|
|
{children}
|
|
<Footer />
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|