import { FlexBox } from '@lumina/island/atoms/flex-box'; import { Typography } from '@lumina/island/atoms/typography'; import { ROUTES } from '@lumina/market/app/navigation'; import { SupportEntry } from '@lumina/market/app/screens/organisms/support-entry'; import NextLink from 'next/link'; import { i18n } from '../../../i18n'; import { BackButton } from './components/BackButton'; import type { AuthTopBarProps } from './types'; /** * The logged-out top bar: the brand and support on a first step; back, the step's name and * support on a pushed step; only the name on a step with no way back (registration step 4). * Back keeps what was typed: the number lives in the flow store. */ export function AuthTopBar({ title, back }: AuthTopBarProps) { return ( {back && } {title ? ( {title} ) : ( {i18n.t('auth:header.brand')} )} ); }