Skip to content
Merged
Show file tree
Hide file tree
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
56 changes: 54 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,56 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="policyengine-logo.png" />
<title>Cliff Watch</title>
<title>Cliff Watch | Find Benefit Cliffs as Income Rises - PolicyEngine</title>
<meta name="description" content="Cliff Watch helps you see where benefits, refundable tax credits, and taxes create resource cliffs as wages and salaries rise. Explore how household income changes affect SNAP, Medicaid, TANF, and more." />
<meta name="theme-color" content="#319795" />
<link rel="icon" href="/policyengine-logo.png" />
<link rel="apple-touch-icon" href="/policyengine-logo.png" />
<link rel="canonical" href="https://cliff-watch.policyengine.org/" />

<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Cliff Watch | Find Benefit Cliffs as Income Rises" />
<meta property="og:description" content="See where benefits, refundable tax credits, and taxes create resource cliffs as wages and salaries rise. Explore how household income changes affect SNAP, Medicaid, TANF, and more." />
<meta property="og:url" content="https://cliff-watch.policyengine.org/" />
<meta property="og:image" content="https://cliff-watch.policyengine.org/policyengine-logo.png" />
<meta property="og:site_name" content="PolicyEngine" />

<!-- Twitter Card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Cliff Watch | Find Benefit Cliffs as Income Rises" />
<meta name="twitter:description" content="See where benefits, refundable tax credits, and taxes create resource cliffs as wages and salaries rise." />
<meta name="twitter:image" content="https://cliff-watch.policyengine.org/policyengine-logo.png" />

<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Cliff Watch",
"description": "See where benefits, refundable tax credits, and taxes create resource cliffs as wages and salaries rise. Explore how household income changes affect SNAP, Medicaid, TANF, and more.",
"url": "https://cliff-watch.policyengine.org/",
"applicationCategory": "FinanceApplication",
"operatingSystem": "All",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"author": {
"@type": "Organization",
"name": "PolicyEngine",
"url": "https://policyengine.org"
}
}
</script>

<!-- Preconnect to Google Fonts for performance -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" />

<script async src="https://www.googletagmanager.com/gtag/js?id=G-2YHG89FY0N"></script>
<script>
window.dataLayer = window.dataLayer || [];
Expand Down Expand Up @@ -57,6 +105,10 @@
</head>
<body>
<div id="root"></div>
<noscript>
<h1>Cliff Watch by PolicyEngine</h1>
<p>Cliff Watch helps you see where benefits, refundable tax credits, and taxes create resource cliffs as wages and salaries rise. Please enable JavaScript to use this application.</p>
</noscript>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
4 changes: 4 additions & 0 deletions frontend/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://cliff-watch.policyengine.org/sitemap.xml
8 changes: 8 additions & 0 deletions frontend/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://cliff-watch.policyengine.org/</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
</urlset>
2 changes: 1 addition & 1 deletion frontend/src/App.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
/* Inter font loaded via <link> in index.html with preconnect for performance */

:root {
--color-navy: #1E293B;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function App() {
</div>
</header>

<div className="app">
<main className="app">
<InputPanel
metadata={metadata}
inputs={inputs}
Expand All @@ -211,7 +211,7 @@ function App() {
error={error}
seriesError={seriesError}
/>
</div>
</main>
</div>
)
}
Expand Down
Loading