New format

This commit is contained in:
ramnreddy15 2021-04-24 19:59:04 -07:00
parent 9ceffb3580
commit 7cbce8d0fb
No known key found for this signature in database
GPG Key ID: C539306B6E7B93D9
42 changed files with 2338 additions and 2030 deletions

75
.gitignore vendored
View File

@ -1,41 +1,48 @@
# Code editors and IDE files
.vscode/
.idea/
# WSL for Windows
*Zone.Identifier
# macOS
.DS_Store
# dependencies
### Hosted gitgnore
node_modules
/.pnp
.pnp.js
public
src
studio
# testing
coverage
#### Devlopment gitignore
# # Code editors and IDE files
# .vscode/
# .idea/
# production
build
dist
# # WSL for Windows
# *Zone.Identifier
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
# # macOS
# .DS_Store
# sass
.sass-cache/
*.css.map
*.sass.map
*.scss.map
# # dependencies
# node_modules
# /.pnp
# .pnp.js
# eslint
.eslintcache
# # testing
# coverage
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# # production
# build
# dist
# # misc
# .DS_Store
# .env.local
# .env.development.local
# .env.test.local
# .env.production.local
# # sass
# .sass-cache/
# *.css.map
# *.sass.map
# *.scss.map
# # eslint
# .eslintcache
# npm-debug.log*
# yarn-debug.log*
# yarn-error.log*

1
CNAME
View File

@ -1 +0,0 @@
www.potentiarobotics.com

View File

@ -1,5 +1,5 @@
# website
Source for TJHRC's website built with Sanity and React.
# Setup
@ -22,6 +22,38 @@ yarn start
```
And you should see the website load and show up in your browser, at the address https://http://localhost:3000/.
# Creating new branches
Make sure to replace
```
"start": "serve -s build/"
```
with these four lines:
```
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
``` when creating a branch in the scripts section of package.json
# Committing to branches
When committing to a side branch make sure to uncomment everything below "Devlopment gitignore" and comment everything under the "Hosted gitignore" heading.
# Committing to master
When committing to a master branch make sure to uncomment everything below "Hosted gitignore" and comment everything under the "Devlopment gitignore" heading.
Run ```yarn run build``` in the console
Also replace
```
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
``` with
```
"start": "serve -s build/"
``` in the scripts section of package.json
## Available Scripts
In the project directory, you can run:

43
build/asset-manifest.json Normal file
View File

@ -0,0 +1,43 @@
{
"files": {
"main.css": "/static/css/main.6342b2aa.chunk.css",
"main.js": "/static/js/main.5937dde3.chunk.js",
"main.js.map": "/static/js/main.5937dde3.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.2400042d.js",
"runtime-main.js.map": "/static/js/runtime-main.2400042d.js.map",
"static/css/2.6390442a.chunk.css": "/static/css/2.6390442a.chunk.css",
"static/js/2.1b4ba0e4.chunk.js": "/static/js/2.1b4ba0e4.chunk.js",
"static/js/2.1b4ba0e4.chunk.js.map": "/static/js/2.1b4ba0e4.chunk.js.map",
"index.html": "/index.html",
"static/css/2.6390442a.chunk.css.map": "/static/css/2.6390442a.chunk.css.map",
"static/css/main.6342b2aa.chunk.css.map": "/static/css/main.6342b2aa.chunk.css.map",
"static/js/2.1b4ba0e4.chunk.js.LICENSE.txt": "/static/js/2.1b4ba0e4.chunk.js.LICENSE.txt",
"static/media/0001.0d0d8dab.jpg": "/static/media/0001.0d0d8dab.jpg",
"static/media/0002.0b2733d8.jpg": "/static/media/0002.0b2733d8.jpg",
"static/media/0003.4ab744ab.jpg": "/static/media/0003.4ab744ab.jpg",
"static/media/Adi.0b1d1ea5.PNG": "/static/media/Adi.0b1d1ea5.PNG",
"static/media/Aileen.6991dc5c.PNG": "/static/media/Aileen.6991dc5c.PNG",
"static/media/Jason.8e6c1bd4.PNG": "/static/media/Jason.8e6c1bd4.PNG",
"static/media/Kedar.a23f2f06.PNG": "/static/media/Kedar.a23f2f06.PNG",
"static/media/Mayuka.6b4c654f.PNG": "/static/media/Mayuka.6b4c654f.PNG",
"static/media/Python_BootCamp.365d4311.pdf": "/static/media/Python_BootCamp.365d4311.pdf",
"static/media/Ram.3b1fb1d9.PNG": "/static/media/Ram.3b1fb1d9.PNG",
"static/media/Rushil.b3c81117.PNG": "/static/media/Rushil.b3c81117.PNG",
"static/media/Sai.cb78b584.PNG": "/static/media/Sai.cb78b584.PNG",
"static/media/Shahzad.1270f1d1.PNG": "/static/media/Shahzad.1270f1d1.PNG",
"static/media/aboutlogo.c28a7eae.PNG": "/static/media/aboutlogo.c28a7eae.PNG",
"static/media/bootstrap-icons.css": "/static/media/bootstrap-icons.cc252f2c.woff",
"static/media/bot2.d972cd79.png": "/static/media/bot2.d972cd79.png",
"static/media/logo_tr_bg.baf63c10.png": "/static/media/logo_tr_bg.baf63c10.png",
"static/media/olympian_hero.8a17602f.png": "/static/media/olympian_hero.8a17602f.png",
"static/media/olympian_waving.855e4c67.png": "/static/media/olympian_waving.855e4c67.png",
"static/media/team_picture.5256ab36.png": "/static/media/team_picture.5256ab36.png"
},
"entrypoints": [
"static/js/runtime-main.2400042d.js",
"static/css/2.6390442a.chunk.css",
"static/js/2.1b4ba0e4.chunk.js",
"static/css/main.6342b2aa.chunk.css",
"static/js/main.5937dde3.chunk.js"
]
}

BIN
build/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

1
build/index.html Normal file
View File

@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="The TJHSST Humanoid Robot Project"/><link rel="manifest" href="/manifest.json"/><title>Potentia Robotics</title><link href="/static/css/2.6390442a.chunk.css" rel="stylesheet"><link href="/static/css/main.6342b2aa.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,i,l=t[0],a=t[1],p=t[2],c=0,s=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(t);s.length;)s.shift()();return u.push.apply(u,p||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,l=1;l<r.length;l++){var a=r[l];0!==o[a]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var l=this["webpackJsonppotentia-site"]=this["webpackJsonppotentia-site"]||[],a=l.push.bind(l);l.push=t,l=l.slice();for(var p=0;p<l.length;p++)t(l[p]);var f=a;r()}([])</script><script src="/static/js/2.1b4ba0e4.chunk.js"></script><script src="/static/js/main.5937dde3.chunk.js"></script></body></html>

10
build/manifest.json Normal file
View File

@ -0,0 +1,10 @@
{
"short_name": "Potentia Robotics",
"name": "Potentia Robotics",
"description": "The TJHSST Humanoid Robot Project",
"start_url": "/",
"background_color": "#ffffff",
"display": "standalone",
"scope": "/",
"theme_color": "#000000"
}

3
build/robots.txt Normal file
View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,61 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*!
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
!function(e){function t(t){for(var n,i,l=t[0],a=t[1],p=t[2],c=0,s=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(t);s.length;)s.shift()();return u.push.apply(u,p||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,l=1;l<r.length;l++){var a=r[l];0!==o[a]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var l=this["webpackJsonppotentia-site"]=this["webpackJsonppotentia-site"]||[],a=l.push.bind(l);l.push=t,l=l.slice();for(var p=0;p<l.length;p++)t(l[p]);var f=a;r()}([]);
//# sourceMappingURL=runtime-main.2400042d.js.map

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@ -2,7 +2,6 @@
"name": "potentia-site",
"version": "0.1.0",
"private": false,
"homepage": "https:///PotentiaRobotics.github.io/potentiarobotics.github.io/",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.34",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
@ -25,18 +24,14 @@
"react-icons": "^4.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.0",
"serve": "^11.3.2",
"styled-components": "^5.2.1",
"tsutils": "^3.20.0",
"typescript": "^4.1.3",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"predeploy": "yarn build",
"deploy": "gh-pages -d build",
"eject": "react-scripts eject"
"start": "serve -s build/"
},
"eslintConfig": {
"extends": [
@ -57,7 +52,6 @@
]
},
"devDependencies": {
"gh-pages": "^3.1.0",
"react-spring": "^8.0.27"
}
}

4114
yarn.lock

File diff suppressed because it is too large Load Diff