changed image gallery arrows

This commit is contained in:
2026-04-07 18:46:20 +02:00
parent abdfc505d2
commit 224341e3e3
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@
<div class="gallery-zone"> <div class="gallery-zone">
<div class="gallery-container blurred-background"> <div class="gallery-container blurred-background">
<div class="gallery-button-container"> <div class="gallery-button-container">
<button class="gallery-button" onclick={galleryBack}></button> <button class="gallery-button" onclick={galleryBack}>&lt;</button>
<div class="gallery-text-container"> <div class="gallery-text-container">
<p class="gallery-index">{currentIndex + 1} / {images.length} :: <a href={images[currentIndex].src}>full-size</a></p> <p class="gallery-index">{currentIndex + 1} / {images.length} :: <a href={images[currentIndex].src}>full-size</a></p>
<div class="gallery-desc-container"> <div class="gallery-desc-container">
@@ -44,7 +44,7 @@
{/each} {/each}
</div> </div>
</div> </div>
<button class="gallery-button" onclick={galleryForward}></button> <button class="gallery-button" onclick={galleryForward}>&gt;</button>
</div> </div>
<div class="gallery-img-container"> <div class="gallery-img-container">
<img class="gallery-img" loading="lazy" src={images[currentIndex].src} alt={images[currentIndex].alt}> <img class="gallery-img" loading="lazy" src={images[currentIndex].src} alt={images[currentIndex].alt}>

View File

@@ -1,6 +1,6 @@
import { entries } from './feed'; import { entries } from './feed';
let entriesPerPage = 1; let entriesPerPage = 8;
export async function load({ params, url }) { export async function load({ params, url }) {
// Get page index // Get page index