This commit is contained in:
tangly1024.com
2023-03-09 17:59:08 +08:00
parent 42ef2ad566
commit bdedd96853
7 changed files with 106 additions and 10 deletions

View File

@@ -1,18 +1,22 @@
import Live2D from '@/components/Live2D'
import Announcement from './Announcement'
import Catalog from './Catalog'
export const SideBar = (props) => {
const { notice } = props
return (
<div className="hidden lg:block flex-none max-w-md sticky top-8 border-l dark:border-gray-800 pl-12 border-gray-100">
<div className="hidden lg:block flex-none sticky top-8 max-w-md border-l dark:border-gray-800 pl-12 border-gray-100">
<aside>
<Announcement post={notice}/>
<aside >
<Catalog {...props} />
</aside>
<aside className=" overflow-hidden mb-6">
<aside className="overflow-hidden mb-6">
<Live2D />
</aside>
<aside>
<Announcement post={notice} />
</aside>
</div>
)