diff --git a/apps/web/package.json b/apps/web/package.json index 9b7dabd..0cd71e5 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -15,6 +15,7 @@ "@astrojs/rss": "^4.0.18", "@astrojs/svelte": "^8.0.4", "@civic-source/types": "workspace:*", + "@fontsource/public-sans": "^5.2.7", "@octokit/rest": "^22.0.1", "@tailwindcss/typography": "^0.5.19", "@tailwindcss/vite": "^4.2.2", diff --git a/apps/web/src/layouts/BaseLayout.astro b/apps/web/src/layouts/BaseLayout.astro index 1b02698..1ab16f9 100644 --- a/apps/web/src/layouts/BaseLayout.astro +++ b/apps/web/src/layouts/BaseLayout.astro @@ -1,5 +1,8 @@ --- import '../styles/global.css'; +import '@fontsource/public-sans/400.css'; +import '@fontsource/public-sans/500.css'; +import '@fontsource/public-sans/600.css'; import ThemeToggle from '../components/ThemeToggle.svelte'; import SearchBar from '../components/SearchBar.svelte'; import BackToTop from '../components/BackToTop.svelte'; diff --git a/apps/web/src/pages/index.astro b/apps/web/src/pages/index.astro index 06f565b..9c33b40 100644 --- a/apps/web/src/pages/index.astro +++ b/apps/web/src/pages/index.astro @@ -79,32 +79,41 @@ const base = import.meta.env.BASE_URL; title="Home" description="Track changes to the United States Code with Git-based version control and diff history." > -
- US Code Tracker converts each release of the United States Code into a Git - repository, making it possible to view the precise text that changed between - any two releases of federal law. -
+ +Independent civic tech project
++ Every change to federal law, tracked through Git. +
+ +{titleCount}
-Titles
+ +{titleCount}
+Titles
{sectionCount.toLocaleString()}
-Sections
+{sectionCount.toLocaleString()}
+Sections
PL 119-73
-Current through
+PL 119-73
+Current through
{releasePointCount}
-Historical versions
+{releasePointCount}
+Historical versions
+ US Code Tracker converts each release of the United States Code into a Git + repository, making it possible to view the precise text that changed between + any two releases of federal law. +
+