mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 07:26:46 +00:00
starter\magzine\gitbook 主题dashboard元素
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/* eslint-disable no-unreachable */
|
||||
import DashboardButton from '@/components/ui/dashboard/DashboardButton'
|
||||
import { siteConfig } from '@/lib/config'
|
||||
import { useGlobal } from '@/lib/global'
|
||||
import { SignedIn, SignedOut, UserButton } from '@clerk/nextjs'
|
||||
@@ -87,12 +88,7 @@ export const Header = props => {
|
||||
</SignedOut>
|
||||
<SignedIn>
|
||||
<UserButton />
|
||||
|
||||
<button
|
||||
type='button'
|
||||
className='text-white bg-gray-800 hover:bg-gray-900 hover:ring-4 hover:ring-gray-300 focus:outline-none focus:ring-4 focus:ring-gray-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700'>
|
||||
<Link href='/dashboard'>Dashboard</Link>
|
||||
</button>
|
||||
<DashboardButton />
|
||||
</SignedIn>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user