2024-08-12 07:55:15 +00:00
|
|
|
<template>
|
2024-08-13 09:43:44 +00:00
|
|
|
<div class="text-xs text-grey" :class="props.noCentered ? 'text-left' : 'text-center'">
|
|
|
|
<p>{{ t("copyright") }} © {{ new Date().getFullYear() }} {{ t("brandNameFormal") }}</p>
|
2024-08-12 07:55:15 +00:00
|
|
|
<p>Powered by <a class="underline" :href="projects[props.service][1]">{{ projects[props.service][0] }}</a></p>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2024-08-13 09:43:44 +00:00
|
|
|
const props = defineProps<{ service: string, noCentered?: boolean }>()
|
|
|
|
|
|
|
|
const { t } = useI18n()
|
2024-08-12 07:55:15 +00:00
|
|
|
|
|
|
|
const projects: { [id: string]: [string, string] } = {
|
|
|
|
"passport": ["Hydrogen.Passport", "https://git.solsynth.dev/Hydrogen/Passport"],
|
|
|
|
"paperclip": ["Hydrogen.Paperclip", "https://git.solsynth.dev/Hydrogen/Paperclip"],
|
|
|
|
}
|
|
|
|
</script>
|