mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 23:16:52 +00:00
新增dashboard组件
This commit is contained in:
@@ -86,12 +86,13 @@ export const Header = props => {
|
||||
</div>
|
||||
</SignedOut>
|
||||
<SignedIn>
|
||||
<Link
|
||||
href='/dashboard'
|
||||
className='bg-black hover:bg-gray-900 text-white py-2 px-4 rounded-lg '>
|
||||
Dashboard
|
||||
</Link>
|
||||
<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>
|
||||
</SignedIn>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user