Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sign up banner in staging #1143

Merged
merged 11 commits into from
Feb 14, 2024
1 change: 0 additions & 1 deletion app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<div class="info-banner"><p>In an effort to better serve the needs of users like you, we'd like to hear from you about how we can improve services like this site.&nbsp;</p><a href="https://cdn.forms-content.sg-form.com/baf12d06-9871-11ee-a52c-aee1d8d80675" target="_blank">Click here to sign up.</a></div>
<LabsUi::SiteHeader @responsiveNav={{true}} @responsiveSize="large" as |banner|>
<banner.title>
{{#link-to 'index'}}Population FactFinder{{/link-to}}
Expand Down
18 changes: 11 additions & 7 deletions app/templates/components/default-modal.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<RevealModal @open={{this.openModal}} @closeModal={{this.toggleModal}}>
<h1 class="header-large">
NYC Population FactFinder has been updated with data from the newly released 2020 Census Demographic & Housing Characteristics (DHC) file.
<h1 class='header-large'>
NYC Population FactFinder will soon be updated with 2018-2022 American
Community Survey (ACS) data and with Detailed Race/Ethnicity Responses from
the 2020 Census.
</h1>

<h1 class="header-large mobile-header">
NYC Population FactFinder is optimized for desktop screen widths.
<h1 class='header-large mobile-header'>
NYC Population FactFinder is optimized for desktop screen widths.
</h1>

<p class="lead mobile-body">
Mobile support for NYC Population FactFinder will be added in the future. For the best experience, please use a browser with a minimum width of 1280px.
<p class='lead mobile-body'>
Mobile support for NYC Population FactFinder will be added in the future.
For the best experience, please use a browser with a minimum width of
1280px.
</p>
</RevealModal>
</RevealModal>
4 changes: 2 additions & 2 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ if (environment === 'local-api') {
}

if (environment === 'production') {
ENV['mapbox-gl'].map.style = 'https://labs-layers-api.herokuapp.com/v1/base/style.json';
ENV['ember-mapbox-composer'].host = 'https://labs-layers-api.herokuapp.com';
ENV['mapbox-gl'].map.style = 'https://layers-api.planninglabs.nyc/v1/base/style.json';
ENV['ember-mapbox-composer'].host = 'https://layers-api.planninglabs.nyc';
ENV.SupportServiceHost = process.env.API_URL || 'https://factfinder-api.herokuapp.com';
}

Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ command = "yarn build --environment=staging"

[context.carto-staging]
command = "yarn build --environment=carto-staging"
environment = { CARTO_USERNAME = "dcpadmin" API_URL = "https://factfinder-api-carto-staging.herokuapp.com" }
environment = { CARTO_USERNAME = "dcpadmin", API_URL = "https://factfinder-api-carto-staging.herokuapp.com" }

[context.deploy-preview]
environment = { API_URL = "https://factfinder-api-staging.herokuapp.com" }
Expand Down
Loading