Skip to content

Commit a152534

Browse files
Maria Rita Iglesiasmalfet
Maria Rita Iglesias
authored andcommitted
Form updates
1 parent 4b127db commit a152534

File tree

2 files changed

+49
-16
lines changed

2 files changed

+49
-16
lines changed

_sass/announcement.scss

+43-9
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
top: $mobile_header_height + 40px;
44
display: grid;
55
height: 100%;
6-
grid-template-rows: 2;
76
position: relative;
87

98
@include desktop {
10-
top: $mobile_header_height + 88px;
9+
top: $mobile_header_height + 60px;
1110
grid-template-columns: repeat(2, 1fr);
1211
column-gap: 30px;
1312
}
@@ -21,7 +20,7 @@
2120
}
2221
p.lead {
2322
margin-bottom: rem(25px);
24-
padding-top: rem(50px);
23+
padding-top: rem(30px);
2524
color: $white;
2625
width: 100%;
2726
}
@@ -34,13 +33,17 @@
3433
background-repeat: no-repeat;
3534
background-position: center;
3635
background-size: cover;
36+
@include desktop {
37+
height: 100%;
38+
}
3739
}
3840

3941
}
4042

4143
.main-content {
4244
padding-bottom: 0;
4345
}
46+
4447
.navbar-nav .nav-link {
4548
color: $black;
4649
}
@@ -50,13 +53,16 @@
5053
}
5154

5255
.main-background {
53-
height: 580px
56+
height: 600px
5457
}
5558
}
5659

5760
.announcement .main-content-wrapper {
5861
margin-bottom: 5rem;
59-
margin-top: 290px;
62+
margin-top: 190px;
63+
@include desktop {
64+
margin-top: 290px;
65+
}
6066
}
6167

6268
.announcement .card-container {
@@ -133,16 +139,44 @@
133139
}
134140

135141
.announcement .contact-us-section {
142+
padding: 20px 0;
136143
.row {
137144
justify-content: center;
138145

139146
.hbspt-form {
140-
fieldset {
141-
max-width: 100%;
142-
width: 100%;
147+
padding: 20px 0;
148+
149+
.hs-button {
150+
background-image: url($baseurl + "/assets/images/chevron-right-orange.svg");
151+
background-size: 6px 13px;
152+
background-position: top 9px right 11px;
153+
background-repeat: no-repeat;
154+
border-radius: 0;
155+
border: none;
156+
background-color: $light_grey;
157+
color: $quick_start_grey;
158+
font-weight: 400;
159+
position: relative;
160+
letter-spacing: 0.25px;
161+
padding: rem(2px) rem(32px) rem(2px) rem(12px);
162+
margin: 10px 0;
143163
}
144-
.hs-input {
164+
165+
fieldset.form-columns-2, fieldset.form-columns-1 {
145166
max-width: 100%;
167+
.hs-form-field {
168+
max-width: 100%;
169+
padding: 10px 0;
170+
width: 100%;
171+
input {
172+
border: none;
173+
width: 100%;
174+
}
175+
textarea {
176+
border: none;
177+
width: 100%;
178+
}
179+
}
146180
}
147181
}
148182
}

announcement.html

+6-7
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,14 @@ <h1>Lorem ipsum dolor sit amet</h1>
9595
<div class="container-fluid contact-us-section">
9696
<div class="container">
9797
<div class="row">
98-
<div class="col-md-8">
98+
<div class="col-md-12">
9999
<h1>Lorem ipsum dolor sit amet</h1>
100-
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
100+
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js?pre=1"></script>
101101
<script>
102-
hbspt.forms.create({
103-
region: "na1",
104-
portalId: "8112310",
105-
formId: "754c22e6-e81c-4fbf-a4b8-ec88ef75ace3"
106-
});
102+
hbspt.forms.create({
103+
region: "na1",
104+
portalId: "8112310", formId: "dd2c7e7e-bca1-4b41-b80e-9bfd5f3ca49a"
105+
});
107106
</script>
108107
</div>
109108
</div>

0 commit comments

Comments
 (0)