From e1adea64af7ddde59f5da62a4090c8266c223de2 Mon Sep 17 00:00:00 2001 From: desmukh Date: Sun, 8 Jan 2023 01:15:25 +0500 Subject: [PATCH] create h2-separator component --- src/components/heading-separators.js | 23 ++++++++++++++++++++++- src/pages/index.js | 6 ++---- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/components/heading-separators.js b/src/components/heading-separators.js index 202dc07..f3e39e1 100644 --- a/src/components/heading-separators.js +++ b/src/components/heading-separators.js @@ -39,4 +39,25 @@ export const H1Separator = ({ title, component }) => { ) -} \ No newline at end of file +} + +export const H2Separator = ({ title1, title2, component }) => ( + + + {title1}{" "} + + {title2} + + + + + + + + + +) \ No newline at end of file diff --git a/src/pages/index.js b/src/pages/index.js index 102a276..85e15bf 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -6,7 +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 { H1Separator } from "../components/heading-separators" +import { H1Separator, H2Separator } from "../components/heading-separators" const serviceMenu = [ { label: "Support", path: "/" }, @@ -65,9 +65,7 @@ const BlogIndex = ({ data, location }) => { ))} - - Interested? Work with us - + We build technologies and infrastructure to empower users to make a positive impact on the world. All of our services reflect our commitment