import React from "react";
import { LogIn, UserPlus, KeyRound, ShieldCheck } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content shared by /login, /register, and /forgot-password. */
export const authHelpContent: HelpContent = {
title: "Account help",
subtitle: "Signing in, creating an account, and resetting your password.",
quickLinks: [
{ label: "Log in", href: "/login", icon: LogIn },
{ label: "Create an account", href: "/register", icon: UserPlus },
{ label: "Forgot password", href: "/forgot-password", icon: KeyRound },
],
tabs: [
{
key: "account",
label: "Signing in & registering",
icon: LogIn,
content: (
You can log in with either your email address or phone number, whichever you registered with.
You don't always need one — some events let you register as a guest with just your name and email. If an event requires an account, you'll be prompted to create one right from the registration form.
If you registered as a guest before, you can still create a full account later using the same email — your past registrations will be there once you're logged in.
If you've turned on two-factor authentication, we send a 6-digit code by email or WhatsApp after your password. Enter it within 10 minutes, or use "Resend code" if it doesn't arrive. Tick "Trust this device" to skip the code on that device for 30 days. You can turn two-factor on or off from Profile & Security.
Two-factor authentication is required for admin and supervisor accounts. If it isn't on yet, your next login sends you a code, and entering it turns two-factor on. You can change whether codes come by email or WhatsApp from Profile & Security, but you can't turn it off.
),
},
{
key: "password",
label: "Resetting your password",
icon: KeyRound,
content: (
Use "Forgot your password?" on the login page to get a reset link emailed to you — it expires after an hour for security.
You can change your password directly from Profile & Security instead, without needing an email link.
),
},
],
};