Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeclark committed Jan 21, 2021
2 parents cd9fac4 + 346d1fc commit 29c0358
Show file tree
Hide file tree
Showing 7 changed files with 481 additions and 703 deletions.
1 change: 1 addition & 0 deletions config/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
window.API_HOST = 'http://localhost:4000'
window.CONTRIBUTE_HOST = 'http://localhost:4001'
window.GTM_ID = ''
window.BASE_URL = 'example.com'
window.STREETS_TILE_LAYER_URL = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
Expand Down
1,163 changes: 467 additions & 696 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@fortawesome/fontawesome-svg-core": "^1.2.22",
"@fortawesome/free-brands-svg-icons": "^5.10.2",
"@fortawesome/react-fontawesome": "^0.1.4",
"@smartcitiesdata/react-discovery-ui": "^1.4.0",
"@smartcitiesdata/react-discovery-ui": "^1.5.0",
"react": "~16.8.6",
"react-dom": "~16.8.6",
"react-hamburger-button": "0.0.1",
Expand Down
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

cat > /usr/share/nginx/html/config.js <<EOL
window.API_HOST = '${API_HOST}'
window.CONTRIBUTE_HOST = '${CONTRIBUTE_HOST}'
window.GTM_ID = '${GTM_ID}'
window.BASE_URL = '${BASE_URL}'
window.STREETS_TILE_LAYER_URL = '${STREETS_TILE_LAYER_URL}'
Expand Down
8 changes: 5 additions & 3 deletions src/components/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ const Footer = props => {
<ul>
<li><a href={`https://${window.BASE_URL}/about/about-smart-columbus`}>About Us</a> </li>
<li><a href={`https://${window.BASE_URL}/data`}> Explore Data</a > </li>
<li><a href={`https://d2rfd3nxvhnf29.cloudfront.net/2019-09/SCC-D-Data%20Privacy%20Plan-FINAL-20190906%5B1%5D_0.pdf`}> Data Privacy Plan</a > </li>
<li><a href={`https://www.smartcolumbusos.com/images/2020/PDF/Data-Privacy-Plan.pdf`} target="_blank"> Data Privacy Plan</a > </li>
<li><a href={`https://${window.BASE_URL}/about/the-power-of-data`}>The Power of Data</a> </li>
<li><a href={`https://data.smartcolumbusos.com/api/v1/data_json`}>Data Inventory</a> </li>
<li><a href={`https://d2rfd3nxvhnf29.cloudfront.net/2019-08/Smart%20Columbus%20Data%20Management%20Plan-%2020190822_0.pdf`}> Data Management Plan</a > </li>
<li><a href={`https://www.smartcolumbusos.com/images/2020/PDF/SCC-E-DataManagementPlan-Update-v1.pdf`} target="_blank"> Data Management Plan</a > </li>
<li><a href={`https://${window.BASE_URL}/data-stories`}>Impact Stories</a> </li>
<li><a href={`https://data.smartcolumbusos.com/tableau/connector.html`}>Tableau Web Connector</a> </li>
<li><a href={`https://${window.BASE_URL}/images/Assets/SCC_De-Identification_Policy_20190917_update.pdf`}> De-Identification Policy</a > </li>
<li><a href={`https://www.smartcolumbusos.com/images/Assets/SCC_De-Identification_Policy_20190917_update.pdf`} target="_blank"> De-Identification Policy</a > </li>
<li><a href={`https://${window.BASE_URL}/contact-us`}>Contact Us</a> </li>
<li><a href={`https://${window.BASE_URL}/about/terms-of-use`}>Terms of Use</a> </li>
<li><a href={`https://${window.BASE_URL}/about/privacy-policy`}>Privacy Policy</a> </li>
</ul>
</div>
<div className="footerRight">< img src={smartStart} /></div>
Expand Down
3 changes: 1 addition & 2 deletions src/components/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ export default class Header extends Component {
items: [
{ link: `https://www.${window.BASE_URL}/about/about-smart-columbus`, text: "About Smart Columbus" },
{ link: `https://www.${window.BASE_URL}/about/smart-city-projects`, text: "Smart City Projects" },
{ link: `https://www.${window.BASE_URL}/tools/how-to-use-this-site`, text: "How to Use The SCOS" },
{ link: `https://www.${window.BASE_URL}/about/privacy-policy`, text: "Privacy Policy" }
{ link: `https://www.${window.BASE_URL}/tools/how-to-use-this-site`, text: "How to Use The SCOS" }
]
}

Expand Down
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = (env, argv) => {
use: [{ loader: 'svg-inline-loader' }]
},
{
test: /\.(css|scss)$/,
test: /\.css$/,
use: [
'style-loader',
{
Expand All @@ -90,6 +90,10 @@ module.exports = (env, argv) => {
},
'sass-loader'
]
},
{
test: /\.scss$/,
use: ["style-loader", "css-loader", "sass-loader"]
}
]
},
Expand Down

0 comments on commit 29c0358

Please sign in to comment.