feat: alle functionaliteiten van de user homepage zijn geïmplementeerd

This commit is contained in:
Joyelle Ndagijimana 2025-03-21 16:32:12 +01:00
parent 54a2cf0800
commit 0d635fc6a1
6 changed files with 26 additions and 15 deletions

View file

@ -1,18 +1,23 @@
<script setup lang="ts">
import { useI18n } from "vue-i18n";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
const { t } = useI18n();
defineProps<{
path: string;
title: string;
description: string;
image: string;
}>();
defineProps<{
path: string;
title: string;
description: string;
image: string;
}>();
</script>
<template>
<v-card variant="outlined" class="theme-card d-flex flex-column">
<v-card
variant="outlined"
class="theme-card d-flex flex-column"
:to="`theme/${path}`"
link
>
<v-card-title class="title-container">
<v-img
v-if="image"
@ -39,6 +44,11 @@
flex-direction: column;
height: 100%;
padding: 1rem;
cursor: pointer;
}
.theme-card:hover {
background-color: rgba(0, 0, 0, 0.03);
}
.title-container {
@ -57,5 +67,8 @@
.title {
flex-grow: 1;
white-space: normal;
overflow-wrap: break-word;
word-break: break-word;
}
</style>