feat: add dashboard and layout
This commit is contained in:
+13
-4
@@ -1,9 +1,11 @@
|
||||
import type { Metadata } from "next";
|
||||
import Sidebar from "../components/Sidebar";
|
||||
import styles from "../styles/Layout.module.css";
|
||||
import "./globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
title: "Hex: Unlocked",
|
||||
description: "",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -13,7 +15,14 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
<body>
|
||||
<div className={styles.layoutContainer}>
|
||||
<Sidebar />
|
||||
<main className={styles.mainContent}>
|
||||
{children}
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user