mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 07:26:49 +00:00
Common
This commit is contained in:
@@ -26,6 +26,7 @@ import TagItem from './components/TagItem'
|
||||
import { useRouter } from 'next/router'
|
||||
import { Transition } from '@headlessui/react'
|
||||
import { Style } from './style'
|
||||
import CommonHead from '@/components/CommonHead'
|
||||
|
||||
/**
|
||||
* 基础布局框架
|
||||
@@ -35,7 +36,7 @@ import { Style } from './style'
|
||||
* @constructor
|
||||
*/
|
||||
const LayoutBase = props => {
|
||||
const { children, slotTop } = props
|
||||
const { children, slotTop, meta } = props
|
||||
const { onLoading } = useGlobal()
|
||||
|
||||
// 增加一个状态以触发 Transition 组件的动画
|
||||
@@ -48,6 +49,10 @@ const LayoutBase = props => {
|
||||
|
||||
return (
|
||||
<div id='theme-example' className='dark:text-gray-300 bg-white dark:bg-black'>
|
||||
|
||||
{/* SEO信息 */}
|
||||
<CommonHead meta={meta}/>
|
||||
|
||||
<Style/>
|
||||
|
||||
{/* 页头 */}
|
||||
|
||||
Reference in New Issue
Block a user