2024-04-26 07:54:02 +02:00
|
|
|
<template>
|
2024-04-29 23:21:50 +02:00
|
|
|
<div class="flex flex-col p-10 gap-4 h-full">
|
2024-04-26 07:54:02 +02:00
|
|
|
<div
|
2024-07-22 01:23:29 +02:00
|
|
|
class="aspect-video shrink-0 w-full rounded ring-white/5 bg-dark-800 shadow overflow-hidden ring-1 hover:ring-2 duration-100">
|
2024-06-08 01:09:15 +02:00
|
|
|
<img class="object-cover w-full h-full duration-150 hover:scale-[102%] ease-in-out"
|
|
|
|
|
v-if="instance?.banner.url" alt="Instance banner" :src="instance.banner.url" />
|
2024-04-26 07:54:02 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="prose prose-invert prose-sm">
|
2024-04-29 23:21:50 +02:00
|
|
|
<h1 class="text-center mb-10 mt-5">{{ instance?.title }}</h1>
|
2024-04-26 07:54:02 +02:00
|
|
|
<div v-html="description?.content"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-06-08 01:09:15 +02:00
|
|
|
<div v-if="instance?.contact.account" class="flex flex-col gap-2 mt-auto">
|
2024-07-22 01:23:29 +02:00
|
|
|
<h2 class="text-gray-200 font-semibold uppercase text-xs">Administrator</h2>
|
2024-06-21 04:09:09 +02:00
|
|
|
<SmallCard :account="instance.contact.account" />
|
2024-04-26 07:54:02 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2024-06-21 04:09:09 +02:00
|
|
|
import SmallCard from "../users/SmallCard.vue";
|
|
|
|
|
|
2024-05-17 08:25:59 +02:00
|
|
|
const instance = useInstance();
|
2024-04-27 03:28:12 +02:00
|
|
|
const description = useExtendedDescription(client);
|
2024-04-26 07:54:02 +02:00
|
|
|
</script>
|