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

Implement generation of shields for headers #438

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Implement generation of shields for headers #438

merged 3 commits into from
Oct 25, 2024

Conversation

SleeplessByte
Copy link
Member

This change allows us to change the header shield on the pages that use it. The only thing you need to take care of is setting the shield value the same for the English and Dutch pages, which is done automatically as most of these are set in the layout instead.

The organisation one is kept the same.

Organisation shield

Join us shield

Conference shield

Jobs shield

The shortcode has been changed so you can add a string to generate a shield:

Shortcode shield

Additionally, there is now an empty shield as well. We can use this if we want to change the members page layout to always show a shield but show the empty one until someone has picked "what shield" they want based on a generated value.

Empty shield

I have updated the shield generator to reflect these changes. Friendly reminder that you can use the shield generator to figure out what value to use to ... generate a nice shield. E.g "Derk-Jan" and "SleeplessByte" will yield completely different shields, as expected.

@SleeplessByte SleeplessByte requested review from a team as code owners October 25, 2024 12:52
@SleeplessByte SleeplessByte requested review from anneke and removed request for a team October 25, 2024 12:52
@edwinm edwinm merged commit 89a61a1 into main Oct 25, 2024
5 checks passed
@edwinm edwinm deleted the feature/shields branch October 25, 2024 15:36
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