Skip to content

McGillAISociety/MAISHacks2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAIS Hacks 2020 Website

This single page React site was built for the virtual first edition of McGill AI's hackathon MAIS Hacks. It can be viewed at https://maishacks.com.

This project was bootstrapped with Create React App.

Styling Notes

Theme Colours: Dark blue: #0C113D Medium blue: #647CBD Light blue: #9BAAD7 #d1f7ff

Dark purple: #2D0C33 Medium purple: #5D518C Light Purple: #D2BBD4

Background: #38227D

@media and screen dimensions

bbc.com: 600px, 1008px, 1280px

implementai: 640px, 1025px, max-width

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Deployment

Deployment is a little finnicky.

Make sure you have yarn add gh-pages. First, run yarn run deploy in the root directory of the repository. This will create an optimized build of the site and push it to the remote gh-pages branch. For some reason, this also overwrites the Custom domain we have set for this project. You'll then need to go to this project's Settings page, scroll to the Github pages section, and fill in the Custom domain text box (which is now empty) with maishacks.com. Do NOT prepend maishacks.com with www. or https://. Your new site should now be deployed!

About

MAIS Hacks 2020 website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •