This repository contains the source code for the University of Guelph homepage (https://www.uoguelph.ca).
- Install NPM
- Install Git
- Install the Gatsby CLI
- Clone this repository
- Run NPM clean install:
npm ci
- Start the Gatsby development server:
cd doorknob gatsby develop
- Build the site
npm run build
- Start the Gatsby server:
gatsby serve
Most of the landing pages are implemented as Gatsby pages (in the
src/pages directory.) Pages that require dynamic queries have (such as
the index or news page) have templates (under src/templates.) Pages and
templates define the page layout. Content is defined by components under
src/components.
.
|-- LICENSE
|-- README.md
|-- gatsby-config.js
|-- gatsby-node.js
|-- src
| |-- components Components.
| |-- images Image data.
| |-- pages Page definitions.
| |-- templates Template definitions.
`-- static
This repository uses Snowdrop, a University of Guelph themed front-end framework based on Bootstrap.