Skip to content

Commit

Permalink
feat(join-us): add sign up button for membership
Browse files Browse the repository at this point in the history
Changes include various styling for the new button and reorgnization of
current tabs.
  • Loading branch information
jhtrinh committed Dec 28, 2024
1 parent ce8fcd9 commit 5a8424f
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 12 deletions.
20 changes: 11 additions & 9 deletions _data/nav.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# header links
header:
- title: "Our Work"
url: "/our-work/"
description: "Link to Southern New Hampshire's Work"
subpages:
- title: "Working Groups"
url: "/working-groups/"
- title: "About Us"
description: "About how we work and what we believe"
subpages:
- title: "Our Work"
url: "/our-work/"
description: "Link to Southern New Hampshire's Work"
- title: "Working Groups"
url: "/working-groups/"
- title: "Statements"
url: "/blog/"
description: "Link to Southern New Hampshire's Chapter Statements"
- title: "Get Involved"
url: "/get-involved/"
description: "Check out what Southern New Hampshire DSA is working on. Join DSA!"
- title: "Events Calendar"
url: "/calendar/"
description: "Chapter Events Calendar"
- title: "Get Involved"
url: "/get-involved/"
description: "How to get involved with our chapter"

join:
title: "JOIN US"
url: "https://act.dsausa.org/donate/membership/"
description: "Check out what Southern New Hampshire DSA is working on. Join DSA!"

# footer links
footer:
Expand Down
3 changes: 3 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
</li>
{%- endif -%}
{%- endfor -%}
<li class="nav-item">
<a class="btn-join" href="{{ site.data.nav.join.url }}" target="_blank" title="{{ site.data.nav.join.title }}">{{ site.data.nav.join.title }}</a>
</li>
</ul>
{% if site.search == true %}
{%- include search-providers/search_form.html -%}
Expand Down
4 changes: 4 additions & 0 deletions _sass/bootswatch/dist/united/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ $font-family-sans-serif: "Ubuntu", -apple-system, BlinkMacSystemFont, "Sego

$table-dark-bg: $dark !default;
$table-dark-border-color: darken($dark, 5%) !default;


// navigation bar colors
$navbar-dark-color: white;
28 changes: 25 additions & 3 deletions _sass/dsa/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
color: white;
font-size: var(--size-xs);

&:hover{
&:hover{
background: var(--red-tint-1);
}
}

.btn-secondary {
color: var(--red);
font-size: var(--size-xs);
font-weight: bolder;
font-weight: 600;
border: 1px solid transparent;
background: transparent !important;

Expand All @@ -20,4 +20,26 @@
color: var(--red) !important;
background: transparent !important;
}
}
}

.nav-item .btn-join {
background-color: var(--white);
border-radius: 8px;
color: black;
display: block;
font-family: Ubuntu Condensed, sans-serif;
font-size: var(--size-sm);
font-weight: 800;
padding: .25rem .5rem;
}

.navbar-nav {
color: white;
display: flex;
align-items: center;
}

.nav-item {
display: flex;
align-items: center;
}

0 comments on commit 5a8424f

Please sign in to comment.