Skip to content

Commit

Permalink
Merge pull request #50 from ssciwr/fix_38_footer
Browse files Browse the repository at this point in the history
Add footer
  • Loading branch information
lkeegan authored Nov 6, 2024
2 parents 428e66e + d9e0753 commit 72f8150
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { RouterLink, RouterView, useRoute } from "vue-router";
import { RouterLink, RouterView } from "vue-router";
import { computed } from "vue";
import {
FwbNavbar,
Expand All @@ -8,6 +8,7 @@ import {
FwbNavbarLogo,
} from "flowbite-vue";
import { useUserStore } from "@/stores/user";
import FooterComponent from "@/components/FooterComponent.vue";
const userStore = useUserStore();
const login_title = computed(() => {
if (userStore.user !== null) {
Expand Down Expand Up @@ -47,4 +48,5 @@ const login_title = computed(() => {
<div class="flex flex-col items-stretch justify-center">
<RouterView />
</div>
<FooterComponent></FooterComponent>
</template>
26 changes: 26 additions & 0 deletions frontend/src/components/FooterComponent.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<script setup lang="ts">
import {
FwbFooter,
FwbFooterCopyright,
FwbFooterLinkGroup,
FwbFooterLink,
FwbFooterBrand,

Check warning on line 7 in frontend/src/components/FooterComponent.vue

View workflow job for this annotation

GitHub Actions / Frontend :: node 22

'FwbFooterBrand' is defined but never used
} from "flowbite-vue";
</script>

<template>
<fwb-footer sticky>
<fwb-footer-copyright
by="DKFZ"
href="https://www.dkfz.de/"
copyright-message="All Rights Reserved."
/>
<div>predicTCR v2 - beta version</div>
<fwb-footer-link-group>
<fwb-footer-link href="mailto:[email protected]">Contact</fwb-footer-link>
<fwb-footer-link href="https://www.dkfz.de/de/impressum.html"
>Impressum</fwb-footer-link
>
</fwb-footer-link-group>
</fwb-footer>
</template>

0 comments on commit 72f8150

Please sign in to comment.