src/pages/Collaborate/index.js
/* eslint-disable max-lines-per-function */
import React from 'react';
import Box from '@material-ui/core/Box';
import Grid from '@material-ui/core/Grid';
import Container from '@material-ui/core/Container';
import Link from '../../components/common/Link';
import BottomCallToAction from '../../components/BottomCallToAction';
import { GenericHeaderSection } from '../../components/';
import LeftTextRightImage from './LeftTextRightImage';
import RightTextLeftImage from './RightTextLeftImage';
import { Typography } from '@material-ui/core';
const Collaborate = () => {
const breadCrumbLinks = [
{ name: 'Home', href: '/home' },
{ name: 'Collaborate with Us', href: '/radical-collaboration/collaborate' },
];
return (
<Box className='pageContainer'>
<Box className='boxBackground'>
<Container className='containerDefault'>
<GenericHeaderSection
mainTitle='Your help goes a long way'
breadCrumbLinks={breadCrumbLinks}
>
<Typography className='genSubheadTypo'>
We would love to hear your thoughts or feedback on how we can
improve your experience with the Civic Tech Index!
</Typography>
</GenericHeaderSection>
</Container>
</Box>
<Box className='containerGray'>
<Container>
<Grid container xs={12}>
<LeftTextRightImage
mainHeading='Donate'
subHeading='Every gift helps us continue our work.'
description='Your tax-deductible gift today will help make more open-source solutions easily available for the
communities who need it the most. Thank You'
hasExternalNav={false}
buttonHref='/donate'
buttonText='Make a Donation'
imageSrc='/images/Donate-to-Us.png'
/>
<RightTextLeftImage
imageSrc='/images/Evangelize-Us.png'
mainHeading='Share the CTI'
subHeading='Love the Index? Be an evangelist!'
description='Help others and their communities discover, share and benefit from contributed projects on the index.'
hasExternalNav={false}
buttonHref='/radical-collaboration/share'
buttonText='Share the Civic Tech Index'
/>
<LeftTextRightImage
label='Read instructions on how to join Hack for LA'
mainHeading='Volunteer With Us'
subHeading='Help us improve the Civic Tech Index.'
title='Read instructions on how to join Hack for LA'
description='If you would like to volunteer for our organization, please follow the button link below for details.'
hasExternalNav={true}
buttonHref='https://www.hackforla.org/join'
buttonText='Become a Volunteer'
imageSrc='/images/Volunteer-With-Us.png'
/>
<RightTextLeftImage
imageSrc='/images/FAQ.png'
mainHeading='Need Help?'
subHeading="Can't find the answer youre looking for?"
description={[
`We've shared some of our most frequently asked questions to help you out! View our `,
<Link key='faq' to='/faq'>
FAQ
</Link>,
' to find answers or ',
<Link key='contact' to='/contact'>
contact us.
</Link>,
]}
hasExternalNav={false}
buttonHref='/faq'
buttonText='View the FAQ'
/>
</Grid>
</Container>
</Box>
<Box className='containerWhite'>
<Container>
<BottomCallToAction
heading='Want to support in other ways?'
buttonHref='/contact'
/>
</Container>
</Box>
</Box>
);
};
export default Collaborate;