Added item card view for selection
This commit is contained in:
@@ -1,20 +1,25 @@
|
||||
<script lang="ts" setup>
|
||||
import { useSlots } from 'vue'
|
||||
const slots = useSlots()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<article class="h-full grid grid-rows-[auto_1fr_1fr_auto] gap-3 bg-y-beige-300">
|
||||
<header class="px-3 py-1 bg-y-beige-700">
|
||||
<article class="h-full grid grid-rows-[auto_1fr_1fr_auto] gap-4 bg-y-beige-300 pb-4">
|
||||
<header class="px-4 py-1 bg-y-beige-700">
|
||||
<span class="tracking-wider text-lg text-y-beige-400">
|
||||
<slot name="title" />
|
||||
</span>
|
||||
</header>
|
||||
|
||||
<figure class="mx-3 bg-y-beige-500 grid place-items-center">
|
||||
<figure class="mx-4 bg-y-beige-500 grid place-items-center">
|
||||
<slot name="image" />
|
||||
</figure>
|
||||
|
||||
<div class="mx-3">
|
||||
<div class="mx-4 pt-1 border-t-2 border-y-beige-500">
|
||||
<slot name="content" />
|
||||
</div>
|
||||
|
||||
<footer class="mx-3">
|
||||
<footer class="mx-4">
|
||||
<slot name="footer" />
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user