You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
747B

  1. import { Box, Card, CardContent, CardHeader, Typography } from "@mui/material";
  2. import useDashboard from "hooks/useDashBoard";
  3. import { PageID, TabID } from "pages";
  4. import { useEffect } from "react";
  5. export default function Overview() {
  6. const { setHeaderTitle, setTabs } = useDashboard(
  7. PageID.DASHBOARD_OVERVIEW,
  8. TabID.NONE
  9. );
  10. useEffect(() => {
  11. setHeaderTitle("ポータル");
  12. setTabs(null);
  13. }, [setHeaderTitle, setTabs]);
  14. return (
  15. <Box sx={{ p: 1, m: 1 }}>
  16. <Card>
  17. <CardContent>
  18. <Typography variant="h6" mb={3}>
  19. お知らせ
  20. </Typography>
  21. <Typography variant="body2">特にありません</Typography>
  22. </CardContent>
  23. </Card>
  24. </Box>
  25. );
  26. }