From 743ccb04287ab334eb3589842f04a8fda812baa3 Mon Sep 17 00:00:00 2001 From: caseymm Date: Tue, 28 Sep 2021 16:41:30 -0700 Subject: [PATCH] start to swap out nav --- src/_colors.scss | 3 ++ .../2020/index/annual-report.jsx | 42 ++++++++----------- .../2020/index/annual-report.scss | 4 +- src/views/annual-report/2020/index/l10n.json | 28 +++---------- 4 files changed, 27 insertions(+), 50 deletions(-) diff --git a/src/_colors.scss b/src/_colors.scss index 495c84469..44d3bf707 100644 --- a/src/_colors.scss +++ b/src/_colors.scss @@ -66,3 +66,6 @@ $link-blue: $ui-blue; /* Down Deep */ $dd-darkblue: hsla(195, 72.4, 17.1, 1); $dd-medium-blue: hsla(195, 72.4, 42, .65); + +/* Annual Report Colors */ +$ui-teal: #297EA4; diff --git a/src/views/annual-report/2020/index/annual-report.jsx b/src/views/annual-report/2020/index/annual-report.jsx index c5793f244..9f8726c61 100644 --- a/src/views/annual-report/2020/index/annual-report.jsx +++ b/src/views/annual-report/2020/index/annual-report.jsx @@ -25,26 +25,26 @@ const Supporters = require('./supporters.json'); require('./annual-report.scss'); +// Founder’s Message / Mission / Reach / Themes / Director’s Message / Supporters / Team / Donate + // Some constants used for the page subnav and section refs const SECTIONS = { - message: 'message', + founders_message: 'founders-message', mission: 'mission', reach: 'reach', - milestones: 'milestones', - initiatives: 'initiatives', - financials: 'financials', + themes: 'themes', + directors_message: 'directors_message', supporters: 'supporters', team: 'team', donate: 'donate' }; const SECTION_NAMES = { - message: , + founders_message: , mission: , reach: , - milestones: , - initiatives: , - financials: , + themes: , + directors_message: , supporters: , team: , donate: @@ -195,11 +195,11 @@ class AnnualReport extends React.Component { ( - {SECTION_NAMES.message} + {SECTION_NAMES.founders_message} - - - - + - +