waterloop / waterloop-website-old

Official website of Waterloop
https://teamwaterloop.ca
7 stars 4 forks source link
ejs html javascript nodejs npm

team-website

Official website of teamwaterloop

How to start a server and locally run the website?

Setting up for production

http://pm2.keymetrics.io/docs/usage/deployment/

Maintaining the team roster

All the data is stored within routes/teamStructure.json. The file contains a JSON array of the team. It has the list of members by team alongside the faculty and alumni advisors. Images of team leads are stored in public/images and can be updated in views/team.ejs accordingly

Maintaining the flock pages

All the data is stored within routes/flock.json. The file contains a JSON array of the pods. A pod has few properties:

Adding to downloads

All the data is stored within routes/downloads.json. The file contains a JSON array of the downloads. A download has few properties:

How to add routes?

CSS file documentation

File Name Purpose
style.css Holds the CSS for the entire website

How to use EJS templates?

Styling

Colours:

Element Color
Titles #262626
Sub-titles #27282B
Text (Including Navbar) #808080
Downloads link - Navbar #C1C1C1
Navbar-BG #FFFFFF
Main-BG #FAFAFA
Primary-Gold #FFD550
Secondary-Gold #FFC64F

Fonts:

Fonts
Main Proxima Nova
Secondary 1 Montserrat
Secondary 2 Helvetica

Transparency & Drop-Shadows:

Light: #FCFCFC overlay at 95% opacity.

Dark: #27282B overlay at 75% opacity.

Button drop-shadows: x:0, Y:5, B:5

Style Guide

  1. Two-space indent.
  2. Must run npm run lint and fix all linting errors before committing.