import dahsboardImage from "&/images/dashboard.svg"; import { NextLinkComposed } from "@/core/components/LinkRouting"; import StyledImage from "@/core/components/StyledImage"; import CenterLayout from "@/layouts/CenterLayout"; import FullPageLayout from "@/layouts/FullPageLayout"; import useUser from "@/lib/app/hooks/useUser"; import { Box, Button, Grid, Typography } from "@mui/material"; import { useTranslations } from "next-intl"; const FirstComponent = () => { const t = useTranslations(); const { isAuth } = useUser(); return ( {t("app_name")} {isAuth ? ( ) : ( )} ); }; export default FirstComponent;