This repository has been archived on 2025-12-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2025-10-20 08:57:51 +02:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import AppLogoIcon from '@/components/AppLogoIcon.vue';
|
|
|
|
|
import { home } from '@/routes';
|
2025-11-14 12:40:32 +01:00
|
|
|
import { usePage } from '@inertiajs/vue3';
|
2025-10-20 08:57:51 +02:00
|
|
|
|
|
|
|
|
const page = usePage();
|
|
|
|
|
const name = page.props.name;
|
|
|
|
|
|
|
|
|
|
defineProps<{
|
|
|
|
|
title?: string;
|
|
|
|
|
description?: string;
|
|
|
|
|
}>();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div
|
|
|
|
|
class="relative grid h-dvh flex-col items-center justify-center px-8 sm:px-0 lg:max-w-none lg:grid-cols-2 lg:px-0 bg-yellow-950">
|
2025-10-22 11:58:58 +02:00
|
|
|
<div class="relative hidden h-full flex-col bg-muted p-20 lg:flex">
|
2025-10-20 08:57:51 +02:00
|
|
|
|
|
|
|
|
<div class="absolute inset-0 bg-amber-500 foreground" />
|
|
|
|
|
|
|
|
|
|
<img :src="'/storage/images/d1b5d2bd-f523-4131-9531-e075b7996710.svg'"
|
|
|
|
|
class="absolute inset-0 w-full h-full object-cover" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="lg:p-8">
|
|
|
|
|
<div class="mx-auto flex w-full flex-col justify-center space-y-12 sm:w-[350px]">
|
|
|
|
|
<div class="flex flex-col space-y-2">
|
|
|
|
|
|
|
|
|
|
<div :href="home()" class="flex items-center gap-4">
|
|
|
|
|
<AppLogoIcon />
|
|
|
|
|
<div>
|
|
|
|
|
<h1 class="text-xl font-medium tracking-wide text-amber-50">{{ name }}</h1>
|
|
|
|
|
<p class="text-sm font-light tracking-wide text-amber-100" v-if="description">{{ description }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<slot />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|