mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
22 lines
609 B
JavaScript
22 lines
609 B
JavaScript
import { siteConfig } from '@/lib/config'
|
|
import SmartLink from '@/components/SmartLink'
|
|
|
|
/* eslint-disable @next/next/no-html-link-for-pages */
|
|
export default function Logo({ siteInfo }) {
|
|
return (
|
|
<SmartLink
|
|
passHref
|
|
href='/'
|
|
className='logo rounded cursor-pointer flex flex-col items-center'>
|
|
<div className='w-full'>
|
|
<h1 className='text-2xl dark:text-white font-bold font-serif'>
|
|
{siteInfo?.title}
|
|
</h1>
|
|
<h2 className='text-xs text-gray-400 whitespace-nowrap'>
|
|
{siteConfig('BIO')}
|
|
</h2>
|
|
</div>
|
|
</SmartLink>
|
|
)
|
|
}
|