add site footer with source links and author credit.

Hardcoded clearnet and onion repository URLs; instance links omitted for Onion-Location.
This commit is contained in:
2026-10-29 18:58:37 +01:00
parent fa1c2abb51
commit 1df2e6a4f7
3 changed files with 39 additions and 0 deletions
+1
View File
@@ -2,5 +2,6 @@
<div class="flex min-h-screen flex-col bg-background"> <div class="flex min-h-screen flex-col bg-background">
<AppHeader /> <AppHeader />
<router-view /> <router-view />
<AppFooter />
</div> </div>
</template> </template>
+1
View File
@@ -13,6 +13,7 @@ declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
AboutComparisonTable: typeof import('./components/about/AboutComparisonTable.vue')['default'] AboutComparisonTable: typeof import('./components/about/AboutComparisonTable.vue')['default']
AboutSectionNav: typeof import('./components/about/AboutSectionNav.vue')['default'] AboutSectionNav: typeof import('./components/about/AboutSectionNav.vue')['default']
AppFooter: typeof import('./components/layout/AppFooter.vue')['default']
AppHeader: typeof import('./components/layout/AppHeader.vue')['default'] AppHeader: typeof import('./components/layout/AppHeader.vue')['default']
ExpandableImage: typeof import('./components/ExpandableImage.vue')['default'] ExpandableImage: typeof import('./components/ExpandableImage.vue')['default']
InlineTabList: typeof import('./components/InlineTabList.vue')['default'] InlineTabList: typeof import('./components/InlineTabList.vue')['default']
@@ -0,0 +1,37 @@
<template>
<footer class="mt-auto border-t border-border bg-card">
<div
class="mx-auto flex max-w-5xl flex-col items-center gap-2 px-4 py-5 text-center text-xs text-muted-foreground sm:px-6 sm:text-sm"
>
<p class="flex flex-wrap items-center justify-center gap-x-2 gap-y-1">
<a
:href="sourceRepoClearnetUrl"
class="underline-offset-2 hover:text-foreground hover:underline"
rel="noopener noreferrer"
target="_blank"
>
Source (clearnet)
</a>
<span class="text-border" aria-hidden="true">·</span>
<a
:href="sourceRepoOnionUrl"
class="underline-offset-2 hover:text-foreground hover:underline"
rel="noopener noreferrer"
target="_blank"
>
Source (onion)
</a>
</p>
<p>
Private Image by <span class="font-medium text-foreground">nobswebdev</span>
</p>
</div>
</footer>
</template>
<script setup lang="ts">
const sourceRepoClearnetUrl = 'https://git.nobswebdev.com/nobswebdev/private_image';
const sourceRepoOnionUrl =
'http://4f5t7o2vgo4sdaliwax3isyxzfuxvbvkuwk4smfowutrvx2uneu4egyd.onion/nobswebdev/private_image';
</script>