-
Notifications
You must be signed in to change notification settings - Fork 98
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
Update website top navigation bar #3670
base: master
Are you sure you want to change the base?
Conversation
@@ -12,7 +12,7 @@ function buildNavigation() { | |||
|
|||
return `<nav> | |||
<a href="/"> | |||
<img class="logo" src="/img/helmet.svg" alt="Home"> | |||
<img class="logo" src="/img/helmet.png" alt="Home"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A note for future me/future someone: We want svg here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be easier to add the text as real text in here instead of adding it to the image? That way search engines can also read it. Or is it about using a specific font?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To answer your questions:
- I intended the helmet + text as a single clickable unit. This is supposed to be a link to the home page and I want to avoid a situation where only the image part is clickable and not the text.
- I took this https://github.com/theforeman/foreman-graphics/blob/master/logo/foreman_large.png as a template and worked my way from there.
- Also, yes, it's about using a specific font.
I hope that explains my intentions but truth be told, this is one of the things that I'm hoping to get @kmalyjur's input on once she and I are able to meet again.
I appreciate your feedback, please keep it coming, this is a good place to record any concerns that we should address.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I intended the helmet + text as a single clickable unit. This is supposed to be a link to the home page and I want to avoid a situation where only the image part is clickable and not the text.
You can do that with HTML too:
<a href="/">
<img class="logo" src="/img/helmet.svg" alt="Home">
Foreman Documentation
</a>
Also, yes, it's about using a specific font.
You can load fonts into CSS and use a specific font too.
What changes are you introducing?
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
Split from and depends on #3657
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
N/A
Checklists
Please cherry-pick my commits into: