feat(frontend): Prettier, add openapi client generation

This commit is contained in:
2025-02-21 12:17:36 +01:00
parent d6effcd1d5
commit 31ff737221
20 changed files with 3840 additions and 4861 deletions

View File

@@ -9,35 +9,32 @@
</template>
<script setup lang="ts">
const colorMode = useColorMode();
const colorMode = useColorMode()
const color = computed(() =>
colorMode.value === "dark" ? "#111827" : "white",
);
const color = computed(() => (colorMode.value === 'dark' ? '#111827' : 'white'))
useHead({
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ key: "theme-color", name: "theme-color", content: color },
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ key: 'theme-color', name: 'theme-color', content: color }
],
link: [{ rel: "icon", href: "/favicon.ico" }],
link: [{ rel: 'icon', href: '/favicon.ico' }],
htmlAttrs: {
lang: "en",
},
});
lang: 'en'
}
})
const title = "LegalConsentHub";
const description =
"Das Tool für die Einführung von mitbestimmungspflichtigen digitalen Lösungen.";
const title = 'LegalConsentHub'
const description = 'Das Tool für die Einführung von mitbestimmungspflichtigen digitalen Lösungen.'
useSeoMeta({
title,
description,
ogTitle: title,
ogDescription: description,
ogImage: "https://dashboard-template.nuxt.dev/social-card.png",
twitterImage: "https://dashboard-template.nuxt.dev/social-card.png",
twitterCard: "summary_large_image",
});
ogImage: 'https://dashboard-template.nuxt.dev/social-card.png',
twitterImage: 'https://dashboard-template.nuxt.dev/social-card.png',
twitterCard: 'summary_large_image'
})
</script>