import { ArrowUp, BookOpenCheck } from "lucide-react";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { helpSections } from "../help-content";
import { cn } from "../lib/utils";
function WorkflowList({ items }: { items: string[] }) {
return (
Empfohlener Ablauf
{items.map((item, index) => (
{index + 1}
{item}
))}
);
}
function FlowDiagram({ items }: { items: string[] }) {
return (
Ablaufdiagramm
{items.map((item, index) => (
{item}
{index < items.length - 1 ?
↓
: null}
))}
);
}
export function FaqPage() {
return (
FAQ und Anleitung
Ausführliche Anleitung für Timer, Auswertung, Teamspace, fixe Abrechnungen, Monatsabschluss und Adminfunktionen.
{helpSections.length} Abschnitt(e)
Schnellnavigation
Die Fragezeichen in der App öffnen eine Kurzfassung. Von dort gelangst du direkt zum passenden ausführlichen Abschnitt.
{helpSections.map((section) => (
{section.title}
))}
{helpSections.map((section) => {
const isWide = section.id === "grundprinzip" || section.id === "monatsworkflow";
const isWorkflow = section.id === "monatsworkflow";
return (
{section.title}
{section.description}
Kurzfassung
{section.quickItems.map((item) => (
{item}
))}
Details
{section.details.map((item) => (
{item}
))}
{section.workflow ?
: null}
{section.diagram ? : null}
);
})}
);
}