Disabled about page, enabled photos nav buttons, other fluff
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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()"><</button> -->
|
<button id="dec-button" onclick="dec()"><</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()">></button> -->
|
<button id="inc-button" onclick="inc()">></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div slot="content" class="">
|
<div slot="content" class="">
|
||||||
|
|||||||
Reference in New Issue
Block a user