Redesign home page

This commit is contained in:
2024-09-27 15:52:22 +02:00
parent e3863058a0
commit 2977c73a10
31 changed files with 587 additions and 161 deletions

View File

@@ -0,0 +1,30 @@
<script setup lang="ts">
defineProps({
image: String,
title: String
})
</script>
<template>
<v-card>
<v-img
:src="'http://localhost:3000/static/' + image"
aspect-ratio="1"
style="background-color: aliceblue;"
cover
/>
<v-card-title v-if="title">
{{ title }}
</v-card-title>
<div class="px-4 pb-4" v-if="$slots.default">
<slot></slot>
</div>
<v-card-actions v-if="$slots.actions" class="card-actions position-absolute bottom-0 right-0">
<v-spacer />
<slot name="actions"></slot>
</v-card-actions>
</v-card>
</template>