mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-16 15:09:28 +00:00
15 lines
437 B
JavaScript
15 lines
437 B
JavaScript
import CONFIG_SIMPLE from '../config_simple'
|
|
|
|
/**
|
|
* 网站顶部 提示栏
|
|
* @returns
|
|
*/
|
|
export const TopBar = (props) => {
|
|
if (CONFIG_SIMPLE.TOP_BAR_CONTENT) {
|
|
return <header className="w-full flex justify-between items-center px-20 h-10 bg-black dark:bg-hexo-black-gray z-10">
|
|
<div className='text-xs text-white' dangerouslySetInnerHTML={{ __html: CONFIG_SIMPLE.TOP_BAR_CONTENT }}/>
|
|
</header>
|
|
}
|
|
return <></>
|
|
}
|