Skip to content

Commit 1a69279

Browse files
committed
Added 'contact' segment
1 parent ec72328 commit 1a69279

File tree

6 files changed

+47
-7
lines changed

6 files changed

+47
-7
lines changed

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ header-tagline: Advancing Science through Multi‑Disciplinary AI
7272
# IMPORTANT: you can modify contact form from this static template, but now works contact form works with a free external server
7373
# To configure this contact form, first please send a fictive email afeter you enter below your email and verify that :)
7474
#
75-
75+
7676

7777
# # Offer Banner Link
7878
# # Default link is a link to all Sera OnePage products
@@ -576,7 +576,7 @@ roles:
576576
############ Contact ############
577577
#####################################
578578
contact-title: Contact Us
579-
contact-description: Let's pioneer the future of science together. Contact us to join the conversation.
579+
contact-description: Need more information? Get in touch.
580580

581581
#####################################
582582
############# Footer ############

_includes/header-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<li><a href="{{ site.baseurl }}/#team">Team</a></li>
4040
<li><a href="{{ site.baseurl }}/#careers">Careers</a></li>
4141
<!-- <li><a href="{{ site.baseurl }}#prices">Prices</a></li> -->
42-
<!-- <li><a href="{{ site.baseurl }}#contact">Contact</a></li> -->
42+
<li><a href="{{ site.baseurl }}#contact">Contact</a></li>
4343
</ul>
4444
</nav>
4545
</div>

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
<li><a href="#blog">News</a></li>
4343
<li><a href="#team">Team</a></li>
4444
<li><a href="#careers">Careers</a></li>
45+
<li><a href="#contact">Contact</a></li>
4546
<!-- <li><a href="#prices">Prices</a></li> -->
46-
<!-- <li><a href="#contact">Contact</a></li> -->
4747
</ul>
4848
</nav>
4949

_includes/sections/contact.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@ <h2>{{ site.contact-title }}</h2>
1818
</header>
1919

2020
<!-- Section Content -->
21-
<div class="col-md-8 col-md-push-2 col-sm-12 section-content">
21+
<div class="col-md-8 col-md-push-2 col-sm-12 contact-description">
2222
<p>{{ site.contact-description }}</p>
23+
<a href="mailto:{{ site.email }}" target="_blank" class="contact-button">{{site.email}}</a>
2324
</div>
2425

2526
</div>
2627

2728
<!-- Form Container -->
29+
<!--
2830
<div class="row form-container">
2931
30-
<!-- Contact Form -->
32+
<!-- Contact Form
3133
<div class="col-md-8 col-md-push-2">
3234
<form id="sera-contact-form" action="https://formspree.io/{{ site.email }}" method="POST"
3335
class="contact-form container-fluid">
@@ -52,7 +54,7 @@ <h2>{{ site.contact-title }}</h2>
5254
</form>
5355
</div>
5456
55-
</div>
57+
</div> -->
5658

5759
</div>
5860
</section>

_scss/layout/_contact.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,42 @@ section.contact-section {
2323
}
2424
}
2525

26+
.contact-description {
27+
p {
28+
font-size: 1.5rem;
29+
font-weight: 500;
30+
color: $white;
31+
margin-bottom: 1.5rem;
32+
}
33+
}
34+
35+
.contact-button,
36+
button {
37+
display: inline-block;
38+
width: auto;
39+
max-width: 100%;
40+
color: $white;
41+
border: 2px solid $primary;
42+
padding: 0.8em 2em;
43+
cursor: pointer;
44+
font-size: 1rem;
45+
font-weight: 500;
46+
text-align: center;
47+
48+
&.button-focus {
49+
color: $white;
50+
background-color: $primary;
51+
}
52+
53+
&:hover,
54+
&:active {
55+
color: $white;
56+
border-color: lighten($primary, 20%);
57+
background-color: lighten($primary, 20%);
58+
}
59+
60+
}
61+
2662
// Form Container
2763
.form-container {
2864
margin-top: 80px;

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@
1717

1818
{% include sections/careers.html %}
1919

20+
{% include sections/contact.html %}
21+
2022
<!-- include sections/contact.html -->

0 commit comments

Comments
 (0)