Skip to content

Commit

Permalink
Merge pull request #461 from bcc-code/feature/link-to-old-website
Browse files Browse the repository at this point in the history
Feature/link to old website
  • Loading branch information
kkuepper committed Jun 19, 2024
2 parents a19ac69 + cccb103 commit cea5d6d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions components/DocumentList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ onMounted(() => {
</ul>
</template>
<template v-else-if="props.items">
<NuxtLink
v-if="props.showMessageToMobileUsers && device.type !== 'mobile'"
class="col-span-full hidden gap-3 rounded-2xl bg-background-2 p-4 font-medium sm:flex"
to="https://bmm-old.brunstad.org"
target="_blank"
>
<div>
<NuxtIcon name="icon.alert" class="text-2xl" />
</div>
Navigate to the old BMM website.
</NuxtLink>
<NuxtLink
v-if="props.showMessageToMobileUsers && device.type === 'mobile'"
class="col-span-full flex gap-3 rounded-2xl bg-background-2 p-4 font-medium md:hidden"
Expand Down
6 changes: 6 additions & 0 deletions pages/welcome.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<script lang="ts" setup>
navigateTo({ name: "index" });
</script>
<template>
<div></div>
</template>

0 comments on commit cea5d6d

Please sign in to comment.