({ height: theme.spacing(3) })} />
+
+
+
+
+
+
);
};
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 7f345ae2..98eaa3f6 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,10 +1,10 @@
-import { Divider } from "@mui/material";
import Container from "@mui/material/Container";
import { graphql } from "gatsby";
import type { IndexPageQuery } from "@/generated/graphqlTypes";
import type { PageProps, HeadFC } from "gatsby";
+import { Spacer } from "@/components/Spacer";
import { SITE_METADATA } from "@/constants/SITE_METADATA";
import { BioCardList } from "@/features/Bio";
import { TimelineList } from "@/features/Timeline";
@@ -22,45 +22,19 @@ export const query = graphql`
export const Head: HeadFC
= ({ location, data }) => {
const title = SITE_METADATA.title;
-
- return (
-
- );
-};
-
-const IndexPage = ({
- data,
- location,
-}: PageProps): JSX.Element => {
- const timelineGroups = data.timelineGroups;
- const timelineItems = timelineGroups.group.flatMap(({ nodes }) => nodes);
- const path = location.pathname;
+ const timelineItems = data.timelineGroups.group.flatMap(({ nodes }) => nodes);
const buildTime = useBuildTime();
return (
<>
- ({
- marginTop: theme.spacing(4),
- marginBottom: theme.spacing(4),
- })}
- >
-
- ({ margin: theme.spacing(6, 0) })} />
-
- ({ height: theme.spacing(3) })} />
-
-
-
+