Skip to content

Commit

Permalink
130 added warning copy to CPE map
Browse files Browse the repository at this point in the history
  • Loading branch information
horatiorosa committed Aug 26, 2024
1 parent 41cbd26 commit 4af628a
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 7 deletions.
5 changes: 5 additions & 0 deletions app/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ h1, h2, h3, h4, h5 {
color: #d96b27;
}

.warning-copy {
color: #FFF;
text-decoration: underline;
}

.btn.dcp-orange:hover, .btn.dcp-orange:active {
background-color: #a5501b;
border-color: #a5501b;
Expand Down
58 changes: 51 additions & 7 deletions app/capitalprojects/LandingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,32 @@ class LandingPage extends React.Component {
<section className="header-area" id="about">
<div className="container">
<div className="row">
<div className="col-lg-10 col-lg-offset-1 text-center" style={{ background: '#777', padding: '40px' }}>
<div
className="col-lg-10 col-lg-offset-1 text-center"
style={{ background: "#777", padding: "40px" }}
>
<h1 className="section-heading">NYC Capital Projects</h1>
<p className="subtitle">A new way to explore NYC&apos;s Capital Commitment Plan and Capital Spending</p>
<p className="learn-more"><Link to="/about/capitalprojects">Learn More</Link></p>
<p className="subtitle">
A new way to explore NYC&apos;s Capital Commitment Plan and
Capital Spending
</p>
<p className="learn-more">
<Link to="/about/capitalprojects">Learn More</Link>
</p>
<div className="splash-button-section">
<div className="box all-link">
<Link
to="/capitalprojects/table"
className="btn btn-default"
>
<div className="vertical-align">Search the <br /> Capital Commitment Plan</div>
<div className="vertical-align">
Search the <br /> Capital Commitment Plan
</div>
</Link>
<div className="blurb">
Raw data for all capital projects within the most recent Capital Commitment Plan published by the Mayor’s Office of Management and Budget.
Raw data for all capital projects within the most recent
Capital Commitment Plan published by the Mayor’s Office of
Management and Budget.
</div>
</div>

Expand All @@ -46,13 +58,45 @@ class LandingPage extends React.Component {
to="/capitalprojects/explorer"
className="btn btn-default"
>
<div className="vertical-align">Explore <br /> Capital Projects on a Map</div>
<div className="vertical-align">
Explore <br /> Capital Projects on a Map
</div>
</Link>
<div className="blurb">
Capital projects within the Capital Commitment Plan that NYC Planning has worked with agencies to map - a subset of total planned spending.
Capital projects within the Capital Commitment Plan that
NYC Planning has worked with agencies to map - a subset of
total planned spending.
</div>
</div>
</div>
<div>
The NYC Capital Projects component of NYC DCP&#39;s Capital
Planning Explorer is no longer being updated with the latest
data. To download the latest Capital Projects data, please
refer to &nbsp;
<Link
className="warning-copy"
to="https://data.cityofnewyork.us/City-Government/Capital-Projects-Database-CPDB-Projects/fi59-268w/about_data"
>
NYC Open Data &nbsp;
</Link>
or&nbsp;
<Link
className="warning-copy"
to="https://www.nyc.gov/site/planning/data-maps/open-data.page"
>
Bytes of the Big Apple
</Link>
. For a web map version of the same data, please use &nbsp;
<Link
className="warning-copy"
to="https://experience.arcgis.com/experience/150ca77c6dff4b079b7e079764121afe"
>
CDPB Explorer
</Link>
. Please stay tuned for an updated and enhanced version of
CPE.
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 4af628a

Please sign in to comment.