nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

fix: Footer added

Open Wellitsabhi opened this issue 1 year ago • 13 comments

Description

Added Footer in 'Learn' and 'About' section

Validation

Screenshot_20240611_115955
Screenshot_20240611_115708

Related Issues

Fixes #6829

Check List

  • [x] I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • [x] I have run npm run format to ensure the code follows the style guide.
  • [x] I have run npm run test to check if all tests are passing.
  • [x] I have run npx turbo build to check if the website builds without errors.
  • [x] I've covered new added functionality with unit tests if necessary.

Wellitsabhi avatar Jun 11 '24 06:06 Wellitsabhi

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Jun 21, 2024 6:38pm

vercel[bot] avatar Jun 11 '24 06:06 vercel[bot]

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 99 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 100 🟢 100 🟢 100 🟢 92 🔗
/en/download 🟢 99 🟢 100 🟢 96 🟢 91 🔗
/en/blog 🟢 99 🟢 100 🟢 100 🟢 92 🔗

github-actions[bot] avatar Jun 11 '24 07:06 github-actions[bot]

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 92%
90.67% (593/654) 76.08% (175/230) 94.57% (122/129)

Unit Test Report

Tests Skipped Failures Errors Time
131 0 :zzz: 0 :x: 0 :fire: 5.257s :stopwatch:

github-actions[bot] avatar Jun 11 '24 07:06 github-actions[bot]

Ok good, but you need to do something ´cause actually the footer take to much place on mobile screen.

AugustinMauroy avatar Jun 11 '24 09:06 AugustinMauroy

Ok , will add css for small screens only

Wellitsabhi avatar Jun 11 '24 10:06 Wellitsabhi

My finding is issue only persists where ArticleLayout comp is used. For check - I inserted dummy data in /about , and was working fine , no sticky footer

https://github.com/nodejs/nodejs.org/assets/99867024/f64f3e36-0428-4be2-8412-1be64446afba

Wellitsabhi avatar Jun 11 '24 15:06 Wellitsabhi

applied external css on <Withfooter/> , on small screen, it will appear above breadcrumb. otherwise working noramlly. UI looks good too.

https://github.com/nodejs/nodejs.org/assets/99867024/b0d3808b-16ed-422b-864a-9b9a1d0e2d9b

Wellitsabhi avatar Jun 12 '24 04:06 Wellitsabhi

@bmuenzenmeyer @abizek @canerakdas Can you please review my latest commit to consider it for merge. Let me know if it needs any changes. Thanks.

Wellitsabhi avatar Jun 17 '24 15:06 Wellitsabhi

LGTM

abizek avatar Jun 19 '24 13:06 abizek

@bmuenzenmeyer I dismissed your review, but feel free to do a re-review :pray:

ovflowd avatar Jun 21 '24 10:06 ovflowd

Hmmm, the footer is still sticky, and we don't really want that as it means the overall content available for the page itself is diminished...

ovflowd avatar Jun 21 '24 10:06 ovflowd

@ovflowd which layout will be good? (below)

  1. height- 100vh ( has better responsivity in medium devices too)

https://github.com/nodejs/nodejs.org/assets/99867024/9cae63a1-9d3e-4538-b1fe-d308371e8bbe

  1. height -100%

https://github.com/nodejs/nodejs.org/assets/99867024/a30a6fa3-1e29-413b-9a4d-0fe58b35c764

I hope it address sticky issue.

Wellitsabhi avatar Jun 22 '24 04:06 Wellitsabhi

This PR will need to be rebased or recreated now that https://github.com/nodejs/nodejs.org/pull/6850 merged.

bmuenzenmeyer avatar Jul 05 '24 11:07 bmuenzenmeyer

I shall create new PR. But it would be great if someone can suggest which layout should i follow

Wellitsabhi avatar Jul 09 '24 13:07 Wellitsabhi