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

feat: add a new more descriptive footer #46

Merged
merged 16 commits into from
Nov 14, 2023

Conversation

35C4n0r
Copy link
Contributor

@35C4n0r 35C4n0r commented Nov 4, 2023

  • The footer data and links are stored in hugo.toml
  • styling has been added to _content_projects.scss.
  • Breakpoints have been added.

Notes for Reviewers

This PR fixes #15 and #44

Signed commits

  • Yes, I signed my commits.

- The footer data and links are stored in hugo.toml
- css has been added to _content_projects.scss.
- Breakpoints have been added.

Signed-off-by: Jay <[email protected]>
Copy link

netlify bot commented Nov 4, 2023

Deploy Preview for bejewelled-pegasus-b0ce81 ready!

Name Link
🔨 Latest commit 6635655
🔍 Latest deploy log https://app.netlify.com/sites/bejewelled-pegasus-b0ce81/deploys/6553881c3059bf0008690845
😎 Deploy Preview https://deploy-preview-46--bejewelled-pegasus-b0ce81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@35C4n0r 35C4n0r changed the title feat: add a new footer which replaces the existing one feat: add a new more descriptive footer Nov 4, 2023
- made the subscribe section more responsive.
- centered all the items.

Signed-off-by: Jay <[email protected]>
@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 4, 2023

@leecalcote the PR is up for review.

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 4, 2023

@leecalcote ps: not a part of the issue #15, but should I add the code for the scrollbar too?
image

Copy link
Contributor

@iArchitSharma iArchitSharma left a comment

Choose a reason for hiding this comment

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

@35C4n0r can you please change the logo svg to the one that is being used in header

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 4, 2023

@35C4n0r can you please change the logo svg to the one that is being used in header

@iArchitSharma updated the logo

@leecalcote
Copy link
Member

@35C4n0r can you please change the logo svg to the one that is being used in header

@iArchitSharma updated the logo

@ritiksaxena124 to confirm.

@leecalcote
Copy link
Member

@leecalcote ps: not a part of the issue #15, but should I add the code for the scrollbar too?
image

Sounds great. Yes.

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 5, 2023

@leecalcote added the scrollbar :)

@ritiksaxena124
Copy link
Contributor

ritiksaxena124 commented Nov 5, 2023

@35C4n0r can you please change the logo svg to the one that is being used in header

@iArchitSharma updated the logo

  1. @35C4n0r you are referencing the logo we have in the header, which is good. Could you please update the Twitter logo to "X"
  2. Repetition of subscribe icon as it is layer5 docs that have all projects docs so maybe we can link that icon with layer5 subscribe page only
    image

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 5, 2023

Ok @ritiksaxena124 , keeping only the https://layer5.io/subscribe
But to include the X logo we would need to update to font awesome package to v6.4.2
Can you please guide me how to update this version.
I've tried running go get github.com/FortAwesome/Font-Awesome@latest, but i'm getting some error after that.

@ritiksaxena124
Copy link
Contributor

Ok @ritiksaxena124 , keeping only the https://layer5.io/subscribe But to include the X logo we would need to update to font awesome package to v6.4.2 Can you please guide me how to update this version. I've tried running go get github.com/FortAwesome/Font-Awesome@latest, but i'm getting some error after that.

Instead of using FontAwesome icons you can use the SVG

@leecalcote
Copy link
Member

Ok @ritiksaxena124 , keeping only the https://layer5.io/subscribe But to include the X logo we would need to update to font awesome package to v6.4.2 Can you please guide me how to update this version. I've tried running go get github.com/FortAwesome/Font-Awesome@latest, but i'm getting some error after that.

Instead of using FontAwesome icons you can use the SVG

Yes, please.

- The SVGs are stored in hugo.toml in URI base64 format.

Signed-off-by: Jay <[email protected]>
@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 6, 2023

@ritiksaxena124 replaced fa with the SVGs

Copy link
Contributor

@iArchitSharma iArchitSharma left a comment

Choose a reason for hiding this comment

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

@35C4n0r well done with the logo
also add space b/w 2023 Copyright and shift Privacy and Terms in right side just as it is in layer5.io
image

@saurabh100ni
Copy link
Contributor

Please add this as your agenda in Doc to present it in the Website Meet today at 6:30 pm IST/7:00 am CT

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 6, 2023

layer5.io

@35C4n0r well done with the logo also add space b/w 2023 Copyright and shift Privacy and Terms in right side just as it is in layer5.io image

@iArchitSharma fixed this.

@iArchitSharma
Copy link
Contributor

add space b/w 2023 Copyright

nice but you didn't added space b/w 2023 and Copyright

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 6, 2023

@iArchitSharma wierd bug, but it looks fine on my local
image

I'll see how i can fix this

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 7, 2023

@leecalcote done :)

layouts/partials/footer.html Outdated Show resolved Hide resolved
layouts/partials/footer.html Show resolved Hide resolved
assets/scss/footer.scss Outdated Show resolved Hide resolved
Copy link
Member

@leecalcote leecalcote left a comment

Choose a reason for hiding this comment

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

Excellent, @35C4n0r 🥇

@leecalcote
Copy link
Member

Ideally, in all of our site's footers, we'll using SVGs with vectors inside (not SVGs with rasterized PNGs inside).

background-color: $primary;

.custom-search-banner-wrap {
max-height: 250px;
Copy link
Member

Choose a reason for hiding this comment

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

Please use rem instead of px

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do i need to replace all the px with rems??

hugo.toml Outdated
[[params.links.footer.icons]]
name = "Docker"
url = "https://hub.docker.com/u/layer5/"
icon = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0iTGF5ZXJfMSIgeD0iMCIgeT0iMCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNDYwIDMyMi4xIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZW5hYmxlL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i4xLDIzNi0xNDYuOGMxNS40LDAuMyw0OC42LDAuMSw2NS42LTMyLjVjMS4xLTEuOCw0LjctOS41LDYuMS0xMi4zTDQ1MC40LDEyNC4xeiIgY2xhc3M9InN0MCIvPjxwb2x5Z29uIHBvaW50cz0iODMuMiAxMDQuMSA4My4xIDEwNC4xIDM1LjcgMTA0LjEgMzUuNyAxNDYuOCA4My4yIDE0Ni44IiBjbGFzcz0ic3QwIi8+PHJlY3Qgd2lkdGg9IjQ3LjUiIGhlaWdodD0iNDIuNyIgeD0iOTEuNyIgeT0iMTA0LjEiIGNsYXNzPSJzdDAiLz48L2c+PC9nPjwvZz48L3N2Zz4="
Copy link
Member

Choose a reason for hiding this comment

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

Use SVGs with vectors, you can directly import those icons SVGs in assets/images directory and can add a link here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure.

@coder12git
Copy link
Member

coder12git commented Nov 9, 2023

@35C4n0r footer is not completely responsive. Also the description text and some other texts used here is 'open-sans' instead of 'Qanleas Soft`.

Screenshot 2023-11-09 082527

Ideally it should look same, in mobile view as we have for layer5.io sites, check below screenshots:

Screenshot 2023-11-09 082628
Screenshot 2023-11-09 082609

@leecalcote
Copy link
Member

Hang in there, @35C4n0r. You're doing some good work.

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 11, 2023

@35C4n0r footer is not completely responsive. Also the description text and some other texts used here is 'open-sans' instead of 'Qanleas Soft`.

Screenshot 2023-11-09 082527

Ideally it should look same, in mobile view as we have for layer5.io sites, check below screenshots:

Screenshot 2023-11-09 082628 Screenshot 2023-11-09 082609

@coder12git made the css more, responsive will be pushing the code soon.

- calibrated the breakpoints more.
- we use svg instead of base64.

Signed-off-by: Jay <[email protected]>
@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 11, 2023

Pushed the code, @coder12git kidly give a re-review

@@ -67,6 +67,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=#{$google_font_family}&
$font-awesome-font-name: "Font Awesome 6 Free" !default;

$td-fonts-serif: "Qanelas Soft", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
$font-qanelas: "Qanelas Soft", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$font-qanelas: "Qanelas Soft", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
$font-qanelas: "Qanelas Soft", "Open Sans", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

@coder12git
Copy link
Member

@35C4n0r great work you did. Everything looks good to me, just remove that extra spacing from bottom (in mobile view).
Screenshot 2023-11-11 195925

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 11, 2023

@coder12git apparently it wasn't a bug related to footer, maybe background overflow #33 ?? I've fixed it now.

@iArchitSharma
Copy link
Contributor

@35C4n0r good work there, was the scrollbar supposed to be that way?

@abhijeetgauravm
Copy link

Hey @35C4n0r Let's discuss this on website call tomorrow at 6:30 PM IST / 7 AM Central time. Please add this as an agenda item in the meeting minutes.

@coder12git
Copy link
Member

coder12git commented Nov 12, 2023

@35C4n0r thanks, please resolve the merge conflicts after that this PR will be good to merge 🚀.

// @leecalcote

@35C4n0r
Copy link
Contributor Author

35C4n0r commented Nov 12, 2023

Nope, that is because of this #46 (comment)
will need to discuss a better way to resolve this, that overflow is because of background image.
image

@leecalcote
Copy link
Member

Thanks for sticking with this, @35C4n0r

@leecalcote leecalcote merged commit ccba72b into layer5io:master Nov 14, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Improve Footer
7 participants