Skip to content

Dev/ionwyn/smt 63/header colours#696

Open
ionwyn wants to merge 2 commits intomasterfrom
dev/ionwyn/SMT-63/header-colours
Open

Dev/ionwyn/smt 63/header colours#696
ionwyn wants to merge 2 commits intomasterfrom
dev/ionwyn/SMT-63/header-colours

Conversation

@ionwyn
Copy link
Collaborator

@ionwyn ionwyn commented Feb 27, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the branding from "Ministry of Transportation and Infrastructure" (MoTI) to "Ministry of Transportation and Transit" (MoTT) across the application, and adjusts header navigation colors for different environments.

Changes:

  • Updated organizational name from "MoTI" to "MoTT" in UI text, documentation, and project metadata
  • Modified navigation header colors, replacing theme-color reference with hard-coded value
  • Added environment-specific navigation color classes for test and prod environments

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
client/src/scss/_nav.scss Updated default navigation color to hard-coded value, added test and prod environment color classes
client/src/js/components/fragments/Header.js Changed application title from "MoTI" to "MoTT"
client/src/js/components/forms/saltreport/AddSaltReportFormFields.js Updated table header text from "MoTI Owned?" to "MoTT Owned?"
api/Hmcr.Model/EmailBody.cs Updated ministry name in email body
api/Hmcr.Hangfire/Hmcr.Hangfire.csproj Updated Authors and Company metadata
api/Hmcr.Api/Hmcr.Api.csproj Updated Authors and Company metadata
README.md Updated ministry name in dependencies section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


.main-nav {
@include main-nav-colors(theme-color(secondary-nav));
@include main-nav-colors(#053662);
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hard-coded color value #053662 is used here and also duplicated in the .main-nav.prod rule (line 63). Consider extracting this as a SCSS variable (e.g., $prod-nav-color) or using a theme-color to maintain consistency and make future color changes easier.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants