Skip to content

Commit

Permalink
Merge pull request #276 from GSA/wwang/issue174
Browse files Browse the repository at this point in the history
update travel banner background color per QA comment
  • Loading branch information
weiwang-gsa authored Aug 10, 2023
2 parents 382070b + 8688f31 commit 8350e5f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion training-front-end/public/styles/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion training-front-end/public/styles/styles.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions training-front-end/sass/_components/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@
// fleet banner backgroud color
.color-sp-fleet-dark{
background-color: #005748;
}

// travel banner background color
.color-sp-travel-medium{
background-color: #00467F;
}
4 changes: 2 additions & 2 deletions training-front-end/src/layouts/TrainingLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ else if(training_category.includes("fleet"))
{
background_class = "color-sp-fleet-dark";
}
else{
background_class = "bg-primary";
else if(training_category.includes("travel")){
background_class = "color-sp-travel-medium";
}
---
Expand Down
5 changes: 3 additions & 2 deletions training-front-end/src/pages/quiz/[training_id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ else if (training_id.includes("fleet"))
{
background_class = "color-sp-fleet-dark";
}
else {
background_class = "bg-primary";
else if(training_id.includes("travel")){
background_class = "color-sp-travel-medium";
}
---
<BaseLayout title={title} >
<HeroTraining background_class={background_class}>
Expand Down

0 comments on commit 8350e5f

Please sign in to comment.