newsfeed
This commit is contained in:
parent
d64cc3fbf2
commit
a1464bb865
20 changed files with 636 additions and 193 deletions
20
template/components/_noscript.hbs
Normal file
20
template/components/_noscript.hbs
Normal file
|
@ -0,0 +1,20 @@
|
|||
<noscript>
|
||||
<div class="noscript" role="note">
|
||||
<p>hey! looks like you have <strong>JavaScript disabled.</strong><br>
|
||||
I respect that decision, but you may find the experience of browsing the treehouse… not great.<br>
|
||||
for example, links to branches may not work properly. I cannot do anything about this; it's due to how
|
||||
the <code><details></code> element works.<br>
|
||||
(a <code><details></code> will not expand itself automatically to reveal the linked element to
|
||||
you.)<br>
|
||||
I did my best to at least keep the site readable in this state, but you can only do so much with plain
|
||||
HTML and CSS.</p>
|
||||
|
||||
<p><strong>Pinky promise this website does not contain any malicious code such as trackers or cryptocurrency
|
||||
miners.</strong><br>
|
||||
if you don't believe me, you're free to inspect the source yourself! all the scripts are written
|
||||
lovingly in vanilla JS (not minified!) by yours truly ❤️</p>
|
||||
<small>and if this box is annoying, feel free to block it with uBlock Origin or something. I have no
|
||||
way of remembering you closed it, and don't wanna add a database to this website. simplicity
|
||||
rules!</small>
|
||||
</div>
|
||||
</noscript>
|
Loading…
Add table
Add a link
Reference in a new issue