[first commit] head page and layout

This commit is contained in:
Alvalen 2023-08-30 19:06:48 +07:00
parent e6273abfbd
commit 54a7c858e3
10 changed files with 391 additions and 147 deletions

View file

@ -1,17 +1,24 @@
import './globals.css'
import { Inter } from 'next/font/google'
const inter = Inter({ subsets: ['latin'] })
import "./globals.css";
import Navbar from "@/components/Navbar";
import Sidebar from "@/components/Sidebar";
import { config } from '@fortawesome/fontawesome-svg-core'
import '@fortawesome/fontawesome-svg-core/styles.css'
config.autoAddCss = false
export const metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({ children }) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
return (
<html lang="en">
<body>
<Navbar />
<Sidebar />
{children}
</body>
</html>
);
}