Add FAQ guide and contextual help links

This commit is contained in:
michael committed 2026-08-05 15:46:06 +02:00
1 parent 33f0170927
commit 3b6f35e31a
11 files changed
+388 -48

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { CircleHelp } from "lucide-react";
import { Button } from "@/components/ui/button";
type HelpLinkProps = {
anchor: string;
label?: string;
className?: string;
};
export function HelpLink({ anchor, label = "Hilfe öffnen", className }: HelpLinkProps) {
return (
<Button asChild variant="ghost" size="icon-sm" className={className} title={label}>
<a href={`/faq#${anchor}`} aria-label={label}>
<CircleHelp className="size-4" />
</a>
</Button>
);
}