mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Changes:
- Added Authentication for Piped Accounts - Localization
This commit is contained in:
parent
8548a3646e
commit
de6572eee4
26 changed files with 1045 additions and 596 deletions
|
@ -10,7 +10,10 @@ const props = defineProps({
|
|||
default: '',
|
||||
},
|
||||
grad: String,
|
||||
art: String,
|
||||
art: {
|
||||
type: String,
|
||||
default: 'https://upload.wikimedia.org/wikipedia/commons/c/ca/1x1.png',
|
||||
},
|
||||
});
|
||||
|
||||
defineEmits(['open-album']);
|
||||
|
@ -18,7 +21,7 @@ defineEmits(['open-album']);
|
|||
|
||||
<template>
|
||||
<div class="album card pop" @click="$emit('open-album')">
|
||||
<div class="card-bg bg-img pop-2"></div>
|
||||
<img class="card-bg bg-img pop-2" :src="art" loading="lazy" alt />
|
||||
|
||||
<div class="card-text">
|
||||
<h4>{{ name }}</h4>
|
||||
|
@ -40,7 +43,6 @@ defineEmits(['open-album']);
|
|||
}
|
||||
.card-bg {
|
||||
--grad: v-bind('grad || rand');
|
||||
--art: v-bind('art || grad || rand');
|
||||
height: 13rem;
|
||||
width: 13rem;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue