Skip to content

unihackhq/unihack.net

Folders and files

NameName
Last commit message
Last commit date
Dec 2, 2024
Feb 29, 2024
Dec 2, 2024
Jul 14, 2024
Dec 2, 2024
Dec 2, 2024
Dec 2, 2024
Dec 2, 2024
Sep 27, 2021
Nov 5, 2022
Nov 5, 2022
Nov 5, 2022
Sep 19, 2021
Mar 4, 2022
Mar 4, 2022
Oct 25, 2021
Feb 28, 2021
Sep 12, 2021
Oct 10, 2023
Oct 10, 2023
Oct 10, 2023
Oct 10, 2023
Oct 25, 2021
Oct 10, 2023
Nov 22, 2021
Mar 1, 2021

Repository files navigation

UNIHACK Site - unihack.net

All Contributors

Powered by Vercel

This is the source code that powers the unihack.net website. This website is running on the Next.js framework, using both TypeScript and SASS.

Getting Started

Requirements

You will need:

  • Node 10.x or above

Installing

You should be able to install all the dependencies by running the following command:

npm install

Running Locally

You can run this locally in development mode by running the following command:

npm run dev

To use the environment variables you will need the vercel CLI:

npm i -g vercel

You can pull the environment variables by running the following command and following the prompt:

vercel env pull

Development mode includes hot-code reloading, error reporting and other functionality from Next.js. You can read more here

To view the website, visit http://localhost:3000.

You can also run it locally in "production mode" - which allows you to see what the site looks like when deployed before you merge. You can do this by:

npm run build
npm start

You can read more about production mode here

Linting

We use tslint to ensure code consistency, readability, and maintainability. You can run this through:

npm run lint

Folder Structure

  • components: Primitive React components used on our website
  • content: Content and JSON blobs (e.g. judge biographies, event information)
  • layouts: Core layouts
  • pages: Next.js pages
  • public: Next.js location to serve static files (e.g. images, robots.txt)
  • sections: Page sections - takes in content and components
  • styles: Global styles and SASS stylesheet variables

Image Component

This website uses next.js image component to render images. Please use instead of when declaring images. More information here: https://nextjs.org/docs/api-reference/next/image

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Anthony Roberts

πŸ’» 🎨 πŸ”£

Terence Huynh

πŸ’» 🎨 πŸ”£

Josh Parnham

πŸ’»

sameersyedhd

πŸ’»

Erfan

πŸ’»

GhinaY

πŸ’»

Daniel Sykes-Turner

πŸ’»

Hugo

πŸ’»

sph-huynh

πŸ’»

Nick Ang

πŸ’»

Austin (Thang Pham)

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

Third Party Libraries

Our emojis come from Twitter's Twemoji library. \n Copyright 2020 Twitter, Inc and other contributors. \n Code licensed under the MIT License: http://opensource.org/licenses/MIT \n Graphics licensed under CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/