diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 9529b71..a0a16ae 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -84,6 +84,8 @@ jobs: needs: deploy runs-on: ubuntu-latest steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Lighthouse audit uses: treosh/lighthouse-ci-action@2f8dda6cf4de7d73b29853c3f29e73a01e297bd8 # v12.1.0 with: diff --git a/apps/web/src/components/DiffViewer.svelte b/apps/web/src/components/DiffViewer.svelte index 332cfc8..99ee6af 100644 --- a/apps/web/src/components/DiffViewer.svelte +++ b/apps/web/src/components/DiffViewer.svelte @@ -490,7 +490,10 @@

Change History

{#if commits.length === 0} -

No history yet for this section.

+
+

No amendments tracked yet for this section.

+

Change history will appear here automatically when the pipeline detects modifications between US Code release points.

+
{:else} {#if tags.length === 0}

Version timeline available when release point tags are published.

diff --git a/apps/web/src/pages/404.astro b/apps/web/src/pages/404.astro new file mode 100644 index 0000000..d393584 --- /dev/null +++ b/apps/web/src/pages/404.astro @@ -0,0 +1,21 @@ +--- +import BaseLayout from '../layouts/BaseLayout.astro'; +const base = import.meta.env.BASE_URL; +--- + + +
+

Section not found

+

+ The section you're looking for may have been renumbered, repealed, + or the URL may be incorrect. +

+ + Browse all titles → + +

Or use the search bar above to find what you need.

+
+
diff --git a/apps/web/src/pages/statute/[...slug].astro b/apps/web/src/pages/statute/[...slug].astro index 151089e..dc29193 100644 --- a/apps/web/src/pages/statute/[...slug].astro +++ b/apps/web/src/pages/statute/[...slug].astro @@ -105,8 +105,23 @@ const readingTimeMin = Math.max(1, Math.round(wordCount / 200)); + + + + + + + +