phil-opp / blog_os

Writing an OS in Rust
http://os.phil-opp.com
Apache License 2.0
14.27k stars 1.01k forks source link

Design Enhancement #1244

Open VaibhavSharma24 opened 9 months ago

VaibhavSharma24 commented 9 months ago

I want to add some attractive Navbar and Footer on this website which will enhance the overall experience

SUJALWEB commented 9 months ago

hey, I want to controbute in this issue

tsatke commented 9 months ago

I think the best way to continue here is to just provide a PR with the changes, preferably with screenshots if there are changes to the ui.

VaibhavSharma24 commented 9 months ago

Sure i am on it

phil-opp commented 9 months ago

Could you clarify what kind of navbar/footer you imagine? Are there any usability issues that you like to fix or is this only about changing the design?

VaibhavSharma24 commented 8 months ago

I am thinking of a minimalist sticky header on top with these heading -> Writing an OS in Rust Philipp Oppermann's blog and a Footer with © 2022. All rights reserved. [License][Contact]

The main advantage is while loading your code the web browser knows the header and footer portion. It helps in prioritizing on the things to be loaded first and make the content on webpage easy to read for the audience.

Please feel free to tell me what you think of this @phil-opp

phil-opp commented 8 months ago

I'm not a fan of sticky headers or footers since they reduce the space available for content, especially on mobile.

To try this out, I added position: sticky; top/bottom:0; background-color: white; to the header/footer elements as a test.

With sticky header and footer

This is how the page would look like on a landscape mobile screen with a sticky header and footer:

image

With current design

Without the sticky headers, you see much more content:

image

VaibhavSharma24 commented 8 months ago

I understand @phil-opp so to keep the content more spaced we can do one more thing we can add a simple header and footer which doesn't stick as you scroll down what do you think ?

VaibhavSharma24 commented 8 months ago

https://github.com/phil-opp/blog_os/assets/72144747/5869351b-b728-4a40-a43d-2c431eac80bf

Something Like This ?