diff --git a/src/components/h2-separator.js b/src/components/h2-separator.js new file mode 100644 index 0000000..faa3d77 --- /dev/null +++ b/src/components/h2-separator.js @@ -0,0 +1,44 @@ +import { Box, Typography } from "@mui/material" +import React from "react" + +const TerminalDiamond = ({ right }) => ( + + + +) + +const H2Separator = ({ title }) => { + + return ( + + + + + + + {title} + + + + + + + ) +} + +export default H2Separator \ No newline at end of file diff --git a/src/pages/index.js b/src/pages/index.js index 943dc84..c2369ad 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -6,6 +6,7 @@ import Layout from "../components/layout" import Seo from "../components/seo" import { Box, Button, Link, List, ListItem, ListItemButton, ListItemIcon, ListItemText, Stack, Typography } from "@mui/material" import EastIcon from '@mui/icons-material/East' +import H2Separator from "../components/h2-separator" const serviceMenu = [ { label: "Support", path: "/" }, @@ -40,13 +41,15 @@ const BlogIndex = ({ data, location }) => { return ( - - Autonomic is a co-operative that is owned and run by its workers - - What we offer + + + Autonomic is a co-operative that is owned and run by its workers + + + {serviceMenu.map(({ label, path }) => (