Added Themes

This commit is contained in:
ansh
2024-10-12 17:07:18 -05:00
parent fbba6a6017
commit 59f5c23b48
9 changed files with 1307 additions and 897 deletions
+3 -1
View File
@@ -6,6 +6,7 @@ import { Button } from './ui/button'
import { useState } from 'react'
import Sidebar from './sidebar'
import Link from 'next/link' // Import the Link component
import { ModeToggle } from "./ThemeSwitch";
export default function Navbar() {
const [open, setOpen] = useState(false)
@@ -17,8 +18,9 @@ export default function Navbar() {
<div className="w-screen fixed h-14 border-b flex items-center px-4">
<div className="flex items-center gap-3">
<Button onClick={() => setOpen(true)} size="icon" variant="ghost">
<Lucide.Menu className="h-7 w-7" />
<Lucide.Menu className="h-7 w-7" />
</Button>
<ModeToggle />
{/* Wrap the logo and text in a Link */}
<Link href="/" className="flex items-center gap-2">
<Lucide.Radius className="h-8 w-8 rotate-180" />