Nextjs Static Site for DDD East Midlands Website
Branch: master
Clone or download
Latest commit 73351ae Feb 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add contribution docs Dec 8, 2018
components E: Add in Blenheim Chalcot as Gold Sponsor (#32) Feb 3, 2019
data Silver sold out (#35) Feb 14, 2019
pages Enhancement: Add Links to Tech Nott description Feb 3, 2019
static Silver sold out (#35) Feb 14, 2019
theme Fixed map key bugs, general styling and page content update Dec 6, 2018
utils Added GA, needs GA code adding before merging (#20) Jan 11, 2019
.DS_Store Sponsor images added Dec 10, 2018
.gitignore Initial commit Nov 30, 2018
.travis.yml fix path for s3 sync on deploy (#18) Dec 31, 2018
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md Dec 8, 2018
LICENSE Add MIT Licence Dec 8, 2018
README.MD Merge branch 'master' into e/oss-docs Dec 8, 2018
aws_deploy fix cache invalidation path (#17) Dec 31, 2018
next.config.js Favicon (#8) Dec 18, 2018
package-lock.json
package.json E/notable companies grid (#31) Jan 27, 2019
pull_request_template.md Add contribution docs Dec 8, 2018

README.MD

DDD East Midlands

Build Status

Contents

Setup

Branding Guide

Contribution Guidelines

Code of Conduct

Setup

Install it:

npm install

Running the site

To run a local version of the site with hot reload run:

npm run dev

To run a local copy of the site without hot reloading, mimicking a live environment run:

npm run start

Exporting the site

Run the following 2 commands

npm run build npm run export

This will build all assets and pages followed by exporting all to the out folder.

This can then be uploaded into any static site hosting.

If you want to test the exported site you can install the serve module

npm install -g serve

The cd out and run

serve -p 8080

Branding Guide

When making aesthetic changes to the site, please try to keep to our branding.

This follows the following theme palette:

theme.palette = {
    primary: '#1A7D87',
    secondary: '#C01439',
    tertiary: '#1A1E1E',
    quaternary: '#B5C6C4',
    light: '#FFFFFF',
    dark: '#000000',
}