polarpress-pagebuilder/resources/js/layouts/auth/AuthSimpleLayout.vue
Helge-Mikael Nordgård 4e5f0e5e5b
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
Fixed card layout in pagelisting
2025-05-05 21:52:57 +02:00

34 lines
1.2 KiB
Vue

<script setup lang="ts">
import AppLogoIcon from '@/components/AppLogoIcon.vue';
import { Link } from '@inertiajs/vue3';
import PageLogo from '@/Components/ArcticFooterLogo.vue';
defineProps<{
title?: string;
description?: string;
}>();
</script>
<template>
<div class="flex flex-col items-center justify-center gap-6 bg-background p-6 md:p-10">
<div class="w-full">
<div class="flex flex-col gap-8">
<div class="flex flex-col items-center gap-4">
<div class="space-y-2 text-center">
<h1 class="text-xl font-medium">{{ title }}</h1>
<p class="text-center text-sm text-muted-foreground">{{ description }}</p>
</div>
</div>
<slot />
<Link :href="route('forsiden')" class="flex flex-col items-center gap-2 font-medium my-8">
<div class="flex h-9 w-9 items-center justify-center rounded-md">
<PageLogo />
</div>
<span class="sr-only">{{ title }}</span>
</Link>
</div>
</div>
</div>
</template>