Skip to content

Commit ac7ede4

Browse files
committed
Fixed the design of newsletter form
1 parent 8697d9b commit ac7ede4

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

src/templates/layout.js

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,24 @@ const Footer = ({ images }) => (
8989
>
9090
<input type="hidden" name="u" value="42069ce8928af0d4afc3fd428" />
9191
<input type="hidden" name="id" value="a540ccf305" />
92-
<InputText name="MERGE0" type="email" placeholder="Email address" />
93-
<InputButton value="Subscribe" name="subscribe" px={2} />
92+
<InputText
93+
name="MERGE0"
94+
type="email"
95+
placeholder="Email address"
96+
backgroundColor="black.4"
97+
borderWidth={0}
98+
borderRadius={[3, "4px 0 0 4px"]}
99+
placeholder="@ Email address"
100+
width={[1, 'auto']}
101+
/>
102+
<InputButton
103+
value="Subscribe"
104+
name="subscribe"
105+
px={2}
106+
py="10px"
107+
mt={1}
108+
borderRadius={[3, "0 4px 4px 0"]}
109+
/>
94110
</form>
95111
</Box>
96112
</Box>

0 commit comments

Comments
 (0)