Implement sidebar Comment Carousel

This commit is contained in:
Jorge Vargas 2025-02-16 14:15:31 -06:00
parent 56c56c9877
commit fd696a59b4
4 changed files with 98 additions and 0 deletions

View file

@ -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>