Styling Contact Page

This commit is contained in:
2018-06-28 05:23:23 +10:00
parent 6a38c234b5
commit 3dc7f73b2a
2 changed files with 49 additions and 36 deletions

View File

@ -27,6 +27,8 @@ import Page, { PageBoundary } from './../Page';
import Input, { Form, InputGroup, TextArea, Label, ButtonGroup } from './../../input/Input'; import Input, { Form, InputGroup, TextArea, Label, ButtonGroup } from './../../input/Input';
import Language from './../../language/Language'; import Language from './../../language/Language';
import ElementScrollFader from './../../animation/fade/ElementScrollFader'; import ElementScrollFader from './../../animation/fade/ElementScrollFader';
import ContentBox from './../../content/ContentBox';
import { Title, Paragraph } from './../../typography/Typography'
import Section, { import Section, {
BodySection, BodySection,
ClearSection, ClearSection,
@ -46,9 +48,22 @@ class ContactPage extends React.Component {
<ClearSection /> <ClearSection />
<PageBoundary small> <PageBoundary small>
<SplitSection>
<Split> <ElementScrollFader from="left">
<ElementScrollFader> <ContentBox box className="u-text-center">
<Title>Contact Me</Title>
<Paragraph>
Want to get in touch with me? Fill out this easy form and I should be
in touch shortly to chat! More of a phone person? Leave a number
and we can chat.
</Paragraph>
</ContentBox>
</ElementScrollFader>
<br />
<br />
<ElementScrollFader from="right">
<BodySection> <BodySection>
<Form> <Form>
<InputGroup> <InputGroup>
@ -83,9 +98,6 @@ class ContactPage extends React.Component {
</Form> </Form>
</BodySection> </BodySection>
</ElementScrollFader> </ElementScrollFader>
</Split>
</SplitSection>
</PageBoundary> </PageBoundary>
<ClearSection /> <ClearSection />

View File

@ -10,6 +10,7 @@
.p-contact-page { .p-contact-page {
background-color: #37085E; background-color: #37085E;
background-image: url('./../images/patterns/arcade.svg'); background-image: url('./../images/patterns/arcade.svg');
background-size: 150% auto;
&__message-element { &__message-element {
resize: none; resize: none;