mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Implement Album Count component
This commit is contained in:
parent
c17d1523a9
commit
56c56c9877
7 changed files with 83 additions and 42 deletions
|
|
@ -10,6 +10,7 @@ import twitter from 'img/socials/twitter.png'
|
|||
import SidebarSection from './sidebar/SidebarSection.astro'
|
||||
import Highlight from './sidebar/Highlight.astro'
|
||||
import AlbumBox from './AlbumBox.astro'
|
||||
import AlbumCount from './sidebar/AlbumCount.astro'
|
||||
|
||||
const listClass =
|
||||
'uppercase text-3xl font-semibold w-full text-center py-3 hover:bg-dark-hover hover:text-cyan-400 hover:underline'
|
||||
|
|
@ -47,5 +48,8 @@ const listClass =
|
|||
<AlbumBox loading />
|
||||
</SidebarSection>
|
||||
</Highlight>
|
||||
<AlbumCount server:defer>
|
||||
<SidebarSection slot='fallback' class='h-32 animate-pulse' />
|
||||
</AlbumCount>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue