Source code for Potentia Robotics' website
Go to file
2021-03-05 18:09:52 -05:00
public Fix bootstrap formatting 2021-03-05 18:09:52 -05:00
src Fix bootstrap formatting 2021-03-05 18:09:52 -05:00
studio initialized react and sanity projects 2020-12-25 00:53:10 -05:00
.gitignore finished hero 2020-12-26 02:32:16 -05:00
LICENSE Initial commit 2020-11-28 18:21:09 -05:00
package-lock.json Changes to sponsors page 2021-03-05 00:54:36 -05:00
package.json Changes to sponsors page 2021-03-05 00:54:36 -05:00
README.md docs: fixed install instructions on readme 2021-02-03 10:23:38 -05:00
yarn.lock Added modal 2021-03-03 20:11:31 -08:00

website

Source for TJHRC's website built with Sanity and React.

Setup

When setting this project up for the first time, first download Node.js if you haven't already from here: https://nodejs.org/en/download/, and install yarn:

npm install -g yarn

Then clone the project and run:

cd website
yarn install

Running

After you've set up the project for the first time, simply run:

yarn start

And you should see the website load and show up in your browser, at the address https://http://localhost:3000/.

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 cant go back!

If you arent 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 youre on your own.

You dont have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.