Skip to content

Commit

Permalink
Standardize Events Page - Update header section (#1213)
Browse files Browse the repository at this point in the history
* Standardize Events Page - Update header section

* Updated donation gif on Join Us page
  • Loading branch information
kevinreber authored Mar 22, 2021
1 parent eecc7b3 commit 07d9984
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
19 changes: 12 additions & 7 deletions _sass/components/_events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,24 @@
}
}

.hacknights--header-container {
padding: 6rem 6rem 5rem 8rem;
.header-container--events {
padding: .2rem 4rem 5.5rem 4rem;
}

.hacknights--head-content {
.events--head-content {
margin: 2% 0 0% 4%;
text-align: initial;
}

.header-text-margin--events{
max-width: 520px;
margin: 0;
}

.header-desc {
text-align: initial;
font-weight: 530;
font-size: 25px;
line-height: 29px;
font-size: 1.125rem;
margin: 2% 0 20px 5%;

@media #{$bp-below-tablet} {
Expand All @@ -44,6 +48,7 @@
flex-direction: row-reverse;
margin-left: 40px;
margin-bottom: -7%;
justify-content: center;
@media #{$bp-below-tablet} {
flex-direction: row-reverse;
flex-grow: 6;
Expand Down Expand Up @@ -493,7 +498,7 @@
/* These styles are for the mobile view of the events page */

@media #{$bp-below-desktop} {
.hacknights--header-container {
.header-container--events {
padding: 2rem 2rem 2rem 2rem;
}

Expand All @@ -515,7 +520,7 @@
}

.fullscreen-video {
width: 100%;
margin-right: 5rem;
}

.events-video-fullscreen-container {
Expand Down
Binary file removed assets/images/join-us/HfLA-Donate.gif
Binary file not shown.
2 changes: 1 addition & 1 deletion pages/events/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
permalink: /events/
---

<div class="header-container hacknights--header-container">
<div class="header-container header-container--events">
{% include_relative header-container-content.html %}
</div>

Expand Down
6 changes: 3 additions & 3 deletions pages/events/header-container-content.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1>Events</h1>
<div class="content-hack-night">
<div class="show-video">
<div>
<div class="header-text-margin--events">
<h1>Events</h1>
<h2 class="header-desc">
Hack for LA is the Los Angeles brigade of
<a href="http://brigade.codeforamerica.org/" target="_blank">Code for America</a>,
Expand All @@ -17,7 +17,7 @@ <h2 class="header-desc">
</div>
</div>

<p id="head-content" class="hacknights--head-content">
<p id="head-content" class="events--head-content">
To learn more, watch the
<a href="https://www.ted.com/talks/jennifer_pahlka_coding_a_better_government" target="_blank">Ted Talk</a>
by Code for America founder, Jennifer Pahlka, on maintaining a better government through code.
Expand Down
2 changes: 1 addition & 1 deletion pages/join-us.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h2>How to help us continue to do impactful work</h2>
<div class="join-us-donation">
<img
class="join-us-donation-png"
src="/assets/images/join-us/HfLA-Donate.gif"
src="/assets/images/about/HFLA-Donate.gif"
alt="donation form image"
/>
<div class="join-us-donation-body">
Expand Down

0 comments on commit 07d9984

Please sign in to comment.