-
Notifications
You must be signed in to change notification settings - Fork 1
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
[#25,#5, #27] Header / Nav / Banner / Utility Menu #124
Conversation
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.
We added placeholder links to the footer, not all of these pages exist yet, but some do in the production system
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.
overall looking pretty good, suggested a few improvements
Co-authored-by: Stephen Chudleigh <[email protected]>
remove unused partial template
4ad351f
to
1bcf5d9
Compare
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.
😭 oh no, I never submitted these comment on the PR last night! no wonder you were confused about the changes. 😖 sorry again!
# frozen_string_literal: true | ||
|
||
module NavigationHelper | ||
def utility_menu_link(image_path, href, alt, button_label) |
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 added some more responsive styles (1bcf5d9) to this helper function and removed the extra partial template. IMO it's okay to embed smaller html tags directly in the helper.
@@ -0,0 +1,22 @@ | |||
<!-- Utility Menu --> |
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 was able to refactor this so it didn't need separate sections for mobile and desktop, using the 'mobile-first' philosophy and altering the sizes for desktop:
. You can see what I changed here - (1bcf5d9).
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.
these partials aren't needed anymore
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 few more specs to add
<em class="usa-logo__text" | ||
><a href="/" title="challenge.gov"> |
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.
is the broken tag newline intentional? I see it in a few places and it looks odd to me
<em class="usa-logo__text" | |
><a href="/" title="challenge.gov"> | |
<em class="usa-logo__text"> | |
<a href="/" title="challenge.gov"> |
…d-rails-phoenix-session * 'dev' of github.com:GSA/Challenge_platform: (21 commits) [#25,#5, #27] Header / Nav / Banner / Utility Menu (#124) Adjust puma config Manifest and config tweak Config tweaks adjust asset precompile Configure default proxy if env set Adjust ports Memory tweaks env tweaks Memory tweak More memory Adjust sidecar boot Move proxy into its own manifest Add local proxy sidecar 34 Use skip before action instead of except for timeout 34 Readability fix for check_session_expiration 34 Fix for timeout not redirecting properly 34 Remove session timeout from .envrc 34 Change session timeout env var to a constant 34 Fix failing session timeout test ...
PR for header / nav / banner / utility menu
GH issues #25,#5, #27
Logged in:
Logged out: