Skip to content

Commit

Permalink
homepage revision - line breaks and user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-jie-samuel-tan committed Jun 12, 2022
1 parent 6b0d747 commit a7eda79
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 16 deletions.
10 changes: 5 additions & 5 deletions database/MATchMapper/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['0.0.0.0', 'localhost', '127.0.0.1','matchmapper-dev.herokuapp.com','dev.matchmapper.org']
ALLOWED_HOSTS = ['0.0.0.0', 'localhost', '127.0.0.1','matchmapper-philly.herokuapp.com','www.matchmapper.org', 'matchmapper.org']

# Application definition

Expand Down Expand Up @@ -94,13 +94,13 @@

'ENGINE': 'django.db.backends.postgresql_psycopg2',

'NAME': os.environ["DEVDBNAME"],
'NAME': os.environ["DBNAME"],

'USER': os.environ["DEVDBUSER"],
'USER': os.environ["DBUSER"],

'PASSWORD': os.environ["DEVDBPASSWORD"],
'PASSWORD': os.environ["DBPASSWORD"],

'HOST': os.environ["DEVDBHOST"],
'HOST': os.environ["DBHOST"],

'PORT': os.environ["DBPORT"],

Expand Down
1 change: 0 additions & 1 deletion database/bupehandler/static/js/main.95ff17a5.chunk.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions database/bupehandler/static/js/main.aad40431.chunk.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions database/bupehandler/templates/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"files": {
"main.css": "/static/css/main.182eb990.chunk.css",
"main.js": "/static/js/main.95ff17a5.chunk.js",
"main.js.map": "/static/js/main.95ff17a5.chunk.js.map",
"main.js": "/static/js/main.aad40431.chunk.js",
"main.js.map": "/static/js/main.aad40431.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.47b081c5.js",
"runtime-main.js.map": "/static/js/runtime-main.47b081c5.js.map",
"static/css/2.72fc2a6a.chunk.css": "/static/css/2.72fc2a6a.chunk.css",
Expand All @@ -23,6 +23,6 @@
"static/css/2.72fc2a6a.chunk.css",
"static/js/2.1350e920.chunk.js",
"static/css/main.182eb990.chunk.css",
"static/js/main.95ff17a5.chunk.js"
"static/js/main.aad40431.chunk.js"
]
}
2 changes: 1 addition & 1 deletion database/bupehandler/templates/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="What treatment resources are available for opioid use disorder in and near Philadelphia? Try this free tool to search several excellent public directories at once"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>MATchMapper Philadelphia</title><link href="/static/css/2.72fc2a6a.chunk.css" rel="stylesheet"><link href="/static/css/main.182eb990.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,a,i=r[0],c=r[1],l=r[2],p=0,s=[];p<i.length;p++)a=i[p],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var c=t[i];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"58059995"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){i.onerror=i.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(r)},a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpmatchmapper-frontend"]=this["webpackJsonpmatchmapper-frontend"]||[],c=i.push.bind(i);i.push=r,i=i.slice();for(var l=0;l<i.length;l++)r(i[l]);var f=c;t()}([])</script><script src="/static/js/2.1350e920.chunk.js"></script><script src="/static/js/main.95ff17a5.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="What treatment resources are available for opioid use disorder in and near Philadelphia? Try this free tool to search several excellent public directories at once"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>MATchMapper Philadelphia</title><link href="/static/css/2.72fc2a6a.chunk.css" rel="stylesheet"><link href="/static/css/main.182eb990.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,a,i=r[0],c=r[1],l=r[2],p=0,s=[];p<i.length;p++)a=i[p],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var c=t[i];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"58059995"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){i.onerror=i.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(r)},a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpmatchmapper-frontend"]=this["webpackJsonpmatchmapper-frontend"]||[],c=i.push.bind(i);i.push=r,i=i.slice();for(var l=0;l<i.length;l++)r(i[l]);var f=c;t()}([])</script><script src="/static/js/2.1350e920.chunk.js"></script><script src="/static/js/main.aad40431.chunk.js"></script></body></html>
6 changes: 3 additions & 3 deletions database/react-frontend/src/pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AboutPage extends Component {
Please do not hesitate to <a href="mailto:matchmapper.philadelphia@gmail.com">contact us</a> with questions and
suggestions.</p>
<p align='center'><img src={skyline} width="85%"/></p>
<h2 id="data-sources"></br>Data Sources</h2>
<h2 id="data-sources"><br/>Data Sources</h2>
<p>MATchMapper builds on the excellent work of existing projects to produce an extensive, up-to-date database of
treatment resources. The original data sources can be found below:</p>
<h3 id="philadelphia-department-of-behavioral-health-and-intellectual-disability-services">Philadelphia Department
Expand All @@ -42,11 +42,11 @@ class AboutPage extends Component {
<p><a href="https://healthfederation.org/Members" rel="noopener" target="_blank">Community Health Center Directory</a></p>
<h3 id="health-resources-and-services-administration">Health Resources and Services Administration</h3>
<p><a href="https://findahealthcenter.hrsa.gov" rel="noopener" target="_blank">Federally Qualified Health Center Finder</a></p>
<h2 id="user-guide"></br>User Guide</h2>
<h2 id="user-guide"><br/>User Guide</h2>
<p><a href="https://docs.google.com/presentation/d/e/2PACX-1vRcWxA8n3wrlI-rcedAdyZoA5f15Ce-aKfw8WJWGG8U7zW076zjU85BQcmeQynySCH7b3Y7Qu2UUkTD/pub?start=false&loop=false&delayms=3000" rel="noopener" target="_blank">
Open in separate tab</a></p>
<iframe src="https://docs.google.com/presentation/d/e/2PACX-1vRcWxA8n3wrlI-rcedAdyZoA5f15Ce-aKfw8WJWGG8U7zW076zjU85BQcmeQynySCH7b3Y7Qu2UUkTD/embed?start=false&loop=true&delayms=5000" frameborder="0" width="96%" height="480" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
<h2 id="the-team"></br>The Team</h2>
<h2 id="the-team"><br/>The Team</h2>
<p><a href="https://codeforphilly.org/projects/matchmapper" rel="noopener" target="_blank">MATchMapper</a> is a project of <a
href="https://codeforphilly.org" rel="noopener" target="_blank">Code for Philly</a>, the local chapter of <a
href="https://www.codeforamerica.org" rel="noopener" target="_blank">Code for America</a>, a nation-wide not-for-profit network of
Expand Down
2 changes: 2 additions & 0 deletions database/staticfiles/js/main.aad40431.chunk.e70afbb7538c.js

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 2 additions & 0 deletions database/staticfiles/js/main.aad40431.chunk.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
Binary file added database/staticfiles/js/main.aad40431.chunk.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions database/staticfiles/js/main.aad40431.chunk.js.map

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion database/staticfiles/staticfiles.json

Large diffs are not rendered by default.

0 comments on commit a7eda79

Please sign in to comment.