optimize theme

This commit is contained in:
tangly1024
2023-03-08 21:50:08 +08:00
parent 6033d08890
commit ff8ae782b7
20 changed files with 131 additions and 144 deletions

View File

@@ -1,20 +1,15 @@
import Live2D from '@/components/Live2D'
import About from './About'
import Announcement from './Announcement'
export const SideBar = (props) => {
const { notice } = props
return (
<div className="w-full md:w-96 sticky top-8 border-l pl-12 border-gray-100">
<div className="w-full max-w-lg sticky top-8 border-l pl-12 border-gray-100">
<aside>
<Announcement post={notice}/>
</aside>
<aside>
<About {...props}/>
</aside>
<aside className=" overflow-hidden mb-6">
<Live2D />
</aside>