frontend: link to this build's source on every app page
AGPL-3.0 section 13: pds.wisp.place runs a modified build, so the app (sign-up, login, consent, dashboard) gets a small "source code" footer pointing at https://tangled.org/okami.mom/tranquil-pds, next to the homepage footer link. It renders once i18n has loaded.
22 unmodified lines232425262728293031107 unmodified linesExpand all13914014114214314414514614714822 unmodified lines
import ActAs from './routes/ActAs.svelte' import Migration from './routes/Migration.svelte' import { _ } from './lib/i18n' import { SOURCE_URL } from './lib/source' initI18n()
const auth = $derived(getAuthState())
107 unmodified linesExpand all {:else} <CurrentComponent /> {/if}</main>{#if !isLoading} <footer class="source-footer"> <a href={SOURCE_URL} target="_blank" rel="noopener">{$_('common.sourceCode')}</a> </footer>{/if}<Toast />123// AGPL-3.0 section 13: every page links to the source of the build this// server runs.export const SOURCE_URL = "https://tangled.org/okami.mom/tranquil-pds";22 unmodified lines23242526272728293031321317 unmodified linesExpand all22 unmodified lines "verify": "Verify", "revoke": "Revoke", "resendCode": "Resend code", "backToLogin": "Back to Login", "backToSettings": "Back to Settings" "backToSettings": "Back to Settings", "sourceCode": "source code" }, "login": { "title": "Sign In", "button": "Sign in",1317 unmodified linesExpand all902 unmodified linesExpand all903904905906907907908909910911519 unmodified linesExpand all1431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314548 unmodified lines902 unmodified linesExpand all color: var(--error-text);}
main { min-height: 100vh; min-height: calc(100vh - 3rem);}
form { display: flex;519 unmodified linesExpand all position: relative; z-index: 1;}
.source-footer { position: relative; z-index: 1; padding: 0 1rem 1.5rem; text-align: center; font-size: var(--text-xs);}
.source-footer a { color: var(--text-secondary);}
.source-footer a:hover { color: var(--text-primary);}
body::before { content: ""; position: fixed; inset: 0;8 unmodified lines3 unmodified lines45678891011390 unmodified linesExpand all3 unmodified lines display: grid; justify-items: center; align-content: start; gap: var(--space-5); min-height: 100vh; padding: clamp(1.5rem, 6vh, 4.5rem) 1rem 3rem;}
.signup-card {390 unmodified linesExpand all