inject base of project

This commit is contained in:
2023-07-10 12:08:10 +03:30
parent 7ac890e7e7
commit 0c7fc9bf8f
12 changed files with 19 additions and 305 deletions

View File

@@ -4,7 +4,7 @@ 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, Divider, Typography } from "@mui/material";
import { Button, Typography } from "@mui/material";
import { useTranslations } from "next-intl";
const FirstComponent = () => {
@@ -34,29 +34,16 @@ const FirstComponent = () => {
{t("dashboard")}
</Button>
) : (
<Box sx={{ display: "flex" }}>
<Button
sx={{ mx: 2 }}
variant="contained"
component={NextLinkComposed}
to={{
pathname: "/login-navy",
}}
>
{t("login_navy")}
</Button>
<Divider orientation="vertical" flexItem />
<Button
sx={{ mx: 2 }}
variant="contained"
component={NextLinkComposed}
to={{
pathname: "/login-welfare-services",
}}
>
{t("login_welfare_services")}
</Button>
</Box>
<Button
sx={{ mx: 2 }}
variant="contained"
component={NextLinkComposed}
to={{
pathname: "/login-expert",
}}
>
{t("login_expert")}
</Button>
)}
</CenterLayout>
</FullPageLayout>