Skip to content

Commit a8d5a34

Browse files
committed
Initial commit
1 parent 0b98634 commit a8d5a34

File tree

23 files changed

+237
-36
lines changed

23 files changed

+237
-36
lines changed

.env.development.template

Lines changed: 0 additions & 3 deletions
This file was deleted.
30.5 KB
Loading
98.9 KB
Loading
1.74 MB
Loading

src/components/common/Layout/fonts.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
url('./fonts/roboto-v18-latin-700.ttf') format('truetype'),
2727
url('./fonts/roboto-v18-latin-700.svg#Roboto') format('svg');
2828
}
29+
30+
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

src/components/common/Layout/styles.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ export const Global = createGlobalStyle`
207207
padding-top: 0;
208208
margin-bottom: 1.45rem;
209209
}
210+
h1, h2, h3 {
211+
font-family: 'Archivo Black', 'Roboto', Helvetica, sans-serif;
212+
}
210213
h1 {
211214
margin-left: 0;
212215
margin-right: 0;

src/components/common/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ export * from './Container';
33
export * from './Button';
44
export * from './Card';
55
export * from './Input';
6-
export * from './SEO';
6+
export * from './SEO';
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from 'react';
2+
import AnchorLink from 'react-anchor-link-smooth-scroll';
3+
import { Container, Button } from 'components/common';
4+
import dev from 'assets/illustrations/skills.svg';
5+
import { Wrapper, SkillsWrapper, Details, Thumbnail } from './styles';
6+
7+
export const About = () => (
8+
<Wrapper id="about">
9+
<SkillsWrapper as={Container}>
10+
<Details>
11+
<h1>Who We Are</h1>
12+
<p>
13+
Our mission is to harness the digital era to make government work for the people, by the people! Our focus is on making the biggest impact on the needs of our community and advocating for open government and open data.
14+
</p>
15+
{/* <Button as={AnchorLink} href="#contact">
16+
Hire me
17+
</Button> */}
18+
</Details>
19+
</SkillsWrapper>
20+
</Wrapper>
21+
);
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
import styled from 'styled-components';
2+
import detailsIllustration from 'assets/illustrations/details.svg';
3+
4+
export const Wrapper = styled.div`
5+
background-size: contain;
6+
background-position: left top;
7+
background-repeat: no-repeat;
8+
background-color: #6FACD5;
9+
`;
10+
11+
export const SkillsWrapper = styled.div`
12+
padding: 4rem 0;
13+
display: flex;
14+
align-items: center;
15+
justify-content: space-between;
16+
17+
@media (max-width: 960px) {
18+
flex-direction: column;
19+
}
20+
`;
21+
22+
export const Details = styled.div`
23+
flex: 1;
24+
text-align: center;
25+
26+
@media (max-width: 960px) {
27+
padding-left: unset;
28+
width: 100%;
29+
}
30+
31+
h1 {
32+
margin-bottom: 2rem;
33+
font-size: 35pt;
34+
color: white;
35+
}
36+
37+
p {
38+
margin-bottom: 2.5rem;
39+
font-size: 20pt;
40+
font-weight: normal;
41+
line-height: 1.3;
42+
color: white;
43+
}
44+
`;
45+
46+
export const Thumbnail = styled.div`
47+
flex: 1;
48+
49+
@media (max-width: 960px) {
50+
width: 100%;
51+
margin-bottom: 2rem;
52+
}
53+
54+
img {
55+
width: 100%;
56+
}
57+
`;

src/components/landing/Contact/ContactForm/index.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import axios from 'axios';
33
import { Formik, Form, FastField, ErrorMessage } from 'formik';
4-
import Recaptcha from 'react-google-recaptcha';
4+
// import Recaptcha from 'react-google-recaptcha';
55
import * as Yup from 'yup';
66
import { Button, Input } from 'components/common';
77
import { Error, Center, InputField } from './styles';
@@ -21,7 +21,7 @@ export default () => (
2121
.email('Invalid email')
2222
.required('Email field is required'),
2323
message: Yup.string().required('Message field is required'),
24-
recaptcha: Yup.string().required('Robots are not welcome yet!'),
24+
// recaptcha: Yup.string().required('Robots are not welcome yet!'),
2525
})}
2626
onSubmit={async ({ name, email, message }, { setSubmitting, resetForm, setFieldValue }) => {
2727
try {
@@ -88,7 +88,7 @@ export default () => (
8888
/>
8989
<ErrorMessage component={Error} name="message" />
9090
</InputField>
91-
{values.name && values.email && values.message && (
91+
{/* {values.name && values.email && values.message && (
9292
<InputField>
9393
<FastField
9494
component={Recaptcha}
@@ -98,7 +98,7 @@ export default () => (
9898
/>
9999
<ErrorMessage component={Error} name="recaptcha" />
100100
</InputField>
101-
)}
101+
)} */}
102102
{values.success && (
103103
<InputField>
104104
<Center>

0 commit comments

Comments
 (0)