unihackhq / unihack.net

UNIHACK Website

Home Page:https://unihack.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

UNIHACK Website

https://unihack.net

License:MIT License


Languages

Language:TypeScript 61.5%Language:SCSS 33.5%Language:MDX 4.4%Language:JavaScript 0.5%Language:HTML 0.0%