Skip to content

Commit d2e5613

Browse files
committed
React page finished
1 parent 7a37dec commit d2e5613

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

src/components/contactForm.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react"
2-
import { Flex, Box, InputText, InputButton } from "bricks"
2+
import { Flex, Box, InputText, OutlinedButton } from "bricks"
33

44
const ContactForm = ({ referrer }) => {
55
return (
@@ -19,6 +19,9 @@ const ContactForm = ({ referrer }) => {
1919
required
2020
as="textarea"
2121
name="msg"
22+
backgroundColor="black.4"
23+
borderWidth={0}
24+
borderRadius={3}
2225
placeholder="💬 Tell us about your idea"
2326
/>
2427
</Box>
@@ -28,11 +31,16 @@ const ContactForm = ({ referrer }) => {
2831
name="email"
2932
type="email"
3033
required
34+
backgroundColor="black.4"
35+
borderWidth={0}
36+
borderRadius={3}
3137
placeholder="@ Email address"
3238
/>
3339
</Box>
3440
<Box width={[1, 1 / 3]} mt={1}>
35-
<InputButton />
41+
<OutlinedButton borderRadius={3}>
42+
Submit
43+
</OutlinedButton>
3644
</Box>
3745
</Flex>
3846
</form>

src/components/contactUsButton.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { InputButton } from "bricks"
55

66
const ContactUsButton = ({ text }) => (
77
<InputButton
8+
borderRadius={3}
89
value={text}
910
onClick={() => navigate("/contact")}
1011
/>

src/templates/layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const Footer = ({ images }) => (
9090
<input type="hidden" name="u" value="42069ce8928af0d4afc3fd428" />
9191
<input type="hidden" name="id" value="a540ccf305" />
9292
<InputText name="MERGE0" type="email" placeholder="Email address" />
93-
<InputButton value="Subscribe" name="subscribe" />
93+
<InputButton value="Subscribe" name="subscribe" px={2} />
9494
</form>
9595
</Box>
9696
</Box>

src/theme.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const fonts = {
1818
bold: 'TiemposBold',
1919
italic: 'TiemposItalic'
2020
}
21+
const radii = [0, 1, 2, 4, 8, 16];
2122
const lineHeights = [
2223
0.5 * baseLineHeight + 'rem',
2324
1 * baseLineHeight + 'rem',
@@ -30,7 +31,7 @@ const space = [0,...lineHeights];
3031

3132
const colors = {
3233
tint: '#F8F4F2',
33-
black: ['#0F0F0F','#333333', '#666666', '#999999'],
34+
black: ['#0F0F0F','#333333', '#666666', '#999999', '#E0E0E0'],
3435
}
3536
colors.primary = colors.black[1]
3637
colors.secondary = colors.tint
@@ -125,6 +126,7 @@ const theme = {
125126
breakpoints,
126127
space,
127128
fontSizes,
129+
radii,
128130
lineHeights,
129131
maxContainerWidth,
130132
fonts,

0 commit comments

Comments
 (0)