2022-07-30 15:08:20 +00:00
|
|
|
<template>
|
2024-04-23 21:01:27 +00:00
|
|
|
<article :class="layout" class="skeleton flex flex-col gap-3 p-5 rounded-lg max-w-[256px] border border-k-border">
|
2024-04-04 22:20:42 +00:00
|
|
|
<aside class="aspect-square rounded-lg pulse" />
|
2022-07-30 15:08:20 +00:00
|
|
|
|
2024-04-04 22:20:42 +00:00
|
|
|
<footer class="flex flex-col flex-1 gap-3">
|
|
|
|
<p class="h-[1.2rem] w-3/4 pulse" />
|
|
|
|
<p class="h-[1.2rem] w-2/3 pulse" />
|
|
|
|
<p class="h-[1.2rem] w-1/3 pulse" />
|
2022-07-30 15:08:20 +00:00
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
const props = withDefaults(defineProps<{ layout?: ArtistAlbumCardLayout }>(), { layout: 'full' })
|
|
|
|
</script>
|
|
|
|
|
2024-04-04 20:13:35 +00:00
|
|
|
<style lang="postcss" scoped>
|
2024-04-04 22:20:42 +00:00
|
|
|
.compact {
|
|
|
|
@apply flex-row items-center max-w-full p-4 rounded-md;
|
2022-07-30 15:08:20 +00:00
|
|
|
|
|
|
|
aside {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply w-[80px];
|
2022-07-30 15:08:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|