Enable cookie banner, revert to default fonts
Some checks failed
Build and deploy updated apps / Build & deploy (push) Has been cancelled
Some checks failed
Build and deploy updated apps / Build & deploy (push) Has been cancelled
This commit is contained in:
parent
623665658e
commit
24cd95b1af
@ -4,6 +4,29 @@
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { c } = useContent()
|
||||
const { add } = useToast()
|
||||
const shown = useCookie('cookie-toast-shown', { maxAge: 60 * 60 * 24 * 7 })
|
||||
|
||||
onMounted(() => {
|
||||
console.log("MIAU", c.value)
|
||||
if (!shown.value) {
|
||||
add({
|
||||
title: c.value.cookies.title,
|
||||
description: c.value.cookies.description,
|
||||
timeout: 8000,
|
||||
color: 'primary',
|
||||
icon: 'i-heroicons-shield-check',
|
||||
ui: {
|
||||
position: "bottom-center"
|
||||
}
|
||||
})
|
||||
shown.value = true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.page-enter-active,
|
||||
.page-leave-active {
|
||||
|
||||
@ -107,5 +107,5 @@
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
font-family: Roboto, Arial, sans-serif;
|
||||
/*font-family: Roboto, Arial, sans-serif;*/
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<!-- <UApp :toaster="{ position: 'top-center' }">-->
|
||||
<UApp :toaster="{ position: 'top-center' }">
|
||||
<div class="flex flex-col min-h-dvh bg-neutral-50">
|
||||
|
||||
<AppHeader/>
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
<AppFooter/>
|
||||
</div>
|
||||
<!-- </UApp>-->
|
||||
</UApp>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
Loading…
x
Reference in New Issue
Block a user