Skip to content

Commit

Permalink
Merge pull request #1866 from PolicyEngine/MaxGhenis/issue1865
Browse files Browse the repository at this point in the history
Add state EITC / CTC app
  • Loading branch information
anth-volk authored Jun 11, 2024
2 parents 467a7e6 + 5654bfc commit 97aa4a1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PolicyEngine.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import CitizensEconomicCouncil from "./applets/CitizensEconomicCouncil";
import APIDocumentationPage from "./pages/APIDocumentationPage";
import CookieConsent from "./modals/CookieConsent";
import TrafwaCalculator from "./applets/TrafwaCalculator";
import StateEitcsCtcs from "./applets/StateEitcsCtcs";
import AuthCallback from "./layout/AuthCallback";
import UserProfilePage from "./pages/UserProfilePage";
import PrivacyPage from "./pages/PrivacyPage";
Expand Down Expand Up @@ -332,6 +333,7 @@ export default function PolicyEngine({ pathname }) {
path="/us/trafwa-ctc-calculator"
element={<TrafwaCalculator />}
/>
<Route path="/us/state-eitcs-ctcs" element={<StateEitcsCtcs />} />

{/* redirect from /countryId/blog/slug to /countryId/research/slug */}
<Route
Expand Down
27 changes: 27 additions & 0 deletions src/applets/StateEitcsCtcs.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import Header from "../layout/Header";
import { Helmet } from "react-helmet";

export default function StateEitcsCtcs() {
return (
<>
<Helmet>
<title>State EITCs and CTCs | PolicyEngine</title>
</Helmet>
<Header />
<div
style={{
display: "flex",
justifyContent: "center",
}}
>
<iframe
src="https://us-state-eitcs-ctcs.streamlit.app?embedded=true"
title="State EITCs and CTCs"
height="800"
width="1000"
style={{ overflow: "hidden" }}
/>
</div>
</>
);
}

0 comments on commit 97aa4a1

Please sign in to comment.