import { useTranslations } from "next-intl"; import Stack from "react-bootstrap/Stack"; export default function MainView() { const t = useTranslations(); return ( <Stack gap={2}> <h4>{t("main00")}</h4> <span>{t("main01")}</span> <span>{t("main02")}</span> <span>{t("main03")}</span> </Stack> ); }