mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 09:17:00 +00:00
sidebar init
This commit is contained in:
Generated
+2650
-2088
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 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>
|
||||||
|
|||||||
@@ -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