|
|
@@ -10,7 +10,7 @@ import { |
|
|
|
} from '@mui/material'; |
|
|
|
import { isORGLoggedIn, } from "utils/Utils"; |
|
|
|
import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png' |
|
|
|
import { FormattedMessage } from "react-intl"; |
|
|
|
import {FormattedMessage, useIntl} from "react-intl"; |
|
|
|
import AdsClickRoundedIcon from '@mui/icons-material/AdsClickRounded'; |
|
|
|
import * as React from "react"; |
|
|
|
import Loadable from 'components/Loadable'; |
|
|
@@ -23,6 +23,7 @@ import { useNavigate } from "react-router-dom"; |
|
|
|
|
|
|
|
const DashboardDefault = () => { |
|
|
|
const navigate = useNavigate() |
|
|
|
const intl = useIntl(); |
|
|
|
const userData = JSON.parse(localStorage.getItem("userData")); |
|
|
|
const BackgroundHead = { |
|
|
|
// backgroundColor: '#0d47a1', |
|
|
@@ -49,7 +50,12 @@ const DashboardDefault = () => { |
|
|
|
<Grid item xs={12} md={12} sx={{ textAlign: "center" }}> |
|
|
|
<Grid container justifyContent="center" spacing={2} sx={{ pt: 2 }} alignitems="stretch" > |
|
|
|
<Grid item xs={12} lg={5} sx={{ pt: 2 }} style={{ height: '100%' }}> |
|
|
|
<Button xs={12} onClick={()=>{ navigate("/publicNotice/apply");}} style={{ justifyContent: "flex-start" }} sx={{ width: "100%", p: 4, border: '3px solid #e1edfc', borderRadius: '10px', backgroundColor: "#e1edfc" }} > |
|
|
|
<Button |
|
|
|
xs={12} onClick={()=>{ navigate("/publicNotice/apply");}} |
|
|
|
style={{ justifyContent: "flex-start" }} |
|
|
|
aria-label={intl.formatMessage({id: 'submitApplication'})} |
|
|
|
sx={{ width: "100%", p: 4, border: '3px solid #e1edfc', borderRadius: '10px', backgroundColor: "#e1edfc" }} |
|
|
|
> |
|
|
|
<Stack direction="row" spacing={2}> |
|
|
|
<AdsClickRoundedIcon /> |
|
|
|
<Stack direction="column" alignItems="start"> |
|
|
@@ -66,7 +72,10 @@ const DashboardDefault = () => { |
|
|
|
<Typography variant="h4"> |
|
|
|
<FormattedMessage id="announcement" /> |
|
|
|
</Typography> |
|
|
|
<Button color="gray"><u> |
|
|
|
<Button |
|
|
|
color="gray" |
|
|
|
aria-label={intl.formatMessage({id: 'viewAllAnnouncement'})} |
|
|
|
><u> |
|
|
|
<FormattedMessage id="viewAllAnnouncement" /> |
|
|
|
</u></Button> |
|
|
|
</Stack> |
|
|
@@ -80,7 +89,10 @@ const DashboardDefault = () => { |
|
|
|
<Typography variant="h4"> |
|
|
|
<FormattedMessage id="systemMessage" /> |
|
|
|
</Typography> |
|
|
|
<Button onClick={()=>{navigate("/msg/search");}} color="gray"><u> |
|
|
|
<Button |
|
|
|
aria-label={intl.formatMessage({id: 'viewAllSystemMessage'})} |
|
|
|
onClick={()=>{navigate("/msg/search");}} color="gray" |
|
|
|
><u> |
|
|
|
<FormattedMessage id="viewAllSystemMessage" /> |
|
|
|
</u></Button> |
|
|
|
</Stack> |
|
|
|