Add initial Code
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<script setup lang="ts">
|
||||
import AppLogoIcon from '@/components/AppLogoIcon.vue';
|
||||
import { home } from '@/routes';
|
||||
import { Link, usePage } from '@inertiajs/vue3';
|
||||
|
||||
const page = usePage();
|
||||
const name = page.props.name;
|
||||
const quote = page.props.quote;
|
||||
|
||||
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">
|
||||
<div class="relative hidden h-full flex-col bg-muted p-20 lg:flex dark:border-r">
|
||||
|
||||
<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>
|
||||
Reference in New Issue
Block a user