2023-09-26 14:27:38 +08:00
|
|
|
---
|
|
|
|
import Profile from "./Profile.astro";
|
|
|
|
import RecentPost from "./RecentPost.astro";
|
2023-10-11 22:29:23 +08:00
|
|
|
import Tag from "./Tags.astro";
|
|
|
|
import Categories from "./Categories.astro";
|
2023-09-26 14:27:38 +08:00
|
|
|
|
|
|
|
const className = Astro.props.class;
|
|
|
|
---
|
2023-10-11 22:29:23 +08:00
|
|
|
<div id="sidebar" class:list={[className, "w-full"]} transition:persist>
|
2023-10-16 22:45:30 +08:00
|
|
|
<div class="flex flex-col w-full gap-4 mb-4" transition:animate="none">
|
2023-10-11 22:29:23 +08:00
|
|
|
<Profile></Profile>
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-col w-full gap-4 top-4 sticky top-4" transition:animate="none">
|
|
|
|
<Categories></Categories>
|
|
|
|
<RecentPost></RecentPost>
|
|
|
|
<Tag></Tag>
|
|
|
|
</div>
|
2023-09-26 14:27:38 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|