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

Use navbar from Doge-Web-Components #4

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Use navbar from Doge-Web-Components #4

merged 1 commit into from
Feb 9, 2024

Conversation

blendtwenty
Copy link
Collaborator

This PR adjusts the theme's header template to use the doge-nav from doge-web-components.

Changes to header.html

  • Import component
  • Populate the menu lists using hugo template directives
  • Some theme style overrides

Changes to main.js

  • Ensure click handlers are added to ALL theme selectors, not just one.

Appearance:

image

image

image

Copy link
Collaborator

@tjstebbing tjstebbing left a comment

Choose a reason for hiding this comment

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

yeeh :)

@blendtwenty blendtwenty merged commit dec44c9 into main Feb 9, 2024
1 check passed
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