mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 15:39:15 +02:00
refactor: ♻️ Rewrite state system to use Pinia for composer and auth
This commit is contained in:
parent
a6db9e059d
commit
b510782a30
80 changed files with 999 additions and 1011 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<TimelineScroller>
|
||||
<Home v-if="identity" />
|
||||
<Home v-if="authStore.isSignedIn" />
|
||||
<Public v-else />
|
||||
</TimelineScroller>
|
||||
</template>
|
||||
|
|
@ -11,8 +11,9 @@ import Public from "~/components/timelines/public.vue";
|
|||
import TimelineScroller from "~/components/timelines/timeline-scroller.vue";
|
||||
import * as m from "~~/paraglide/messages.js";
|
||||
|
||||
const authStore = useAuthStore();
|
||||
useHead({
|
||||
title: identity.value
|
||||
title: authStore.isSignedIn
|
||||
? m.bland_chunky_sparrow_propel()
|
||||
: m.lost_trick_dog_grace(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue