tldr-pages / tldr-pages.github.io

🌐 The website for the tldr pages project
http://tldr.sh/
MIT License
76 stars 36 forks source link

Fallback for no JS #72

Closed code-reaper08 closed 1 year ago

code-reaper08 commented 1 year ago

This PR, addressing issue #71, introduces a <noscript> tag. Additionally, it incorporates an inline script responsible for conditional rendering, coupled with corresponding CSS modifications.

Thanks!

kbdharun commented 1 year ago

@rwv can you check out this PR?

Thanks in advance.

rwv commented 1 year ago

I'm ok with this PR. Thank you for considering no JS condition!

kbdharun commented 1 year ago

Tested the change, works perfectly thanks.

Image reference

Javascript disabled:

image

Javascript enabled:

image