Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Better people json #16 Apr 18, 2019
.babelrc
.editorconfig Add editorconfig file Apr 12, 2019
.eleventy.js
.gitignore JS build via webpack Apr 18, 2019
package-lock.json Add SCSS to the pipeline Apr 18, 2019
package.json
readme.md Add people info to readme Apr 18, 2019
webpack.common.js Add SCSS to the pipeline Apr 18, 2019
webpack.dev.js JS build via webpack Apr 18, 2019
webpack.prod.js JS build via webpack Apr 18, 2019

readme.md

Kingdom Code

Editing the events

Events are stored in src/_data/events.json

Add new events at the top in the format:

  {
    "name": "Meetup",
    "date": "2018-10-18",
    "url": "https://eventbrite.com/…",
    "description": "This is an event description"
  },

Adding people

People are stored in src/_data/people.json

Add a new person with the format:

  {
    "name": "Patrick Bokšan-Cullen",
    "team": ["London"],
    "img": "patrick.jpg",
    "bio": "Patrick looks after microBUILD in London."
  },

Avatars should be saved to src/_assets/_img/people

Development

To get this up and running on your own computer you need to have Node and NPM installed. Find out how here.

Once you have installed NPM in the command line run the following line in this folder:

  • npm install
  • npm run dev

You'll now have a local server running at http://localhost:8080.

This is built on top of Eleventy because it is great. One of the nice things about 11ty is it's super simple documentation.

Behind the scenes Webpack is handling JS (src/_assets/_js) and SCSS (src/_assets/_scss).

Deploy

npm run build

You can’t perform that action at this time.