Skip to content

hackupc/old-v2-hackupc-landing

Repository files navigation

HackUPC landing page

Netlify Status CI

HackUPC landing preview

Hi! This is the code of the HackUPC landing page.

Develop

Clone the repo, install nvm, install Node.js with nvm, and install the dependencies with npm the first time:

git clone git@github.com:hackupc/hackupc-landing.git
cd hackupc-landing

# Install nvm
# Copy the command from here: https://github.com/nvm-sh/nvm#installing-and-updating

nvm install
nvm use

npm install

Use npm run start to compile and serve the build directory in real-time. It reloads every time there's a change. Then view the website at https://localhost:3000

npm run start

Whenever you want, fix auto-fixable lint errors and format files:

  npm run lint:eslint
  npm run lint:stylelint
  npm run lint:prettier

Tips

  • Use VS code, there's the .vscode folder with a good workspace configuration. It will be applied automatically.
  • Install ESlint and Prettier extensions.

If you're unfamiliar with modern vanilla websites, check this video from CodelyTV (in Spanish) to understand the reasoning and benefits of this kind of architectures.

Deploy

Push to master. Netlify will build and deploy automatically.

If you push something that doesn't build, don't worry, it won't be published.

Support

If you need help understanding something about this repo you can ask the previous developers. The ones that made the 2021 edition are:

License

MIT © Hackers@UPC