Skip to content

Commit

Permalink
feat(about): Add hero image
Browse files Browse the repository at this point in the history
Relates #100
  • Loading branch information
Ivo-Evans committed Sep 2, 2020
1 parent f72b9a0 commit 673c563
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/pages/about-us.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
import React from 'react';
import { PageProps } from 'gatsby';
import styled from 'styled-components';

import styles from '../styles';
import PageBackground from '../components/layouts/PageBackground';
import contactusbg from '../assets/pagebackgrounds/contactusbg.svg';

import Copy from '../components/About/Copy/Copy';
import Partners from '../components/About/Partners/Partners';
import ContactUs from '../components/Contact/Contact';

const Title = styled.h1`
font-size: ${styles.font[4]};
`;

const AboutUs: React.FC<PageProps> = () => {
return (
<main className="mt-5">
<Title>About</Title>
<PageBackground text="Who are we?" imgsrc={contactusbg} />
<Copy />
<Partners />
<ContactUs />
Expand Down

0 comments on commit 673c563

Please sign in to comment.