mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
perf: ⚡ Slight performance changes
This commit is contained in:
parent
19a880a5e0
commit
7d07e639c8
3 changed files with 30 additions and 18 deletions
|
|
@ -41,24 +41,12 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { convert } from "html-to-text";
|
||||
import CollapsibleAside from "~/components/sidebars/collapsible-aside.vue";
|
||||
import { OverlayScrollbarsComponent } from "#imports";
|
||||
|
||||
const tokenData = useTokenData();
|
||||
const client = useMegalodon(tokenData);
|
||||
const instance = useInstance(client);
|
||||
const description = useExtendedDescription(client);
|
||||
const { width } = useWindowSize();
|
||||
|
||||
useServerSeoMeta({
|
||||
title: instance.value?.title,
|
||||
ogImage: instance.value?.banner,
|
||||
description: convert(description.value?.content ?? ""),
|
||||
ogSiteName: "Lysand",
|
||||
colorScheme: "dark",
|
||||
});
|
||||
|
||||
const { n } = useMagicKeys();
|
||||
|
||||
watchEffect(async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue