mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Implement sidebar Comment Carousel
This commit is contained in:
parent
56c56c9877
commit
fd696a59b4
4 changed files with 98 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ import SidebarSection from './sidebar/SidebarSection.astro'
|
|||
import Highlight from './sidebar/Highlight.astro'
|
||||
import AlbumBox from './AlbumBox.astro'
|
||||
import AlbumCount from './sidebar/AlbumCount.astro'
|
||||
import CommentCarousel from './sidebar/CommentCarousel.astro'
|
||||
|
||||
const listClass =
|
||||
'uppercase text-3xl font-semibold w-full text-center py-3 hover:bg-dark-hover hover:text-cyan-400 hover:underline'
|
||||
|
|
@ -48,6 +49,9 @@ const listClass =
|
|||
<AlbumBox loading />
|
||||
</SidebarSection>
|
||||
</Highlight>
|
||||
<CommentCarousel>
|
||||
<SidebarSection slot='fallback' class='h-24 animate-pulse' />
|
||||
</CommentCarousel>
|
||||
<AlbumCount server:defer>
|
||||
<SidebarSection slot='fallback' class='h-32 animate-pulse' />
|
||||
</AlbumCount>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue