Skip to content

πŸ™Œ OpenHands: AI-Driven Development

640 B
Raw Blame
import { useTranslation } from "react-i18next";
import { Typography } from "#/ui/typography";
import { I18nKey } from "#/i18n/declaration";

export function HomeHeaderTitle() {
  const { t } = useTranslation("openhands");

  return (
    <div className="flex w-full flex-col items-center gap-2 py-2">
      <Typography.H1 className="w-full text-center leading-normal">
        {t(I18nKey.HOME$WHAT_TO_WORK_ON)}
      </Typography.H1>
      <p
        data-testid="home-header-subtitle"
        className="text-center text-[var(--oh-text-tertiary)]"
      >
        {t(I18nKey.HOME$ENGINEERING_TASKS_SUBHEADER)}
      </p>
    </div>
  );
}