mirror of
https://github.com/harivansh-afk/Saas-Teamspace.git
synced 2026-04-21 08:02:18 +00:00
changed a lot
This commit is contained in:
parent
ef9ccf22d3
commit
28901128ff
20 changed files with 1794 additions and 526 deletions
|
|
@ -1,26 +1,26 @@
|
|||
'use client'
|
||||
|
||||
import Link from 'next/link'
|
||||
import { ModeToggle } from '@/components/mode-toggle'
|
||||
import Image from 'next/image'
|
||||
import { UserButton } from '@/components/user-button'
|
||||
import { MobileSidebar } from '@/components/mobile-sidebar'
|
||||
import { Logo } from '@/components/logo'
|
||||
import { usePathname } from 'next/navigation'
|
||||
|
||||
export const navPages = [
|
||||
{
|
||||
title: 'Dashboard',
|
||||
link: '/dashboard'
|
||||
},
|
||||
{
|
||||
title: 'Pricing',
|
||||
link: '/#pricing'
|
||||
},
|
||||
{
|
||||
title: 'Items',
|
||||
link: '/#items'
|
||||
}
|
||||
]
|
||||
|
||||
export const Navbar = () => {
|
||||
const pathname = usePathname()
|
||||
|
||||
// Don't show navbar on home page
|
||||
if (pathname === '/') return null
|
||||
|
||||
return (
|
||||
<nav className="top-0 w-full z-50 transition">
|
||||
<div className="max-w-6xl mx-auto px-6 py-4">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue