Disabled about page, enabled photos nav buttons, other fluff

This commit is contained in:
2025-11-22 16:17:04 +13:00
parent ff486c01e3
commit b4f8a42e05
4 changed files with 8 additions and 12 deletions

View File

@@ -12,10 +12,10 @@ const links = [
txt: "email", txt: "email",
lnk: "mailto:contact@breadone.net" lnk: "mailto:contact@breadone.net"
}, },
{ // {
txt: "about", // txt: "about",
lnk: "/about" // lnk: "/about"
}, // },
// { // {
// txt: "copyright", // txt: "copyright",
// lnk: "/copyright" // lnk: "/copyright"

View File

@@ -22,10 +22,6 @@ const images = await Promise.all(
</div> </div>
<div slot="content"> <div slot="content">
{ { images.map(img => <img class="pb-2" src={img}/> ) }
images.map(img => (
<img class="pb-2" src={img}/>
))
}
</div> </div>
</Base> </Base>

View File

@@ -33,7 +33,7 @@ const albums = await pb.collection('albums').getFullList({
<Base> <Base>
<div slot="sidebar" class="text-left"> <div slot="sidebar" class="text-left">
More focused photo albums. These are more single-purpose collections of photos compared to the general images of <a href="/photos">photos</a> More focused photo albums. These are more single-purpose collections of photos compared to the general images of <a href="/photos">photos.</a> Best viewed on a large screen!
</div> </div>
<div slot="content"> <div slot="content">

View File

@@ -18,9 +18,9 @@ const photos = await pb.collection('photos').getFullList({
<p id="photo-film" class="text-sm">{photos[0].film !== "" ? `🎞️ ${photos[0].film}` : ""}</p> <p id="photo-film" class="text-sm">{photos[0].film !== "" ? `🎞️ ${photos[0].film}` : ""}</p>
<p id="photo-location" class="text-sm">📌 {photos[0].location}</p> <p id="photo-location" class="text-sm">📌 {photos[0].location}</p>
<!-- <button id="dec-button" onclick="dec()">&lt;</button> --> <button id="dec-button" onclick="dec()">&lt;</button>
<span id="current-pos" /> of <span id="max-pos" /> <span id="current-pos" /> of <span id="max-pos" />
<!-- <button id="inc-button" onclick="inc()">&gt;</button> --> <button id="inc-button" onclick="inc()">&gt;</button>
</div> </div>
<div slot="content" class=""> <div slot="content" class="">