Merge branch 'feature/first_page_design' into 'develop'

Feature/first page design

See merge request witel-front-end/loan-facilities/user-v2!17
This commit is contained in:
AmirHossein Mahmoodi
2024-11-25 11:44:10 +00:00
4 changed files with 61 additions and 65 deletions

View File

@@ -18,10 +18,7 @@ const AddFormComponent = () => {
return ( return (
<> <>
{!rulesChecked ? ( {!rulesChecked ? (
<CheckRules <CheckRules rulesChecked={rulesChecked} setRulesChecked={setRulesChecked} />
rulesChecked={rulesChecked}
setRulesChecked={setRulesChecked}
/>
) : finishLoanRequest ? ( ) : finishLoanRequest ? (
<CenterLayout> <CenterLayout>
<SvgDone width={200} height={200} /> <SvgDone width={200} height={200} />

View File

@@ -231,4 +231,4 @@ const CheckRules = ({ setRulesChecked }) => {
</CenterLayout> </CenterLayout>
); );
}; };
export default CheckRules; export default CheckRules;

View File

@@ -1,53 +1,60 @@
import { Box, Container, Grid, Typography } from "@mui/material"; import { Box, Button, Container, Link, Stack, Typography } from "@mui/material";
import { useTranslations } from "next-intl"; import DownloadIcon from "@mui/icons-material/Download";
import TimeLineDetails from "@/components/first/LoanDescription/TimeLineDetails";
const LoanDescription = () => { const LoanDescription = () => {
const t = useTranslations();
return ( return (
<Box> <Box sx={{ flex: 1 }}>
<Container sx={{ py: 3 }} maxWidth="xl"> <Container sx={{ pt: 3 }} maxWidth="xl">
<Typography sx={{ my: 3 }} variant={"h3"}> <Stack alignItems={"center"} justifyContent={"center"}>
وام نوسازی ناوگان <Typography sx={{ my: 3 }} variant={"h3"}>
</Typography> وام نوسازی ناوگان
<Grid sx={{ py: 2 }} container spacing={2}> </Typography>
<Grid item xs={12} md={7}> </Stack>
<Typography sx={{ lineHeight: 2.4 }} variant={"subtitle1"} textAlign={"justify"}> <Stack spacing={2}>
این وام براساس{" "} <Typography sx={{ lineHeight: 2.4 }} variant={"subtitle1"} textAlign={"justify"}>
<Typography این وام براساس{" "}
sx={{ color: "secondary.main" }} <Typography
variant={"h5"} sx={{ color: "secondary.main" }}
fontWeight={"bold"} variant={"h5"}
component={"span"} fontWeight={"bold"}
component={"span"}
>
تبصره 18
</Typography>{" "}
قانون بودجه می باشد. در قانون بودجه این تبصره اینگونه بیان شده است: به منظور رشد و پیشرفت استان
های کشور از طریق ارتقای بهره وری و توسعه، سرمایه گذاری ها، تکمیل واحدهای نیمه تمام و ظرفیت های
خالی بنگاه های تولیدی بر پایه آمایش سرزمین و همچنین حمایت از طرح(پروژهای) دانش بنیان و پیشران و
بسط و عدالت سرزمینی منابع زیر جهت ایجاد و افزایش تولید، اشتغال و کارآفرینی و ارتقای رشد اقتصادی
اختصاص می یابد.
</Typography>
<Typography sx={{ lineHeight: 2.4 }} variant={"subtitle1"} textAlign={"justify"}>
در این راستا سازمان راهداری و حمل و نقل جاده ای به منظور بهبود کیفیت حمل و نقل بین شهری و افزایش
ظرفیت ترابری اقدام به اعطای وام به{" "}
<Typography
sx={{ color: "secondary.main" }}
variant={"h5"}
fontWeight={"bold"}
component={"span"}
>
ناوگان های مسافربری
</Typography>{" "}
برای بازسازی و تعمیرات میکند.
</Typography>
<Stack alignItems={"center"} justifyContent={"center"} sx={{ pt: 2 }}>
<Button variant="contained" startIcon={<DownloadIcon />}>
<Link
variant="subtitle1"
sx={{ padding: 1 }}
color={"white"}
download
underline="none"
href={"/files/راهنما.pdf"}
> >
تبصره 18 دریافت فایل های راهنما
</Typography>{" "} </Link>
قانون بودجه می باشد. در قانون بودجه این تبصره اینگونه بیان شده است: به منظور رشد و پیشرفت </Button>
استان های کشور از طریق ارتقای بهره وری و توسعه، سرمایه گذاری ها، تکمیل واحدهای نیمه تمام و </Stack>
ظرفیت های خالی بنگاه های تولیدی بر پایه آمایش سرزمین و همچنین حمایت از طرح(پروژهای) دانش </Stack>
بنیان و پیشران و بسط و عدالت سرزمینی منابع زیر جهت ایجاد و افزایش تولید، اشتغال و کارآفرینی
و ارتقای رشد اقتصادی اختصاص می یابد.
</Typography>
<Typography sx={{ lineHeight: 2.4 }} variant={"subtitle1"} textAlign={"justify"}>
در این راستا سازمان راهداری و حمل و نقل جاده ای به منظور بهبود کیفیت حمل و نقل بین شهری و
افزایش ظرفیت ترابری اقدام به اعطای وام به{" "}
<Typography
sx={{ color: "secondary.main" }}
variant={"h5"}
fontWeight={"bold"}
component={"span"}
>
ناوگان های مسافربری
</Typography>{" "}
برای بازسازی و تعمیرات میکند.
</Typography>
</Grid>
<Grid item xs={12} md={5}>
<Box>
<TimeLineDetails />
</Box>
</Grid>
</Grid>
</Container> </Container>
</Box> </Box>
); );

View File

@@ -1,26 +1,18 @@
import { Stack } from "@mui/material";
import { useTranslations } from "next-intl";
import LoanRegister from "@/components/first/LoanRegister"; import LoanRegister from "@/components/first/LoanRegister";
import LoanCondition from "@/components/first/LoanCondition";
import FooterDetails from "@/components/first/FooterDetails"; import FooterDetails from "@/components/first/FooterDetails";
import HeaderDetails from "@/components/first/HeaderDetails"; import HeaderDetails from "@/components/first/HeaderDetails";
import LoanDescription from "@/components/first/LoanDescription"; import LoanDescription from "@/components/first/LoanDescription";
import { FullPageLayout } from "@witel/webapp-builder";
import Banner from "@/components/first/Banner"; import Banner from "@/components/first/Banner";
import { FullPageLayout } from "@witel/webapp-builder";
const FirstComponent = () => { const FirstComponent = () => {
const t = useTranslations();
return ( return (
<FullPageLayout> <FullPageLayout>
<Stack> <HeaderDetails />
<HeaderDetails /> <Banner />
<Banner /> <LoanRegister />
<LoanRegister /> <LoanDescription />
<LoanDescription /> <FooterDetails />
<LoanCondition />
<FooterDetails />
</Stack>
</FullPageLayout> </FullPageLayout>
); );
}; };