Add site footer and fix proxy-aware viewer URLs.

Build public links from host_url netloc behind reverse proxies so generated viewer URLs do not include the internal upstream port.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-19 16:27:20 +02:00
parent 58b9e0bb0a
commit fdeaf04280
5 changed files with 49 additions and 4 deletions
+30
View File
@@ -601,6 +601,7 @@ tr:hover td { background: var(--bg-hover); }
.landing-page {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 24px;
@@ -661,6 +662,35 @@ tr:hover td { background: var(--bg-hover); }
.landing-lang { margin-top: 8px; }
.site-footer {
text-align: center;
padding: 16px 24px 20px;
font-size: 0.78rem;
color: var(--text-muted);
border-top: 1px solid var(--border);
}
.site-footer p {
margin: 0;
}
.site-footer a {
color: var(--accent);
text-decoration: none;
}
.site-footer a:hover {
text-decoration: underline;
}
.landing-page .site-footer {
width: 100%;
max-width: 520px;
background: transparent;
border-top: none;
padding-top: 0;
}
/* Viewer link banner */
.viewer-banner {
display: flex;