This repository houses the source code for UNSW Co-op Society's website, hosted at https://coopsoc.com.au and written in Next.js. Visit our website and explore around!
Before running the website, please ensure that the following is installed:
To run the website on your local machine, do the following:
git clone https://github.com/coopsoc/coopsoc.com.au
.yarn install
to install all required packages.yarn dev
to launch the website. After executing this command, the website
should be available at http://localhost:3000
, where any edits made to the
website's source code should be immediately reflected on the webpage.Change const showNominations
to true
or false
in pages/nominations.tsx
to enable or disable nominations.
Change export const isMerchActive = (): boolean => false;
to true
in scripts/merch.ts
to enable merch.
The first version of the website was written by the 2020 Co-op Soc IT director, Vincent Chen.
The React rewrite of the website was done by the 2021 IT subcom:
This was then ported over to Next.js and improved on by the 2022 IT subcom:
This website was originally built using CreativeTim's Argon Design System for React, and heavily modified to work with Next.js.