Skip to content

Commit

Permalink
Merge pull request #107 from akashc777/enhancement/mailing-list_section
Browse files Browse the repository at this point in the history
added mailing list
  • Loading branch information
vinayaksh42 authored May 17, 2021
2 parents d4c6596 + ba5ce37 commit dce653f
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 1 deletion.
20 changes: 20 additions & 0 deletions docs/_includes/mailing-list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<section class="mailing-section">

<div class="mailinglist-main">
<div class="mailinglist-text">
<span>Mailing Lists</span>
<p>Engage in the GetNightHawk project. Join any of the mailing lists.</p>
</div>


<div class="mailinglist-buttons">
<a class="mailinglist-join-button" href="https://groups.google.com/a/getnighthawk.dev/g/maintainers" target="_blank">Maintainers</a>
<a class="mailinglist-join-button" href="https://groups.google.com/a/getnighthawk.dev/g/developers" target="_blank">Developers</a>
<a class="mailinglist-join-button" href="https://groups.google.com/a/getnighthawk.dev/g/users" target="_blank">Users</a>
</div>

</div>



</section>
64 changes: 64 additions & 0 deletions docs/_sass/mailing-list.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
.mailing-section {
background: #1e2117;
color: white;
padding: 162px 0;
@media #{$mobile} {
padding: 87px 0;
}

a,
a:hover,
a:focus,
a:active {
text-decoration: none;
color: inherit;
}

.mailinglist-main {
position: relative;
display: flex;
flex-direction: column;
align-items: center;

.mailinglist-text {
margin-bottom: 40px;
display: block;
span {
font-size: 34px;
}

p {
max-width: 375px;
margin: 0 3rem;
color: white;
font-size: 20px;
}
}

.mailinglist-buttons {
display: inline-flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;

.mailinglist-join-button {
display: flex;
justify-content: center;
align-items: center;
background: #647881;
width: 253px;
height: 56px;
border-radius: 5px;
margin: 2rem 0 0;
}

.mailinglist-join-button:not(:first-child) {
margin-left: 1rem;
@media #{$mobile} {
margin-left: 0;

}
}
}
}
}
3 changes: 2 additions & 1 deletion docs/assets/css/main.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
---

@import "variables.scss";
@import "getnighthawk.scss";
@import "faq.scss";
@import "getnighthawk-purpose.scss";
@import "explain.scss";
@import "about.scss";
@import "mailing-list.scss";
2 changes: 2 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,5 @@ <h1 class="desc-h1">Easing Management of <br/>the Nighthawk<br/>Lifecycle</h1><b
{% include stewarded.html %}

{% include organized.html %}

{% include mailing-list.html %}

0 comments on commit dce653f

Please sign in to comment.