src/pages/WhatIsCTI/index.js
import React from 'react';
import Box from '@material-ui/core/Box';
import Container from '@material-ui/core/Container';
import Typography from '@material-ui/core/Typography';
import {
GetStartedCard,
PictureCard,
GenericHeaderSection,
} from '../../components';
import useStyles from './styles';
import Grid from '@material-ui/core/Grid';
const WhatIsCTI = () => {
const breadCrumbLinks = [
{ name: 'Home', href: '/home' },
{ name: 'What is CTI?', href: '/about/what-is-cti' },
];
const classes = useStyles();
const srcUrl =
'https://docs.google.com/presentation/d/e/2PACX-1vR7tcbGnftrvXyCPzQW9wIo4fstOf1YFhSbP_VP2E7XXKrk9qCdy7Qq5pYnrA0yudpmH2PS3R8s_oTM/embed?start=false&loop=false&delayms=3000';
const pictureMarketingPoints = [
{
src: '/images/girlCoding.png',
alt: 'girl coding on her computer',
children: 'No coding experience needed to submit your project!',
},
{
src: '/images/groupCoding.png',
alt: 'group coding',
children:
'Make your project more visible with GitHub’s open-source communities',
},
{
src: '/images/girlandguyCoding.png',
alt: 'girl and guy coding',
children: 'The Index is owned by all who contribute to it',
},
];
return (
<Box className='containerTeal'>
<Box className='boxBackround'>
<Container className='containerDefault'>
<GenericHeaderSection
mainTitle='A movement to index every open source civic tech project on GitHub'
breadCrumbLinks={breadCrumbLinks}
>
<Grid container className={classes.movieGrid}>
<iframe
className={classes.frameStyle}
justify='center'
title='Overview of CTI'
frameBorder='0'
src={srcUrl}
scrolling='no'
allowFullScreen='true'
mozallowfullscreen='true'
webkitallowfullscreen='true'
></iframe>
</Grid>
<Typography className='genSubheadTypo'>
With your help, we can create a continuously updated repository
for all civic tech enthusiasts to find open source projects to
model, connect with, and learn from.
</Typography>
</GenericHeaderSection>
</Container>
</Box>
<PictureCard
items={pictureMarketingPoints}
style={{ padding: '0 115px' }}
/>
<GetStartedCard
headerTitle='Ready to get started?'
buttonText='Add Your Project'
buttonHref='/join-index/tag-generator-wizard'
/>
</Box>
);
};
export default WhatIsCTI;