Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

feat(index): Adds NOSCRIPT tag, fixing Lighthouse Audit issue #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
<body>

<app-root></app-root>
<noscript>
<div style="font-size: 18px;font-family: Helvetica,sans-serif;line-height: 24px;margin: 10%;padding: 5%;width: 80%;background-color: #488aff;color: #fff; text-align: center;">
<p style="font-size: 40px;">⚠</p>
<p>It seems that <em style="font-weight: bolder; text-decoration: underline;">JavaScript is disabled</em> in your browser.</p>
<p>Please enable it or use another browser.</p>
</div>
</noscript>

</body>

Expand Down