Skip to content

Commit

Permalink
feat: Add noscript fallback to homepage (#2675)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Gray <[email protected]>
  • Loading branch information
jonaharagon authored and dngray committed Aug 1, 2024
1 parent a58f090 commit 04e6f2a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions theme/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,31 @@ <h2>Top discussions this week</h2>
</ul>

</div>
<noscript>
<p>You have Javascript disabled, so we can't load the latest discussions. Visit one of our top forum categories directly at the links below:</p>
<div class="grid cards">
<ul>
<li>
<p><a href="https://discuss.privacyguides.net/c/privacy/4"><strong>Privacy Discussions</strong></a></p>
<hr>
<p>Find the latest news and discuss privacy, security, and data protection.</p>
</li>
<li>
<p><a href="https://discuss.privacyguides.net/c/site-development/suggestions/6"><strong>Tool Suggestions</strong></a></p>
<hr>
<p>Suggest a tool for us to review and provide feedback on other suggestions.</p>
</li>
<li>
<p><a href="https://discuss.privacyguides.net/c/privacy/questions/8"><strong>Questions</strong></a></p>
<hr>
<p>Ask questions and get advice from our community of privacy advocates.</p>
</li>
</div>
</ul>
<a href="https://discuss.privacyguides.net/" class="md-button md-button--primary">
Join the forum
</a>
</noscript>
{% endif %}
{{ page.content }}
<div class="mdx-cta">
Expand Down

0 comments on commit 04e6f2a

Please sign in to comment.