Skip to content

Commit fa7f5b0

Browse files
committed
Merge branch 'master' into nh-hackday-event
2 parents 0d8891c + 026c6aa commit fa7f5b0

File tree

3 files changed

+64
-17
lines changed

3 files changed

+64
-17
lines changed

_layouts/contact.html

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,36 @@
1212
<header class="tab-head-container grid">
1313
<nav class="location-tab-head tab-head">
1414
<button id="london-btn" data-tab-id="london" class="tab-head-item active">London</button>
15-
<!--<button id="sofia-btn" data-tab-id="sofia" class="tab-head-item">Sofia</button>-->
1615
</nav>
1716
</header>
1817

1918
<ul id="london" class="contact-tab-content tab-content grid active">
2019
<li class="contact-item contact-item-address col-1-2">
2120
<a href="https://www.google.co.uk/maps/place/pebble+%7Bcode%7D/@51.485665,-0.118521,15z/data=!4m5!3m4!1s0x0:0xb39ad30b38f1e82a!8m2!3d51.485665!4d-0.118521" title="View pebble {code} London office on Google Maps" target="_blank">W214 Westminster Business Square<br> Durham Street<br> London<br> SE11 5JH</a>
22-
</li>
23-
<li class="contact-col-item col-1-2">
21+
2422
<div class="contact-item contact-item-phone">
2523
<a href="tel:+442033273940">+44 (0) 20 3327 3940</a>
2624
</div>
2725
<div class="contact-item contact-item-email">
2826
<a href="mailto:hello@pebblecode.com">hello@pebblecode.com</a>
2927
</div>
3028
</li>
31-
</ul>
32-
<!-- /#london -->
33-
<!--
34-
<ul id="sofia" class="contact-tab-content tab-content grid">
35-
<li class="contact-col-item col-1-2">
36-
<div class="contact-item contact-item-address">
37-
<a href="https://www.google.co.uk/maps/place/bul.+%22Dragan+Tsankov%22+23,+1113+Sofia,+Bulgaria/@42.6701107,23.3499172,17z/data=!3m1!4b1!4m5!3m4!1s0x40aa85cbd9fbd99d:0xe3792fa924fcd7d3!8m2!3d42.6701107!4d23.3521059" title="View pebble {code} Sofia office on Google Maps" target="_blank">TechHuddle<br> Business Center Tetrix<br> 23A Dragan Tsankov Blvd.<br> Sofia 1113<br> Bulgaria</a>
38-
</div>
39-
</li>
4029
<li class="contact-col-item col-1-2">
41-
<div class="contact-item contact-item-email">
42-
<a href="mailto:hello@pebblecode.com">hello@pebblecode.com</a>
43-
</div>
30+
31+
<!--[if lte IE 8]>
32+
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
33+
<![endif]-->
34+
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
35+
<script>
36+
hbspt.forms.create({
37+
css: '',
38+
portalId: '2277134',
39+
formId: 'cc06259d-3ffc-4f5c-a0a7-ebf9f87f3dad'
40+
});
41+
</script>
42+
4443
</li>
4544
</ul>
46-
-->
47-
<!-- /#sofia -->
4845
</section>
4946

5047
<!--[if gt IE 8]><!-->

_sass/components/_hs-components.scss

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//===============================================================================
2+
// HUBSPOT COMPONENTS
3+
//===============================================================================
4+
.contact .hbspt-form {
5+
margin-top: 20px;
6+
7+
label {
8+
color: $white;
9+
font-family: $brandon;
10+
font-size: $eta;
11+
font-weight: $font-regular !important;
12+
-webkit-font-smoothing: antialiased;
13+
}
14+
15+
.hs-error-msgs {
16+
opacity: .7;
17+
}
18+
19+
.hs-form-required {
20+
color: $pink;
21+
margin-left: 2px;
22+
}
23+
24+
input[type="text"],
25+
input[type="email"],
26+
textarea {
27+
color: rgba(white, 0.9);
28+
border: 3px solid rgba(white, 0.2);
29+
background-color: transparent;
30+
padding: 8px 8px 4px 8px;
31+
width: 100%;
32+
transition: border-color .2s;
33+
border-radius: 4px;
34+
margin-bottom: 8px;
35+
36+
&:focus { border-color: rgba(white, 0.5); }
37+
}
38+
39+
input[type="submit"] {
40+
@extend .btn, .btn-light, .btn-lrg;
41+
42+
margin-top: 8px;
43+
}
44+
45+
.submitted-message {
46+
margin-top: 45px;
47+
color: $white;
48+
}
49+
}

css/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
@import "components/_share";
3333
@import "components/_related";
3434
@import "components/_media";
35+
@import "components/_hs-components";
3536

3637
@import "pages/_home";
3738
@import "pages/_contact";

0 commit comments

Comments
 (0)