refactor: ♻️ Rewrite state system to use Pinia for composer and auth

This commit is contained in:
Jesse Wierzbinski 2025-08-28 07:41:51 +02:00
parent a6db9e059d
commit b510782a30
No known key found for this signature in database
80 changed files with 999 additions and 1011 deletions

View file

@ -1,10 +1,4 @@
<template>
<div
class="flex h-svh items-center justify-center px-6 py-12 lg:px-8 bg-center bg-no-repeat bg-cover"
:style="{
backgroundImage: 'url(/images/banner.webp)',
}"
>
<Card v-if="params.success" class="w-full max-w-md *:w-full">
<CardHeader>
<CardTitle>{{ m.late_mean_capybara_fade() }}</CardTitle>
@ -103,7 +97,6 @@
</CardFooter>
</form>
</Card>
</div>
</template>
<script setup lang="ts">
@ -135,8 +128,12 @@ import * as m from "~~/paraglide/messages.js";
useHead({
title: m.arable_arable_herring_lead(),
});
definePageMeta({
layout: "auth",
});
identity.value = null;
const authStore = useAuthStore();
authStore.setActiveIdentity(null);
const formSchema = toTypedSchema(
z