sidebar init

This commit is contained in:
2024-06-03 22:57:21 -04:00
parent 62e1f14e5a
commit d180adca8f
4 changed files with 2769 additions and 2184 deletions
+2744 -2182
View File
File diff suppressed because it is too large Load Diff
+4 -2
View File
@@ -4,6 +4,7 @@ import "./globals.css";
import Navbar from "@/components/nav/Navbar"; import Navbar from "@/components/nav/Navbar";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
import { ThemeProvider } from "@/components/theme/theme-providers"; import { ThemeProvider } from "@/components/theme/theme-providers";
import Sidebar from "@/components/sidebar/Sidebar";
const red_hat = Red_Hat_Display({ subsets: ["latin"] }); const red_hat = Red_Hat_Display({ subsets: ["latin"] });
@@ -21,7 +22,7 @@ export default function RootLayout({
<html lang="en"> <html lang="en">
<body <body
className={cn( className={cn(
"h-[calc(100vh-64px)] antialiased bg-background", "h-[calc(100vh-64px)] antialiased bg-background flex",
red_hat.className red_hat.className
)} )}
> >
@@ -31,7 +32,8 @@ export default function RootLayout({
enableSystem enableSystem
disableTransitionOnChange disableTransitionOnChange
> >
<Navbar /> <Sidebar />
{/* <Navbar /> */}
{children} {children}
</ThemeProvider> </ThemeProvider>
</body> </body>
+7
View File
@@ -0,0 +1,7 @@
import React from "react";
function SidebarPage() {
return <div>Sidebar Page</div>;
}
export default SidebarPage;
+14
View File
@@ -0,0 +1,14 @@
"use client";
import Image from "next/image";
import React from "react";
function Sidebar() {
return (
<div className="min-w-[250px]">
<Image src={"/yellowbird.svg"} height={10} width={120} alt="yellowbird" />
</div>
);
}
export default Sidebar;