mirror of
https://codeberg.org/yeentown/barkey
synced 2024-12-05 03:17:26 +00:00
2017f9114f
* refactor(frontend): 非ログイン画面でのmeta取得を減らす * fix(frontend): サーバー供給のmetaとクライアントフォールバックで取れるmetaの型が違うのを修正 * force fetch meta at welcome.vue * refactor
19 lines
422 B
Vue
19 lines
422 B
Vue
<!--
|
|
SPDX-FileCopyrightText: syuilo and misskey-project
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<template>
|
|
<div v-if="instance" :class="$style.root" :style="{ backgroundImage: `url(${ instance.backgroundImageUrl })` }"></div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { instance } from '@/instance.js';
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.root {
|
|
background-position: center;
|
|
background-size: cover;
|
|
}
|
|
</style>
|