import LinkRouting, {NextLinkComposed} from "@/core/components/LinkRouting"; import CenterLayout from "@/layouts/CenterLayout"; import FullPageLayout from "@/layouts/FullPageLayout"; import useUser from "@/lib/app/hooks/useUser"; import {Box, Button, Grid, Stack} from "@mui/material"; import {useTranslations} from "next-intl"; import {useSearchParams} from "next/navigation"; import SvgDashboard from "@/core/components/svgs/SvgDashboard"; const RegisterComponent = () => { const t = useTranslations(); const {isAuth} = useUser(); const searchParams = useSearchParams(); const backUrlDecodedPath = searchParams.get("back_url"); return ( {isAuth ? ( ) : ( {/**/} {/* */} {/* {t("register_welfare_services")}*/} {/* */} {/**/} )} {t("RegisterPage.link_routing_back_to")}{" "} {backUrlDecodedPath ? t("RegisterPage.link_routing_previuos_page") : t("LoginPage.link_routing_main_page")} ); }; export default RegisterComponent;