fix(ui): use the Archie mark in chat empty state and sign-in gate
This commit is contained in:
4 files changed
+107
-107
No files matched your search
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { Label } from "@/components/ui/label";
|
||||
import { Alert, AlertDescription } from "@/components/ui/alert";
|
||||
import Logo from "@/components/topbar/Logo.vue";
|
||||
import { computed, ref } from "vue";
|
||||
import { Card } from "@/components/ui/card";
|
||||
import { Button } from "@/components/ui/button";
|
||||
@@ -30,7 +31,7 @@ async function signInPasskey(){busy.value=true;error.value="";try{await usePassk
|
||||
<template>
|
||||
<main class="mx-auto flex min-h-[90dvh] max-w-md flex-col justify-center px-5 py-10">
|
||||
<Card class="gap-0 py-6 px-6 shadow-sm">
|
||||
<p class="mb-2 text-xs font-medium tracking-widest text-fg-muted">ARCHIE</p>
|
||||
<div class="mb-2"><Logo /></div>
|
||||
<h1 class="text-2xl font-medium">{{setup?(step===1?'Set up your organisation':'Create your admin account'):recovery?'Recover your account':'Sign in'}}</h1>
|
||||
<form class="mt-6 space-y-4" @submit.prevent="submit">
|
||||
<template v-if="setup&&step===1">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import Logo from "@/components/topbar/Logo.vue";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
/**
|
||||
@@ -19,11 +20,9 @@ const PROMPTS = [
|
||||
|
||||
<template>
|
||||
<div class="w-full self-center justify-self-center py-6 text-center">
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="mx-auto mb-3 grid size-9 place-items-center rounded-xl border border-border-strong font-bold text-link"
|
||||
>A</span
|
||||
>
|
||||
<div aria-hidden="true" class="mb-3 flex justify-center">
|
||||
<Logo :open="false" />
|
||||
</div>
|
||||
<div class="flex flex-wrap justify-center gap-2">
|
||||
<Button
|
||||
v-for="prompt in PROMPTS"
|
||||
|
||||
Reference in new issue
Block a user