Site for the Together Science Can campaign.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
components
content
infra
static
.eslintrc.json
.gitignore
LICENSE
README.md
circle.yml
clean-dist.sh
deploy.sh
index.js
package-lock.json
package.json
robots.txt
webpack.config.dev.js
webpack.config.prod.js

README.md

TSC logo

togethersciencecan.org

This is a single-page site for the #TogetherScienceCan campaign. It is designed as a static site generated from JSON, which means it's very lightweight and extensible.

Requirements

  • Node.js v6.10+

Development

  • all frontend code is located in the components directory
  • individual UI components are located in their own folders with a corresponding Nunjucks template, SCSS file and optionally an ES6 JavaScript module
  • npm run build will build the HTML/CSS/JS bundles. Append :dev for a faster, unoptimized build.
  • npm run watch will rebuild the HTML page and CSS/JS bundles if anything in /components changes