Skip to content

Commit 7111d3b

Browse files
committed
Update contactus page, fix resonsive css
Signed-off-by: csemohin <[email protected]>
1 parent be39913 commit 7111d3b

File tree

4 files changed

+834
-20
lines changed

4 files changed

+834
-20
lines changed

layouts/_default/contact_us_update.html

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@
3333
<div id="myNavbar" class="navbar-menu">
3434
<div class="navbar-end">
3535
<div class="navbar-start">
36-
<a class="navbar-item"> About </a>
36+
<a href="https://appscode.com/" target="_blank" class="navbar-item">
37+
About
38+
</a>
3739

38-
<a class="navbar-item"> Service </a>
40+
<a href="https://appscode.com/support/" target="_blank" class="navbar-item">
41+
Service
42+
</a>
3943
</div>
4044
<div class="navbar-item p-0">
4145
<div class="buttons">
42-
<a class="button is-primary">
46+
<a href="https://appscode.com/contact/" class="button is-primary">
4347
<strong>Contact us</strong>
4448
</a>
4549
</div>
@@ -142,7 +146,9 @@ <h3>Contact us</h3>
142146
<!-- single input field start -->
143147
<div class="single-input-form is-fullwidth">
144148
<label for="message">Message<span class="is-require">*</span></label>
145-
<textarea name="" id="message" placeholder="How can we help you with your Kubernetes journey?"></textarea>
149+
<div class="textarea-wrapper">
150+
<textarea name="" id="message" placeholder="How can we help you with your Kubernetes journey?"></textarea>
151+
</div>
146152
</div>
147153
<!-- single input field end -->
148154

@@ -159,8 +165,8 @@ <h3>Contact us</h3>
159165
<p>© 2021 AppsCode Inc. All rights reserved.</p>
160166
</div>
161167
<div class="footer-right">
162-
<a href="#">Privacy Policy</a>
163-
<a href="#">Terms of Service</a>
168+
<a href="https://appscode.com/legal/privacy-policy/">Privacy Policy</a>
169+
<a href="https://appscode.com/legal/tos/">Terms of Service</a>
164170
</div>
165171
</div>
166172
</div>
@@ -171,5 +177,30 @@ <h3>Contact us</h3>
171177
<!-- body-content end -->
172178
</section>
173179
</body>
174-
175-
</html>
180+
<script>
181+
document.addEventListener("DOMContentLoaded", () => {
182+
// Get all "navbar-burger" elements
183+
const $navbarBurgers = Array.prototype.slice.call(
184+
document.querySelectorAll(".navbar-burger"),
185+
0
186+
);
187+
188+
// Check if there are any navbar burgers
189+
if ($navbarBurgers.length > 0) {
190+
// Add a click event on each of them
191+
$navbarBurgers.forEach((el) => {
192+
el.addEventListener("click", () => {
193+
// Get the target from the "data-target" attribute
194+
const target = el.dataset.target;
195+
const $target = document.getElementById(target);
196+
197+
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
198+
el.classList.toggle("is-active");
199+
$target.classList.toggle("is-active");
200+
});
201+
});
202+
}
203+
});
204+
</script>
205+
206+
</html>

0 commit comments

Comments
 (0)