Emergency website for the Tubb's, Nunn's and other fire emergency in Sonoma County
Go to file
Dana Woodman 82ed33f715 Change link to source code on about page 2017-10-20 12:46:53 +07:00
.vscode Add map and more info 2017-10-09 20:11:31 -07:00
FireResponse Added translations 2017-10-15 21:12:54 +00:00
components Change link to source code on about page 2017-10-20 12:46:53 +07:00
images Add Chimera sponsor 2017-10-14 15:04:40 -07:00
.babelrc Make search work better, normalize data, remove old code 2017-10-12 14:55:13 -07:00
.gitignore
.prettierrc Undo prettier change 2017-10-14 13:26:22 -07:00
CNAME Change CNAME 2017-10-16 16:30:06 -07:00
Dockerfile Added dockerfile 2017-10-14 00:19:32 +00:00
Makefile gcp 2017-10-14 00:31:32 +00:00
app.js Complete rewrite: new nav, more efficient loading, etc.... 2017-10-13 17:37:27 -07:00
build.1e68ba432e2563c90f6d.js Change link to source code on about page 2017-10-20 12:46:53 +07:00
config.js Add testimony (and build) 2017-10-20 09:23:34 +07:00
fetch-resources.js Add spanish section, remove empty items 2017-10-14 18:23:32 -07:00
index.html Change link to source code on about page 2017-10-20 12:46:53 +07:00
kube.yml gcp 2017-10-14 00:31:32 +00:00
output.css Minor cleanup to subsection list 2017-10-20 12:13:58 +07:00
package-lock.json Added searchable subsections to sections if any, closes #10 2017-10-19 22:09:12 -07:00
package.json Google analtyics on route changes 2017-10-15 13:26:50 -07:00
readme.md Add some readme notes 2017-10-20 09:22:14 +07:00
styles.scss Minor cleanup to subsection list 2017-10-20 12:13:58 +07:00
template.html Add google apps verification <meta> tag 2017-10-20 11:32:06 +07:00
webpack.config.babel.js Add google translate back in 2017-10-15 18:00:59 -07:00
yarn.lock Minify code, add animal shelters 2017-10-10 16:49:35 -07:00

readme.md

SonomaFireInfo.com

Code that runs the http://sonomafireinfo.com website.

This is based on Github pages and utilizes React/WebPack/Babel for the interactive components. All data is loaded cia AirTable lists (email info@chimeraarts.org to be added).

Setup

# Install nvm first then:
nvm install
nvm use

# Install dependencies
npm install

# Run locally
npm run dev

Contributing

  • The config.js file contains code that generates the main menus as well as does the API requests
    • To add a new menu item, add an entry to sections
      • The order is important when adding items into sections
    • Add an item to resources as well if the page is not a custom page
      • If a standard resource, add to the resources list and this will get passed into the <GenericList> component as props.
    • If custom, add a route to your custom component in application.js
  • Check issues list for how to contribute
  • Submit a PR describing what you did
  • Test on mobile! 60-80% of users are on mobile.
  • Commit compiled code with your PR
  • Document if you can