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

Feature/deseng662: Implemented new footer #2571

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

jareth-whitney
Copy link
Contributor

  • Feature New footer (public and admin) 🎟️ DESENG-662
    • Implemented new footer design for desktop and mobile viewports.
    • Addressed some issues with z-index between footer and side nav.

Copy link

sonarcloud bot commented Jul 31, 2024

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.07%. Comparing base (48adce8) to head (2cf432e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2571      +/-   ##
==========================================
+ Coverage   76.04%   76.07%   +0.03%     
==========================================
  Files         609      609              
  Lines       22075    22036      -39     
  Branches     1782     1782              
==========================================
- Hits        16786    16763      -23     
+ Misses       5025     5009      -16     
  Partials      264      264              
Flag Coverage Δ
metweb 65.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...eb/src/components/feedback/FeedbackModal/index.tsx 88.73% <100.00%> (ø)
met-web/src/components/layout/SideNav/SideNav.tsx 94.23% <100.00%> (ø)
met-web/src/styles/Theme.ts 100.00% <ø> (ø)

... and 3 files with indirect coverage changes

Copy link
Collaborator

@Baelx Baelx left a comment

Choose a reason for hiding this comment

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

Thanks for this new design and for addressing the z-index issue with the sidenav!


return (
<Grid container justifyContent="center" alignItems="center" spacing={0} mt="2em">
<Grid container component="footer" spacing={0} mt="2em" aria-label="footer">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for being explicit about the HTML element!

>
<Grid item xs={12}>
<Stack spacing={3}>
<MetLabel>{translate('footer.moreInfo')}</MetLabel>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd recommend using a span or even a heading tag here instead. Labels are usually just used with inputs and form fields.

@jareth-whitney jareth-whitney merged commit ec3c7be into main Aug 1, 2024
8 checks 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.

3 participants