Skip to content

MillburnHacks/millburnhacks.github.io

Repository files navigation

millburnhacks

This is the source code for Millburn Hacks' website. It uses the MIT license.

Before using the website, make sure to install all required packages with

npm install

To run the server for development, run the following command to have Gulp watch for changes in SCSS files, Webpack watch for changes in app/, and Firebase run the server on localhost:5000 all at once.

npm run dev

To lint (i.e. check for code errors and warnings), run npm run lint. Note that you cannot commit any changes if they fail the lint.

To deploy the current code, run npm run deploy.

The app folder has the client code, which handles most of the app's functionality. The styles folder has the stylesheets.

Data structure

A club follows the following structure:

{
  name: "Category Theory Club",
  meetings: {
    // time: location
    "Monday": "room 110",
    "Tuesday": "room 109"
  },
  slogan: "Learn about abstract nonsense",
  officers: {
    // name: title
    // title and name can be any string
    "John Doe": "President",
    "Mark O'Hallie": "Vice President"
  }
}

A club should also have a description.md file stored as "gs://club/:clubID/description.md" and an image.png file next to it.

An event has the following structure:

{
  name: "Abhinav's Birthday",
  date: { yyyy: 1999, mm: 01, dd: 24 }, // 1999 January 24
  clubID: "ai", // optional
  registrationLink: "https://docs.google.com/forms/d/oiewhgoiwehg" // any link is supported
}

An event should also have a description.md file stored as "gs://event/:eventID/description.md" and an image.png file next to it.

Page structure

The App component marks all pages with the page class, allowing the Sass to select the pages.

A page is divided into sections, which fill the screen.

A banner is a section whose children are centered in both axes and has a slightly lighter colour.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published