|
1 | | -import { Alert, Box, Grid, Typography } from "@mui/material"; |
| 1 | +import { Box, Grid } from "@mui/material"; |
2 | 2 | import Divider from "components/Divider"; |
3 | 3 | import HtmlMeta from "components/HtmlMeta"; |
4 | 4 | import PageContainer from "components/PageContainer"; |
5 | 5 | import PageTitle from "components/PageTitle"; |
6 | | -import StyledLink from "components/StyledLink"; |
7 | 6 | import { useTranslation } from "i18n"; |
8 | 7 | import { DASHBOARD, GLOBAL } from "i18n/namespaces"; |
9 | 8 | import { theme } from "theme"; |
10 | 9 |
|
11 | | -import dashboardNews from "../../dashboardNews.json"; |
12 | 10 | import CommunitiesSection from "./CommunitiesSection"; |
13 | 11 | import CommunityEvents from "./CommunityEvents"; |
14 | 12 | import DashboardMyPublicTrips from "./DashboardMyPublicTrips"; |
@@ -46,46 +44,6 @@ export default function Dashboard() { |
46 | 44 |
|
47 | 45 | <PageTitle>{t("dashboard:welcome")}</PageTitle> |
48 | 46 |
|
49 | | - <Alert |
50 | | - severity="info" |
51 | | - sx={{ |
52 | | - marginBottom: theme.spacing(2), |
53 | | - [theme.breakpoints.down("sm")]: { py: 0.75 }, |
54 | | - }} |
55 | | - > |
56 | | - <Typography |
57 | | - variant="body1" |
58 | | - sx={{ |
59 | | - [theme.breakpoints.down("sm")]: { fontSize: "0.8125rem" }, |
60 | | - }} |
61 | | - > |
62 | | - New blog post:{" "} |
63 | | - <StyledLink href={dashboardNews["2026-05-25"].link}> |
64 | | - {dashboardNews["2026-05-25"].title} |
65 | | - </StyledLink> |
66 | | - </Typography> |
67 | | - </Alert> |
68 | | - |
69 | | - <Alert |
70 | | - severity="info" |
71 | | - sx={{ |
72 | | - marginBottom: theme.spacing(2), |
73 | | - [theme.breakpoints.down("sm")]: { py: 0.75 }, |
74 | | - }} |
75 | | - > |
76 | | - <Typography |
77 | | - variant="body1" |
78 | | - sx={{ |
79 | | - [theme.breakpoints.down("sm")]: { fontSize: "0.8125rem" }, |
80 | | - }} |
81 | | - > |
82 | | - New blog post:{" "} |
83 | | - <StyledLink href={dashboardNews["2026-05-15"].link}> |
84 | | - {dashboardNews["2026-05-15"].title} |
85 | | - </StyledLink> |
86 | | - </Typography> |
87 | | - </Alert> |
88 | | - |
89 | 47 | <ReminderCarousel /> |
90 | 48 |
|
91 | 49 | <Divider spacing={3} /> |
|
0 commit comments