add anchors to detail headings

This commit is contained in:
CJ_Clippy 2025-11-14 17:25:26 -08:00
parent 665b7ea924
commit 17ea5c3336
3 changed files with 12 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{
"name": "futureporn",
"version": "3.3.0",
"version": "3.3.4",
"private": true,
"description": "Dedication to the preservation of lewdtuber history",
"license": "Unlicense",

View File

@ -50,30 +50,30 @@
<% if (vtubers.length === 0) { %>None<% } %>
</p>
<p><b>Stream Date:</b> <%= data.vod?.get('streamDate') ?? 'Unknown date' %></p>
<p><b id="stream-date">Stream Date:</b> <%= data.vod?.get('streamDate') ?? 'Unknown date' %></p>
<% if (data.vod?.get('announceUrl')) { %>
<p>
<b>Announce URL:</b>
<b id="announce-url">Announce URL:</b>
<a href="<%= data.vod?.get('announceUrl') %>"><%= data.vod?.get('announceUrl') %></a>
</p>
<% } %>
<% if (data.vod?.get('ipfsCid')) { %>
<p><b>IPFS CID:</b> <%= data.vod?.get('ipfsCid') %></p>
<p><b id="ipfs-cid">IPFS CID:</b> <%= data.vod?.get('ipfsCid') %></p>
<% } %>
<% if (data.vod?.get('magnetLink')) { %>
<p><b>Magnet Link:</b> <%= data.vod?.get('magnetLink') %></p>
<p><b id="magnet-link">Magnet Link:</b> <%= data.vod?.get('magnetLink') %></p>
<% } %>
<% if (data.vod?.get('notes')) { %>
<p><b>Notes:</b></p>
<p><b id="notes">Notes:</b></p>
<div class="p-2 level"><%- data.vod?.get('notes') %></div>
<% } %>
<% if (data.vod?.get('thumbnail')) { %>
<p><b>Thumbnail:</b></p>
<p><b id="thumbnail">Thumbnail:</b></p>
<figure class="image">
<img src="/api/files/vods/<%= data.vod?.get('id') %>/<%= data.vod?.get('thumbnail') %>" />
</figure>

View File

@ -28,9 +28,11 @@
</td>
<td style="width: 160px;">
<% if (vod.thumbnail) { %>
<figure class="image is-3by2">
<img src="/api/files/<%= vod.collectionId %>/<%= vod.id %>/<%= vod.thumbnail %>?quality=5&width=12" alt="Thumbnail" style="width: 120px; border-radius: 8px;">
</figure>
<a href="/vods/<%= vod.id %>#thumbnail" class="is-small is-link">
<figure class="image is-3by2">
<img src="/api/files/<%= vod.collectionId %>/<%= vod.id %>/<%= vod.thumbnail %>?quality=40&width=120" alt="Thumbnail" style="width: 120px; border-radius: 8px;">
</figure>
</a>
<% } else { %>
<span>No thumbnail</span>
<% } %>