"use client"; import Link from "next/link"; import { useAuthStore } from "@/features/auth"; import { useLocale } from "../i18n"; import { GitHubMark, githubUrl, heroButtonClassName } from "./shared"; export function HowItWorksSection() { const { t } = useLocale(); const user = useAuthStore((s) => s.user); return (

{t.howItWorks.label}

{t.howItWorks.headlineMain}
{t.howItWorks.headlineFaded}

{t.howItWorks.steps.map((step, i) => (
{String(i + 1).padStart(2, "0")}

{step.title}

{step.description}

))}
{user ? t.header.dashboard : t.howItWorks.cta} {t.howItWorks.ctaGithub}
); }