Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logo and banner #2

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Add logo and banner #2

merged 2 commits into from
Apr 12, 2024

Conversation

drlaw1558
Copy link
Collaborator

This PR adds basic banner header/footer images for use by the notebooks.

@drlaw1558 drlaw1558 requested a review from sosey as a code owner April 10, 2024 18:46
Copy link
Member

@sosey sosey left a comment

Choose a reason for hiding this comment

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

These images appear different from what is in the standards guide (and referenced from jdat repo and the template repo): https://github.com/spacetelescope/style-guides/tree/master/guides/images ... did yours come from the stsci branding package?

I would have expected the logo images to be in _static as well, lemme go ask the template maintainer if there was a reason they aren't, we should probably update in the template repo as well

I'll add to my list to review that standards repo and update there for everyone, looks like it's been a while. That wont keep this PR from being submitted, but we need to make sure the branding is standard.

@drlaw1558
Copy link
Collaborator Author

Huh, I never knew about style-guides, or more likely had forgotten it existed. Looks like my stsci_logo.png should be functionally identical to stsci-logo.png in the style guide. The different one would be banner1.png that's intended to go at the top of the notebook; there's no equivalent in the style guide. I'd propose that we use this opportunity to update the style guide to include such a banner. That's been the single-most-useful thing about the MRS notebook to tell me instantly that notebooks I come across in the wild are based on my MRS notebook originally. People modify the title and the text, but never seem to touch the banner.

@sosey
Copy link
Member

sosey commented Apr 11, 2024

@camipacifici you were probably involved in the jdat template notebook, was there a particular reason a banner at the top of the notebook wasn't used?

@sosey
Copy link
Member

sosey commented Apr 11, 2024

@drlaw1558 the stsci_logo file is meant to be the new footer logo? The stsci_logo2 file is used in the left navbar for the html generated pages. If so, should we change the name to be explicit that it's the footer, for clarity?

@drlaw1558
Copy link
Collaborator Author

Right, my stsci_logo is the footer. Happy to change the name to something more clear.

@drlaw1558
Copy link
Collaborator Author

Now renamed to the more obvious stsci_header.png and stsci_footer.png

@sosey
Copy link
Member

sosey commented Apr 12, 2024

Let's add the images, if anything needs to be updated later we can submit another PR

@drlaw1558 drlaw1558 merged commit 3affcdc into main Apr 12, 2024
@drlaw1558 drlaw1558 deleted the drl_images branch April 12, 2024 14:04
@camipacifici
Copy link
Collaborator

No particular reason for no banner sorry.

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