-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1366 from massenergize/rewiring-america
feat: #1298 Add rewiring america route
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from "react"; | ||
import Seo from "../Shared/Seo"; | ||
import { useSelector } from "react-redux"; | ||
import URLS from "../../api/urls"; | ||
|
||
function RewiringAmerica() { | ||
const community = useSelector((state) => state?.page?.community); | ||
return ( | ||
<div style={{ paddingTop: 50 }}> | ||
{Seo({ | ||
title: "Rewiring America", | ||
description: "", | ||
url: `${window?.location?.pathname}`, | ||
site_name: community?.name, | ||
})} | ||
<div style={{ width: "100%", height: "100vh", background: "white" }}> | ||
<iframe | ||
src={`${URLS.ROOT}/rewiring_america`} | ||
title="Rewiring America" | ||
style={{ | ||
width: "100%", | ||
height: "100%", | ||
border: "none", | ||
overflow: "hidden", | ||
}} | ||
></iframe> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default RewiringAmerica; |