mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-07 19:04:18 -07:00
Allows the user to download CBG list (#318)
* adds initial download CBG box * componentize download packet, adds e2e tests * changes download file url in test to smaller size * improve testing functions * removes underline, colors icon * replace csv with zip for safari security issue
This commit is contained in:
parent
0316906a69
commit
33c3288160
10 changed files with 195 additions and 24 deletions
|
@ -1,5 +1,12 @@
|
|||
$primary-color: #112f4e;
|
||||
|
||||
.disclaimer {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 21px;
|
||||
margin-left: 49px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
line-height: 25px;
|
||||
|
||||
.textBox {
|
||||
flex: 2;
|
||||
max-width: 700px;
|
||||
}
|
||||
}
|
||||
|
|
1
client/src/pages/cejst.module.scss.d.ts
vendored
1
client/src/pages/cejst.module.scss.d.ts
vendored
|
@ -1,6 +1,7 @@
|
|||
declare namespace CejstModuleScssNamespace {
|
||||
export interface ICejstModuleScss {
|
||||
disclaimer: string;
|
||||
textBox: string;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,37 +3,58 @@ import Layout from '../components/layout';
|
|||
import MapWrapper from '../components/mapWrapper';
|
||||
import HowYouCanHelp from '../components/HowYouCanHelp';
|
||||
import MapLegend from '../components/mapLegend';
|
||||
import DownloadPacket from '../components/downloadPacket';
|
||||
import * as styles from './cejst.module.scss';
|
||||
|
||||
|
||||
interface IMapPageProps {
|
||||
location: Location;
|
||||
}
|
||||
|
||||
|
||||
const CEJSTPage = ({location}: IMapPageProps) => {
|
||||
// We temporarily removed MapControls, which would enable you to `setFeatures` also, for now
|
||||
// We will bring back later when we have interactive controls.
|
||||
return (
|
||||
<Layout location={location}>
|
||||
<main id="main-content" role="main">
|
||||
<h2>Just Progress communities</h2>
|
||||
<p className={styles.disclaimer}>
|
||||
Just Progress helps identify and prioritize communities across the
|
||||
United States and U.S. territories that have been historically
|
||||
overburdened and underserved. These communities will receive 40% of
|
||||
the benefits from investments in key areas outlined by the
|
||||
<a
|
||||
href={'https://www.whitehouse.gov/briefing-room/' +
|
||||
'presidential-actions/2021/01/27/' +
|
||||
'executive-order-on-tackling-the-climate-' +
|
||||
'crisis-at-home-and-abroad/'}
|
||||
target={'_blank'}
|
||||
rel={'noreferrer'}>
|
||||
Executive Order on Tackling the Climate Crisis at Home and
|
||||
Abroad</a>.
|
||||
</p>
|
||||
|
||||
<section>
|
||||
<h2>Just Progress communities</h2>
|
||||
<div className={styles.disclaimer}>
|
||||
<div className={styles.textBox}>
|
||||
<p>
|
||||
Just Progress helps identify and prioritize communities across the United States and U.S. territories
|
||||
that have been historically overburdened and underserved. These communities will receive 40% of
|
||||
the benefits from investments in key areas outlined by the
|
||||
|
||||
<a
|
||||
href={'https://www.whitehouse.gov/briefing-room/' +
|
||||
'presidential-actions/2021/01/27/' +
|
||||
'executive-order-on-tackling-the-climate-' +
|
||||
'crisis-at-home-and-abroad/'}
|
||||
target={'_blank'}
|
||||
rel={'noreferrer'}>
|
||||
Executive Order on Tackling the Climate Crisis at Home and Abroad
|
||||
</a>.
|
||||
</p>
|
||||
<p>
|
||||
Download the Just Progress packet or explore the map below to see the list of prioritized communites. To
|
||||
learn more about how these communities were prioritized check out the
|
||||
|
||||
<a
|
||||
href={'./methodology'}>
|
||||
Methodology
|
||||
</a>
|
||||
|
||||
page.
|
||||
</p>
|
||||
</div>
|
||||
<DownloadPacket />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<h2>Explore the Tool</h2>
|
||||
<MapWrapper/>
|
||||
<MapWrapper />
|
||||
<MapLegend />
|
||||
<HowYouCanHelp />
|
||||
</main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue