This commit is contained in:
ThatOneCalculator 2023-05-28 20:59:36 -07:00
parent 7f81268f07
commit d7e906bcf7
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 5 additions and 6 deletions

View File

@ -3,16 +3,16 @@
<div <div
:class="$style.container" :class="$style.container"
:style="{ :style="{
backgroundImage: instance.bannerUrl backgroundImage: $instance.bannerUrl
? `url(${instance.bannerUrl})` ? `url(${$instance.bannerUrl})`
: null, : null,
}" }"
> >
<div :class="$style.iconContainer"> <div :class="$style.iconContainer">
<img <img
:src=" :src="
instance.iconUrl ?? $instance.iconUrl ??
instance.faviconUrl ?? $instance.faviconUrl ??
'/favicon.ico' '/favicon.ico'
" "
alt="" alt=""
@ -22,7 +22,7 @@
<div :class="$style.bodyContainer"> <div :class="$style.bodyContainer">
<div :class="$style.body"> <div :class="$style.body">
<MkA :class="$style.name" to="/about" behavior="window">{{ <MkA :class="$style.name" to="/about" behavior="window">{{
instance.name $instance.name
}}</MkA> }}</MkA>
<div :class="$style.host">{{ host }}</div> <div :class="$style.host">{{ host }}</div>
</div> </div>
@ -41,7 +41,6 @@ import {
} from "./widget"; } from "./widget";
import { GetFormResultType } from "@/scripts/form"; import { GetFormResultType } from "@/scripts/form";
import { host } from "@/config"; import { host } from "@/config";
import { instance } from "@/instance";
const name = "serverInfo"; const name = "serverInfo";