Skip to content

Commit

Permalink
Merge pull request #38 from dragonfruitnetwork/add-noscript-warning
Browse files Browse the repository at this point in the history
add noscript warning
  • Loading branch information
aspriddell authored Oct 18, 2022
2 parents 70cab50 + 5aa7678 commit 422edd0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DragonFruit.Sakura/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<div class="sakura-loading">
<img src="/assets/dragonfruit.png" alt="DragonFruit Logo" height="100" width="100"/>
<span>Loading...</span>
<noscript class="sakura-js-warning">
This site requires JavaScript to run. Please enable JavaScript or use a supported browser to continue.
</noscript>
</div>
</div>

Expand Down
6 changes: 6 additions & 0 deletions DragonFruit.Sakura/wwwroot/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ iframe {
justify-content: center;
}

.sakura-js-warning {
text-align: center;
position: absolute;
bottom: 30px;
}

.sakura-sticky {
position: -webkit-sticky;
position: sticky;
Expand Down

0 comments on commit 422edd0

Please sign in to comment.