Added album remarks, lazy loading images
This commit is contained in:
@@ -16,7 +16,9 @@ const images = await Promise.all(
|
||||
<div slot="sidebar">
|
||||
<h1>{album.title}</h1>
|
||||
<p>{album.date}</p>
|
||||
<p>{album.location}</p>
|
||||
<p>{album.location}</p><br>
|
||||
|
||||
<Fragment set:html={album.remarks}/>
|
||||
</div>
|
||||
|
||||
<div slot="content">
|
||||
|
||||
@@ -37,7 +37,7 @@ const albums = await pb.collection('albums').getFullList({
|
||||
</div>
|
||||
|
||||
<div slot="content">
|
||||
<div class="swiper-album w-full h-[80vh] overflow-hidden">
|
||||
<div class="swiper-album w-full h-[90vh] overflow-hidden">
|
||||
<div class="swiper-wrapper">
|
||||
{ albums.map(a => <AlbumCard a={a}/> ) }
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user