顶栏微调

This commit is contained in:
tangly1024.com
2023-03-09 12:09:11 +08:00
parent 26547d8e97
commit 6ec9dd97aa
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ import CONFIG_SIMPLE from '../config_simple'
export const BlogItem = props => {
const { post } = props
console.log(post)
return <div key={post.id} className="mb-10 pb-12 border-b dark:border-gray-800" >
<h2 className="mb-5 ">

View File

@@ -7,7 +7,7 @@ import CONFIG_SIMPLE from '../config_simple'
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 }}/>
<div className='text-xs text-white z-50' dangerouslySetInnerHTML={{ __html: CONFIG_SIMPLE.TOP_BAR_CONTENT }}/>
</header>
}
return <></>