mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 01:07:01 +00:00
sidebar init
This commit is contained in:
Generated
+2744
-2182
File diff suppressed because it is too large
Load Diff
+4
-2
@@ -4,6 +4,7 @@ import "./globals.css";
|
||||
import Navbar from "@/components/nav/Navbar";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { ThemeProvider } from "@/components/theme/theme-providers";
|
||||
import Sidebar from "@/components/sidebar/Sidebar";
|
||||
|
||||
const red_hat = Red_Hat_Display({ subsets: ["latin"] });
|
||||
|
||||
@@ -21,7 +22,7 @@ export default function RootLayout({
|
||||
<html lang="en">
|
||||
<body
|
||||
className={cn(
|
||||
"h-[calc(100vh-64px)] antialiased bg-background",
|
||||
"h-[calc(100vh-64px)] antialiased bg-background flex",
|
||||
red_hat.className
|
||||
)}
|
||||
>
|
||||
@@ -31,7 +32,8 @@ export default function RootLayout({
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<Navbar />
|
||||
<Sidebar />
|
||||
{/* <Navbar /> */}
|
||||
{children}
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import React from "react";
|
||||
|
||||
function SidebarPage() {
|
||||
return <div>Sidebar Page</div>;
|
||||
}
|
||||
|
||||
export default SidebarPage;
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user