754e44f0a5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
22 lines
439 B
Vue
22 lines
439 B
Vue
<template>
|
|
<div
|
|
class="grid auto-rows-[1fr] gap-x-5 gap-y-8 grid-cols-[repeat(auto-fill,_minmax(250px,_1fr))]"
|
|
>
|
|
<event-card
|
|
class="flex flex-col h-full"
|
|
v-for="event in events"
|
|
:event="event"
|
|
:key="event.uuid"
|
|
/>
|
|
</div>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
import { IEvent } from "@/types/event.model";
|
|
|
|
import EventCard from "./EventCard.vue";
|
|
|
|
defineProps<{
|
|
events: IEvent[];
|
|
}>();
|
|
</script>
|