Add artist review page and components with basic layout and styling

This commit is contained in:
Esa Kataja
2025-05-04 16:34:23 +03:00
parent 92a192e002
commit 1a20721cbb
12 changed files with 281 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
<script setup lang="ts">
const { runningOrder, country, artist, title, flag, artistID } = defineProps(['runningOrder', 'country', 'artist', 'title', 'flag', 'artistID'])
</script>
<template>
<NuxtLink :to="`/review/${artistID}`">
<div class="flex gap-4 border border-slate-200 justify-between overflow-clip items-center rounded-2xl">
<h2 class="w-1/4 text-center">{{ runningOrder }}</h2>
<div class="flex flex-col w-1/2">
<h2>{{ country }}</h2>
<p class="flex gap-2 text-sm">
<span class="font-bold">{{ artist }}</span>
<span class="italic">{{ title }}</span>
</p>
</div>
<img class="w-1/4" src="https://placehold.co/100" alt="{{ flag }}">
</div>
</NuxtLink>
</template>