The website for HackTJ 7.5, held on December 12th-13th, 2020.
yarn install
We use ReactJS.
- update the color scheme in all the CSS files
- README
- fix years/information
src/MainPage/Landing/MLHTrustBadge
- update the badge to the correct year
src/MainPage/Landing/index.jsx
- update the event date, venue, and URLs
- change "2019 Pictures" to "2020 Pictures" and update its URL
- update the URL of "Past Projects"
src/MainPage/RegistrationInfo/index.jsx
- update registration start date
- update admissions decisions date
src/MainPage/Schedule/index.jsx
- update the schedule
src/MainPage/Sponsors/index.jsx
andsrc/images/sponsors
andsrc/images/partners
- update the sponsor logos, maintain ordering by donation amount
src/MainPage/Statistics/index.jsx
- update demographic data (
schoolData
,genderData
,ethnicityData
, andgraduationData
)
- update demographic data (
src/MainPage/Team/index.jsx
andsrc/images/team
- update team member pictures and descriptions
src/MainPage/VenueMap/index.jsx
- update the coordinates to match the venue
src/images/bigweblogo.png
,src/images/bkg.png
, andsrc/images/logo.png
- update branding images' colors
yarn run start
: starts a server on port 3000 and watches files for changes, compiling them on the flyyarn run build
: compiles all files to thebuild/
directory but doesn't watch for changes or start a serveryarn run deploy-event
: pushes to thegh-pages
branch of this repository and deploys the site to hacktj.org/202xyarn run deploy-homepage
: pushes to the hacktj.github.io repo and deploys the site to https://hacktj.orgyarn run deploy-all
: shortcut for bothyarn run deploy-event
andyarn run deploy-homepage
In the case that one of the endpoints (/2020 or /) doesn't work but the other does, immediately set up a hardcoded redirect in the nonfunctional repository to redirect to the correct site.
- click "Use this template" (next to the clone or download dropdown) and name the new repository
2021
, under the HackTJ organization—that way it will be displayed on our website at https://hacktj.org/2021 while leaving the old website up at https://hacktj.org/2020 - all of the deploy commands involve running the
switch
script in this repository- if you notice that this script deletes the content of either
public/index.html
orsrc/App.js
, immediately quit the deploy script and restore the contents withgit
and retry theyarn
script until it works
- if you notice that this script deletes the content of either
- the
deploy-event
script doesn't commit the source code to the repository's master branch, it only commits the built code- you should commit the source code to the
master
branch each time you deploy- before you commit to
master
, always make sure you runyarn run switch-event
- if you need to, create a pre-commit hook to automatically do this
- before you commit to
- you should commit the source code to the
- don't run
git pull
afteryarn run switch-homepage
- only pull when you're set up for the event repository