Add FAQ guide and contextual help links

This commit is contained in:
2026-08-05 15:46:06 +02:00
parent 33f0170927
commit 3b6f35e31a
11 changed files with 388 additions and 48 deletions
+7 -3
View File
@@ -4,6 +4,7 @@ import { toast } from "sonner";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { HelpLink } from "@/components/HelpLink";
import { updateCurrentUser } from "../api";
import type { AuthUser } from "../types";
@@ -74,9 +75,12 @@ export function ProfilePage({ currentUser, onUserUpdated }: ProfilePageProps) {
<Card>
<CardHeader className="p-4">
<div className="flex items-center gap-2">
<UserCircle className="size-5 text-muted-foreground" />
<CardTitle>Accountdaten</CardTitle>
<div className="flex items-start justify-between gap-3">
<div className="flex items-center gap-2">
<UserCircle className="size-5 text-muted-foreground" />
<CardTitle>Accountdaten</CardTitle>
</div>
<HelpLink anchor="profil" label="Hilfe zum Profil" />
</div>
<CardDescription>Der Benutzername wird beim Login verwendet. Dein voller Name wird in der App angezeigt.</CardDescription>
</CardHeader>