Skip to content

Commit

Permalink
Merge pull request #96 from tinykite/add-noscript
Browse files Browse the repository at this point in the history
Add noscript tags
  • Loading branch information
tinykite authored Mar 12, 2024
2 parents 2428158 + 67954cf commit ece6880
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,17 @@
<meta property="og:type" content="article" />

<link href="/css/global.css" rel="stylesheet" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="/components/cap-redirector.js"></script>
<script>
window.BUCKET_ROOT = "https://static.case.law";
</script>
<script type="module" src="/components/cap-nav.js"></script>
<script type="module" src="/components/cap-page-header.js"></script>
<script type="module" src="/components/cap-footer.js"></script>

<link
rel="apple-touch-icon"
Expand Down
4 changes: 4 additions & 0 deletions src/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<meta property="og:type" content="article" />

<link href="/css/global.css" rel="stylesheet" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="/templates/cap-about-page.js"></script>

<link
Expand Down
4 changes: 4 additions & 0 deletions src/caselaw/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<meta property="og:type" content="article" />

<link href="/css/global.css" rel="stylesheet" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="/components/cap-content-router.js"></script>
<script type="module" src="/components/cap-footer.js"></script>
<script type="module" src="/components/cap-nav.js"></script>
Expand Down
4 changes: 4 additions & 0 deletions src/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
content="images/favicon/mstile-150x150.png"
/>
<meta name="theme-color" content="#ffffff" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="/templates/cap-docs-page.js"></script>
<!-- Matomo -->
<script>
Expand Down
4 changes: 4 additions & 0 deletions src/gallery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
<meta property="og:type" content="article" />

<link href="/css/global.css" rel="stylesheet" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="/templates/cap-gallery-page.js"></script>
<!-- Matomo -->
<script>
Expand Down
4 changes: 4 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<meta property="og:type" content="article" />

<link href="css/global.css" rel="stylesheet" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="components/cap-map.js"></script>
<script type="module" src="components/cap-notification-banner.js"></script>
<script type="module" src="components/cap-nav.js"></script>
Expand Down
4 changes: 4 additions & 0 deletions src/privacy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
<meta property="og:type" content="article" />

<link href="/css/global.css" rel="stylesheet" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="/templates/cap-privacy-page.js"></script>
<!-- Matomo -->
<script>
Expand Down
4 changes: 4 additions & 0 deletions src/terms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<meta property="og:type" content="article" />

<link href="/css/global.css" rel="stylesheet" />
<noscript
>JavaScript needs to be enabled to view the Caselaw Access Project
website.</noscript
>
<script type="module" src="/templates/cap-terms-page.js"></script>
<!-- Matomo -->
<script>
Expand Down

0 comments on commit ece6880

Please sign in to comment.