Files
NotionNext/themes/game/components/Logo.js
2025-07-24 16:43:20 +08:00

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>
)
}