feat:#72 add footer and commit id injection

This commit is contained in:
survellow
2025-04-07 19:39:54 +02:00
parent 51301d19eb
commit 744dd90cd2
15 changed files with 1181 additions and 2508 deletions

View File

@ -18,6 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<script lang="ts" setup>
import MenuBar from "./components/MenuBar.vue";
import Footer from "./components/Footer.vue";
import { RouteRecordName, RouterView, useRoute, useRouter } from "vue-router";
import { useHead, useServerHead, useServerSeoMeta } from "@unhead/vue";
import CalendarPreview from "./components/CalendarPreview.vue";
@ -27,6 +28,7 @@ import { VueQueryDevtools } from "@tanstack/vue-query-devtools";
import { useI18n } from "vue-i18n";
const { t } = useI18n({ useScope: "global" });
// Pages to be disabled for the calendar preview
const disabledPages = [
"room-finder",
"faq",
@ -116,6 +118,8 @@ if (!import.meta.env.SSR) window.addEventListener("resize", updateMobile);
</div>
</transition>
</RouterView>
<!-- show footer with development information -->
<Footer />
<!-- show CalendarPreview but only on specific router views -->
<CalendarPreview v-if="isDisabled(route.name)" />