Skip to content

Commit

Permalink
Merge pull request #355 from nypublicradio/mwalsh/reorder-sections
Browse files Browse the repository at this point in the history
FE-139 Reorder centennial page
  • Loading branch information
walsh9 authored Aug 7, 2024
2 parents 4495958 + 69fa096 commit cacef0a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div class="centennial-legacy-giving centennial-module l-constrained">
<div class="centennial-legacy-giving__content">
<h2 class="centennial-legacy-giving__header">Support WNYC's Centennial!</h2>
<p>Join us as we celebrate this landmark anniversary, and help us stand strong for another 100 years. There are many ways to support WNYC and New York Public Radio:</p>
<ul class="centennial-legacy-giving__list">
<li>
Expand Down
2 changes: 1 addition & 1 deletion app/styles/centennial/_centennial-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
--centennial-header-font-family: 'Open Sans', sans-serif;
--centennial-header-font-weight: 800;
--centennial-header-line-height: 1.2;
--centennial-module-spacing: 40px;
--centennial-module-spacing: 64px;
}
.centennial-module {
margin-bottom: var(--centennial-module-spacing);
Expand Down
3 changes: 3 additions & 0 deletions app/styles/centennial/_centennial-cta-narrow.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.centennial-cta-narrow {
margin-bottom: 40px;
}
.centennial-cta-narrow__wrapper {
width: 100%;
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion app/styles/centennial/_centennial-legacy-giving.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
padding: 0;
display: flex;
column-gap: 24px;
margin-bottom: 24px;
margin-top: 24px;
}
.centennial-legacy-giving__list li > svg {
height: 50px;
Expand Down
11 changes: 5 additions & 6 deletions app/templates/centennial.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
<div class="centennial-home">
{{centennial/centennial-header}}
{{centennial/centennial-message}}
{{centennial/centennial-intro}}
{{centennial/centennial-events events=model.events}}
{{centennial/centennial-new-york-stories}}
{{centennial/centennial-cta-narrow}}
{{centennial/centennial-timeline}}
{{centennial/centennial-archives items=model.archiveItems}}
{{centennial/centennial-explore
category1Title=model.featuredCategory1.title
category1Items=model.featuredCategory1.bucketItems
Expand All @@ -18,7 +12,12 @@
category3Title=model.featuredCategory3.title
category3Items=model.featuredCategory3.bucketItems
}}
{{centennial/centennial-cta-narrow}}
{{centennial/centennial-legacy-giving}}
{{centennial/centennial-timeline}}
{{centennial/centennial-archives items=model.archiveItems}}
{{centennial/centennial-events events=model.events}}
{{centennial/centennial-new-york-stories}}
{{centennial/centennial-double-cta}}
{{centennial/centennial-major-sponsor}}
</div>

0 comments on commit cacef0a

Please sign in to comment.