mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 23:16:49 +00:00
21 lines
556 B
JavaScript
21 lines
556 B
JavaScript
import Link from 'next/link'
|
|
// import { siteConfig } from '@/lib/config'
|
|
import LazyImage from '@/components/LazyImage';
|
|
|
|
/**
|
|
* Logo图标
|
|
* @param {*} props
|
|
* @returns
|
|
*/
|
|
export default function LogoBar (props) {
|
|
const { siteInfo } = props
|
|
return (
|
|
<div id='top-wrapper' className='w-full flex items-center'>
|
|
<Link href='/' className='text-md md:text-xl dark:text-gray-200 r'>
|
|
<LazyImage className='h-12 mr-3' src={siteInfo?.icon}/>
|
|
</Link>
|
|
{/* <div>{siteConfig('TITLE')}</div> */}
|
|
</div>
|
|
);
|
|
}
|