mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 08:36:27 +01:00
7be09a4af9
* components/drive-file-thumbnail.vue * components/drive-select-dialog.vue * components/drive-window.vue * wip * wip drive.file.vue, drive.vue * fix prop * wip( * components/drive.folder.vue * maybe ok * ✌️ * fix variable * FIX FOLDER VARIABLE * components/emoji-picker-dialog.vue * Hate `$emit` * hate global property * components/emoji-picker-window.vue * components/emoji-picker.section.vue * fix * fixx * wip components/emoji-picker.vue * fix * defineExpose * ユニコード絵文字の型をもっといい感じに * components/featured-photos.vue * components/follow-button.vue * forgot-password.vue * forgot-password.vue * 🎨 * fix
22 lines
509 B
Vue
22 lines
509 B
Vue
<template>
|
|
<div v-if="meta" class="xfbouadm" :style="{ backgroundImage: `url(${ meta.backgroundImageUrl })` }"></div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue';
|
|
import * as Misskey from 'misskey-js';
|
|
import * as os from '@/os';
|
|
|
|
const meta = ref<Misskey.entities.DetailedInstanceMetadata>();
|
|
|
|
os.api('meta', { detail: true }).then(gotMeta => {
|
|
meta.value = gotMeta;
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.xfbouadm {
|
|
background-position: center;
|
|
background-size: cover;
|
|
}
|
|
</style>
|