feat: show server info on aside when not signed in (#3274)

This commit is contained in:
ayo 2025-04-28 10:32:56 +02:00 committed by GitHub
parent 81675930eb
commit f6c34e9120
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,15 @@
<script setup lang="ts">
const instance = instanceStorage.value[currentServer.value]
try {
clearError({ redirect: currentUser.value ? '/home' : `/${currentServer.value}/public/local` })
}
catch (err) {
console.error(err)
}
</script>
<template>
<MainContent text-base grid gap-3 m3>
<img rounded-3 :src="instance.thumbnail.url">
</MainContent>
</template>