Skip to content

Conversation

@mollybsmith-noaa
Copy link
Collaborator

This PR adds the MATS logo to MATS and the home app, and includes a METexpress logo for non-GSL installations of METexpress. It also removes some reset to defaults calls because I was planning to do that this week anyway, and they were annoying me while I was working on this.

Copy link
Collaborator

@ian-noaa ian-noaa left a comment

Choose a reason for hiding this comment

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

I had a bit of feedback on the inline style in the home app. It'd be nice to stay consistent and use bootstrap classes if possible. Otherwise, everything else looks good!

Comment on lines 75 to 84
class="text-center h-100"
src="img/noaa-logo-rgb-2022.svg"
alt="NOAA Logo"
style="height: 80px;"
src="img/metexpress_transparent.png"
alt="METexpress Logo"
/>
{{ else }}
<img
style="height: 80px;"
src="img/mats_transparent.png"
alt="MATS Logo"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be possible to use bootstrap's styling classes to specify the image size? The original logo was utilizing class=text-center h-100 to get proper image sizing.

I was trying to avoid having to specify inline CSS style directly on elements in the home app and just use Bootstrap utilities instead. Inline CSS is considered a bit of an antipattern - it's then hard to update styles globally. I was also a bit worried that if we specify CSS style= directly on elements, that we'll end up fighting bootstrap, or that we'll lose bootstrap's responsiveness.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Otherwise, the home app does have an external stylesheet we could use - IIRC, then we'd just add another custom class.

https://github.com/NOAA-GSL/MATS/blob/main/home/static/css/home.css

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree about using bootstrap where we can! However the bootstrap h and w controls are pretty limited. For example, h-100 will give you 100% of the image's height, which for our four images are too large. I didn't see that the home app had a style sheet, I will gladly mode it there!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds good! And agreed about bootstrap's size controls being limited. It seems like it's 25%, 50%, 75%, and 100% of the parent's height, which may or may not be appropriate. If we did want that whole parent <div> to be 80px high, we could set the style on that element.

Copy link
Collaborator

@ian-noaa ian-noaa left a comment

Choose a reason for hiding this comment

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

LGTM!

@mollybsmith-noaa mollybsmith-noaa merged commit b28fb5f into development Jan 22, 2026
39 checks passed
@mollybsmith-noaa mollybsmith-noaa deleted the feature_mats_logo branch January 22, 2026 19:40
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.

3 participants