mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 23:16:49 +00:00
25 lines
1010 B
JavaScript
25 lines
1010 B
JavaScript
import Link from 'next/link'
|
|
import { siteConfig } from '@/lib/config'
|
|
|
|
const Logo = props => {
|
|
const { className } = props
|
|
return (
|
|
<Link href='/' passHref legacyBehavior>
|
|
<div className={'flex flex-col justify-center items-center cursor-pointer bg-black dark:bg-gray-800 space-y-3 font-bold ' + className}>
|
|
<div data-aos="fade-down"
|
|
data-aos-duration="500"
|
|
data-aos-once="true"
|
|
data-aos-anchor-placement="top-bottom"
|
|
className='font-serif text-xl text-white'> {siteConfig('TITLE')}</div>
|
|
<div data-aos="fade-down"
|
|
data-aos-duration="500"
|
|
data-aos-delay="300"
|
|
data-aos-once="true"
|
|
data-aos-anchor-placement="top-bottom"
|
|
className='text-sm text-gray-300 font-light text-center'> {siteConfig('DESCRIPTION')}</div>
|
|
</div>
|
|
</Link>
|
|
)
|
|
}
|
|
export default Logo
|