Moved to Nuxt Image for album page

This commit is contained in:
lucast committed 2026-02-04 14:04:33 +01:00
1 parent bd0fc5394f
commit 5b2d1bb977
1 file changed
+6 -3
+6 -3
View File
@@ -12,7 +12,12 @@ const {
<template> <template>
<section class="info"> <section class="info">
<nuxt-img :src="GET_FILE(albumData.file)" /> <NuxtImg
:src="GET_FILE(albumData.file)"
width="300"
height="300"
placeholder
/>
<div class="details"> <div class="details">
<h1>{{ albumData.name }}</h1> <h1>{{ albumData.name }}</h1>
@@ -35,8 +40,6 @@ const {
gap: 1rem; gap: 1rem;
& img { & img {
aspect-ratio: 1 / 1;
max-width: 300px;
border-radius: $border-radius-standard; border-radius: $border-radius-standard;
} }