Skip to content
This repository was archived by the owner on Jul 31, 2020. It is now read-only.

Commit 4149350

Browse files
js-slang version revert (#25)
Co-authored-by: chuyiting <[email protected]>
1 parent 692ed34 commit 4149350

File tree

6 files changed

+467
-38
lines changed

6 files changed

+467
-38
lines changed

package-lock.json

+98-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "journey-fe",
33
"version": "0.1.0",
44
"private": true,
5+
"homepage": "https://chuyiting.github.io/journey-frontend",
56
"dependencies": {
67
"@babel/core": "^7.8.7",
78
"@material-ui/core": "^4.9.1",
@@ -20,6 +21,7 @@
2021
"@types/testing-library__react": "^9.1.3",
2122
"ace-builds": "^1.4.8",
2223
"axios": "^0.19.2",
24+
"gh-pages": "^2.2.0",
2325
"js-slang": "^0.4.30",
2426
"lz-string": "^1.4.4",
2527
"re-resizable": "^6.3.2",
@@ -36,6 +38,8 @@
3638
"xmlhttprequest-ts": "^1.0.1"
3739
},
3840
"scripts": {
41+
"predeploy": "npm run build",
42+
"deploy": "gh-pages -d build",
3943
"start": "react-app-rewired start",
4044
"build": "react-app-rewired build",
4145
"test": "react-app-rewired test",

src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function App() {
1414
<StoreProvider>
1515
<BrowserRouter>
1616
<Switch>
17-
<Route exact path="/" component={Playground} />
17+
<Route exact path="/journey-frontend" component={Playground} />
1818
{/* <Route exact path="/mission" component={MissionOverview} />
1919
<Route path="/mission/:missionID/:page" component={Mission} />
2020
<Route path="/playground" component={Playground} />

src/NavBar/NavBar.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import SourceDropDown from "./DropDownTemplate";
88
import SessionControl from "./SessionControl";
99
import RunButton from "./RunButton";
1010
import PhoneRunButton from "./PhoneRunButton";
11+
import logo from "./logo.png";
1112

1213
import "./NavBar.css";
1314
import Grid from "@material-ui/core/Grid";
@@ -61,7 +62,7 @@ const NavBar: React.FC = () => {
6162
<Grid item>
6263
<div className="listPlusLogo">
6364
<div>
64-
<img src="/images/logo.png" alt="/" className="navBar_logo" />
65+
<img src={logo} alt="/" className="navBar_logo" />
6566
</div>
6667

6768
<div className="navBar_navigation-items">
File renamed without changes.

0 commit comments

Comments
 (0)