mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 23:16:52 +00:00
theme-simple top-bar
This commit is contained in:
@@ -7,7 +7,7 @@ import CONFIG_SIMPLE from '../config_simple'
|
|||||||
export const TopBar = (props) => {
|
export const TopBar = (props) => {
|
||||||
if (CONFIG_SIMPLE.TOP_BAR_CONTENT) {
|
if (CONFIG_SIMPLE.TOP_BAR_CONTENT) {
|
||||||
return <header className="flex justify-center items-center bg-black dark:bg-hexo-black-gray">
|
return <header className="flex justify-center items-center bg-black dark:bg-hexo-black-gray">
|
||||||
<div id='top-bar-inner' className='max-w-9/10 w-full'>
|
<div id='top-bar-inner' className='max-w-9/10 w-full z-20'>
|
||||||
<div className='text-xs text-center float-left text-white z-50 leading-5 py-2.5' dangerouslySetInnerHTML={{ __html: CONFIG_SIMPLE.TOP_BAR_CONTENT }}/>
|
<div className='text-xs text-center float-left text-white z-50 leading-5 py-2.5' dangerouslySetInnerHTML={{ __html: CONFIG_SIMPLE.TOP_BAR_CONTENT }}/>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user