-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chewy Jetpack
committed
Mar 18, 2017
1 parent
15870fa
commit dbc9d2f
Showing
17 changed files
with
378 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="contact-strip"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h1 class="underline">Get in touch for a free estimate</h1> | ||
<a href="/contact" class="btn">Enquire now</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
<div class="col-md-4"> | ||
<div class="contact-info"> | ||
+44 (020) 12345678<br> | ||
[email protected] | ||
<a href="mailto:[email protected]" target="_blank">[email protected]</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ page.lang | default: site.lang | default: "en" }}"> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include header.html %} | ||
|
||
|
||
<main class="contact-content"> | ||
<div class="page-banner banner"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h1>{{ page.title }}</h1> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="content-box"> | ||
<form action="https://formspree.io/[email protected]" | ||
method="POST"> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-md-3"> | ||
<span>Name:</span> | ||
</div> | ||
<div class="col-md-9"> | ||
<input type="text" name="name"> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-3"> | ||
<span>Email:</span> | ||
</div> | ||
<div class="col-md-9"> | ||
<input type="email" name="_replyto"> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-3"> | ||
<span>Message:</span> | ||
</div> | ||
<div class="col-md-9"> | ||
<textarea name="message" id="message" cols="30" rows="10"></textarea> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-9 offset-md-3"> | ||
<button type="submit" class="btn">Send</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
<div class="col-md-6"> | ||
<div class="content-box"> | ||
{{ content }} | ||
<div class="contact-link"> | ||
+44 (020) 12345678<br> | ||
<a href="mailto:[email protected]" target="_blank">[email protected]</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
|
||
{% include footer.html %} | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
.contact-strip { | ||
padding:50px 0; | ||
color:$white; | ||
background: url('images/contact-banner.jpg') center center / cover no-repeat; | ||
text-align:center; | ||
h1.underline { | ||
&:after { | ||
left:50%; | ||
transform:translateX(-50%); | ||
} | ||
} | ||
} | ||
|
||
.contact-content { | ||
padding-bottom:100px; | ||
.page-banner { | ||
background:none; | ||
} | ||
.content-box { | ||
background:$white; | ||
padding:30px; | ||
} | ||
background: url('images/contact-bg.jpg') center center / cover no-repeat; | ||
} | ||
|
||
input, textarea { | ||
margin-bottom:15px; | ||
line-height:30px; | ||
padding:5px 10px; | ||
border:solid 1px $grey_med; | ||
border-width:1px 1px 1px 10px; | ||
transition:border-color 0.2s; | ||
font-family: Lato, sans-serif; | ||
&:focus { | ||
border-color:$electric; | ||
} | ||
} | ||
|
||
textarea { | ||
width:100%; | ||
line-height:1.5; | ||
} | ||
|
||
.contact-link { | ||
color:$brand-color; | ||
font-size:22px; | ||
font-weight:700; | ||
} | ||
|
||
|
||
|
||
@media screen and (max-width: 991px) { | ||
.contact-link { | ||
font-size:16px; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 767px) { | ||
input { | ||
width:100%; | ||
} | ||
form span { | ||
display: block; | ||
margin-bottom:10px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.