Skip to content

Commit

Permalink
refactor: Remove unused components and update Footer and Main components
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsukiKigoshi committed Aug 16, 2024
1 parent 9dfd39e commit 0a70d2e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 22 deletions.
6 changes: 0 additions & 6 deletions src/app/curation/page.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions src/app/reading/page.tsx

This file was deleted.

13 changes: 3 additions & 10 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import GitHubIcon from "@mui/icons-material/GitHub";
import InfoIcon from "@mui/icons-material/Info";
import AutoStoriesIcon from "@mui/icons-material/AutoStories";
import CottageIcon from "@mui/icons-material/Cottage";
import TipsAndUpdatesIcon from "@mui/icons-material/TipsAndUpdates";
import { Button, ButtonGroup, Paper, Stack } from "@mui/material";

export default function Footer() {
Expand Down Expand Up @@ -34,15 +33,9 @@ export default function Footer() {
icon: <CottageIcon />,
},
{
title: "Curation",
url: "/curation",
inNewTab: false,
icon: <TipsAndUpdatesIcon />,
},
{
title: "Reading",
url: "/reading",
inNewTab: false,
title: "About Me",
url: "https://github.com/ItsukiKigoshi/ItsukiKigoshi/blob/main/README.md",
inNewTab: true,
icon: <AutoStoriesIcon />,
},
]);
Expand Down
15 changes: 15 additions & 0 deletions src/components/Main.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import GitHubIcon from "@mui/icons-material/GitHub";
import InstagramIcon from "@mui/icons-material/Instagram";
import LinkedInIcon from "@mui/icons-material/LinkedIn";
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import {
Accordion,
AccordionDetails,
AccordionSummary,
Avatar,
Box,
Button,
IconButton,
Link,
Stack,
Typography,
} from "@mui/material";
Expand Down Expand Up @@ -73,6 +78,16 @@ export default function Main() {
<Stack sx={{ justifyContent: "center" }} direction="row" spacing={2}>
{linkButtons}
</Stack>
{/* <Accordion>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
aria-controls="panel1-content"
id="panel1-header"
>
About Me
</AccordionSummary>
<AccordionDetails></AccordionDetails>
</Accordion> */}
</Stack>
</Box>
);
Expand Down

0 comments on commit 0a70d2e

Please sign in to comment.