Add FAQ guide and contextual help links
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user