Unify style
Some checks failed
Build and deploy updated apps / Build & deploy (push) Failing after 2m5s

This commit is contained in:
Dominik Milacher 2025-06-16 10:01:30 +02:00
parent 0dc0b3f66a
commit 1b0ff8bec2
12 changed files with 39 additions and 20 deletions

View File

@ -2,4 +2,21 @@
<NuxtLayout> <NuxtLayout>
<NuxtPage/> <NuxtPage/>
</NuxtLayout> </NuxtLayout>
</template> </template>
<script setup>
const { add } = useToast()
onMounted(() => {
add({
title: 'Privacy Notice',
description: 'We dont use cookies or tracking. Enjoy your stay.',
timeout: 8000,
color: 'primary',
icon: 'i-heroicons-shield-check',
ui: {
position: "bottom-center"
}
})
})
</script>

View File

@ -44,7 +44,7 @@
size="md" size="md"
color="primary" color="primary"
variant="solid" variant="solid"
trailing-icon="i-heroicons-globe-alt" trailing-icon="i-heroicons-calendar-days"
> >
{{ t('button.book') }} {{ t('button.book') }}
</UButton> </UButton>

View File

@ -51,7 +51,7 @@
size="md" size="md"
color="primary" color="primary"
variant="solid" variant="solid"
trailing-icon="i-heroicons-globe-alt" trailing-icon="i-heroicons-calendar-days"
> >
{{ t('button.book') }} {{ t('button.book') }}
</UButton> </UButton>

View File

@ -472,12 +472,12 @@
"parents": { "parents": {
"title": "Monika & Norbert", "title": "Monika & Norbert",
"description": "Herzliche Gastgeber immer mit einem Tipp zur Region parat.", "description": "Herzliche Gastgeber immer mit einem Tipp zur Region parat.",
"image": "/family/monika-norbert.webp" "image": "/family/monika-norbert.jpg"
}, },
"children": { "children": {
"title": "Sabrina & Daniel", "title": "Sabrina & Daniel",
"description": "Jung, aktiv und voller Energie Sohn Daniel und Tochter Sabrina bringen Schwung ins Haus.", "description": "Jung, aktiv und voller Energie Sohn Daniel und Tochter Sabrina bringen Schwung ins Haus.",
"image": "/family/sabrina-daniel.webp" "image": "/family/sabrina-daniel.jpg"
} }
} }
}, },

View File

@ -12,3 +12,5 @@
</div> </div>
</UApp> </UApp>
</template> </template>
<script setup lang="ts">
</script>

View File

@ -29,14 +29,14 @@ useHead({
</div> </div>
<!-- SSR-safe: iframe appears only in the browser --> <!-- SSR-safe: iframe appears only in the browser -->
<!-- <ClientOnly>--> <ClientOnly>
<!-- <iframe--> <iframe
<!-- id="iframeCapCorn"--> id="iframeCapCorn"
<!-- src="https://www.capcorn.net/MasterReq?MB=1487&FL=17&LG=0"--> src="https://www.capcorn.net/MasterReq?MB=1487&FL=17&LG=0"
<!-- frameborder="0"--> frameborder="0"
<!-- width="100%"--> width="100%"
<!-- scrolling="auto"--> scrolling="auto"
<!-- />--> />
<!-- </ClientOnly>--> </ClientOnly>
</AppFlatSection> </AppFlatSection>
</template> </template>

View File

@ -36,7 +36,7 @@
<p class="text-neutral-600 mb-4 max-w-prose"> <p class="text-neutral-600 mb-4 max-w-prose">
{{ t('contact.online-1') }} {{ t('contact.online-1') }}
<UButton :to="variantPath('book')" variant="outline" trailing-icon="i-heroicons-arrow-right">{{ <UButton :to="variantPath('book')" variant="outline" trailing-icon="i-heroicons-calendar-days">{{
t('contact.online-2') t('contact.online-2')
}} }}
</UButton> </UButton>
@ -63,7 +63,7 @@
:placeholder="t('contact.form.message')"/> :placeholder="t('contact.form.message')"/>
</UFormField> </UFormField>
<UButton type="submit" color="primary" size="lg" class="w-full sm:w-auto"> <UButton type="submit" color="primary" size="lg" class="w-full sm:w-auto" trailing-icon="i-heroicons-paper-airplane">
{{ t('contact.form.send') }} {{ t('contact.form.send') }}
</UButton> </UButton>
</UForm> </UForm>
@ -126,7 +126,7 @@ async function onSubmit(event: FormSubmitEvent<Schema>) {
toast.add({ toast.add({
title: 'Fehler', title: 'Fehler',
description: 'Hotel-ID ist nicht konfiguriert!', description: 'Hotel-ID ist nicht konfiguriert!',
color: 'red' color: 'primary'
}) })
throw new Error('Hotel ID not configured') throw new Error('Hotel ID not configured')
} }
@ -144,7 +144,7 @@ async function onSubmit(event: FormSubmitEvent<Schema>) {
toast.add({ toast.add({
title: 'Nachricht gesendet', title: 'Nachricht gesendet',
description: 'Vielen Dank wir melden uns bald.', description: 'Vielen Dank wir melden uns bald.',
color: 'green' color: 'primary'
}) })
/* reset fields */ /* reset fields */
@ -153,7 +153,7 @@ async function onSubmit(event: FormSubmitEvent<Schema>) {
toast.add({ toast.add({
title: 'Fehler', title: 'Fehler',
description: err?.data?.detail ?? err?.message ?? 'Nachricht konnte nicht gesendet werden.', description: err?.data?.detail ?? err?.message ?? 'Nachricht konnte nicht gesendet werden.',
color: 'red' color: 'primary'
}) })
} }
} }

View File

@ -35,7 +35,7 @@
trailing-icon="i-heroicons-arrow-right">{{ t('button.apartments') }} trailing-icon="i-heroicons-arrow-right">{{ t('button.apartments') }}
</UButton> </UButton>
<UButton :to="variantPath('book')" color="secondary" variant="solid" size="xl" <UButton :to="variantPath('book')" color="secondary" variant="solid" size="xl"
trailing-icon="i-heroicons-globe-alt"> trailing-icon="i-heroicons-calendar-days">
{{ t('button.book') }} {{ t('button.book') }}
</UButton> </UButton>
<UButton :to="variantPath('contact')" color="secondary" variant="solid" size="xl" <UButton :to="variantPath('contact')" color="secondary" variant="solid" size="xl"

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB