feat: 发布 v0.5.0 加密存储与匿名同步

This commit is contained in:
2026-06-23 01:48:01 +02:00
parent 81a70137a9
commit e3825c5a4e
20 changed files with 1091 additions and 70 deletions
+5 -9
View File
@@ -12,8 +12,8 @@ export function Navbar() {
return (
<header className="border-b">
<div className="safe-x container mx-auto flex h-14 max-w-6xl items-center justify-between">
<Link href="/" className="text-lg font-medium flex items-center gap-2">
<span className="w-8 h-8 border rounded flex items-center justify-center">
<Link href="/" className="flex items-center gap-2 text-lg font-medium">
<span className="flex h-8 w-8 items-center justify-center rounded border">
<ClipboardList className="h-4 w-4" />
</span>
<span className="hidden md:block">{t('title')}</span>
@@ -22,23 +22,19 @@ export function Navbar() {
<nav className="flex items-center gap-4 text-sm">
<Link
href="/"
className="font-medium hover:text-foreground transition-colors"
className={`${pathname === '/' ? 'font-medium' : 'text-muted-foreground'} transition-colors hover:text-foreground`}
>
{t('introduce')}
</Link>
<Link
href="/questionnaire"
className={`${
pathname.startsWith('/questionnaire')
? 'font-medium'
: 'text-muted-foreground'
} hover:text-foreground transition-colors`}
className={`${pathname.startsWith('/questionnaire') ? 'font-medium' : 'text-muted-foreground'} transition-colors hover:text-foreground`}
>
{t('questionsList')}
</Link>
<Link
href="/records"
className={`${pathname.startsWith('/records') ? 'font-medium' : 'text-muted-foreground'} flex items-center gap-1.5 hover:text-foreground transition-colors`}
className={`${pathname.startsWith('/records') ? 'font-medium' : 'text-muted-foreground'} flex items-center gap-1.5 transition-colors hover:text-foreground`}
>
<FolderClock className="h-4 w-4" />