Skip to content

Commit e2045bc

Browse files
committed
put link in .env file
1 parent 2418c1b commit e2045bc

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

client/.env.example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# Most variables are stored in server/.env prefixed with: REACT_APP_
2-
NODE_PATH=src
3-
REACT_APP_GEOGEBRA_VERSION=5.0.570.0
2+
NODE_PATH=src

client/src/Components/Navigation/HomeNav/HomeNav.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ const Navbar = ({ page, user, loggedIn, isDark, toggleAdmin }) => {
5151
fontWeight: 'inherit',
5252
}}
5353
>
54-
Videos
54+
Help Videos
5555
</button>
5656
);
5757
};
5858

5959
const aboutList = [
6060
{ name: 'About', link: '/about' },
61-
{ name: 'Instructions', link: '/instructions' },
62-
{ name: 'Videos', sliderDetails: { customComponent: _videoButton() } },
61+
// { name: 'Instructions', link: '/instructions' },
62+
{ name: 'Help Videos', sliderDetails: { customComponent: _videoButton() } },
6363
{ name: 'FAQ', link: '/faq' },
6464
{ name: 'Contact', link: '/contact' },
6565
];

client/src/Components/Navigation/Navbar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ const Navbar = ({ user, location, toggleAdmin }) => {
4848
fontWeight: 'inherit',
4949
}}
5050
>
51-
Videos
51+
Help Videos
5252
</button>
5353
);
5454
};
5555

5656
const aboutList = [
5757
{ name: 'About', link: '/about' },
58-
{ name: 'Instructions', link: '/instructions' },
59-
{ name: 'Videos', sliderDetails: { customComponent: _videoButton() } },
58+
// { name: 'Instructions', link: '/instructions' },
59+
{ name: 'Help Videos', sliderDetails: { customComponent: _videoButton() } },
6060
{ name: 'FAQ', link: '/faq' },
6161
{ name: 'Contact', link: '/contact' },
6262
];

client/src/utils/appUrls.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ export const getGoogleUrl = () => {
1616
export const getDesmosActivityUrl = (code) =>
1717
`https://teacher.desmos.com/activitybuilder/custom/${code}`;
1818

19-
export const getVideosUrl = () =>
20-
'https://drive.google.com/drive/folders/1WbYYSlV0si0G8Odeuh1giR222qkkG-7M';
19+
export const getVideosUrl = () => window.env.REACT_APP_VIDEOS_FOLDER;

server/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ REACT_APP_PYRET_MODE='no'
3838
#'https://localhost:5000/editor' or 'https://pyret-horizon.herokuapp.com/editor'
3939
REACT_APP_PYRET_URL='https://pyret-horizon.herokuapp.com/editor'
4040
REACT_APP_GEOGEBRA_URL='https://www.geogebra.org/apps/5.0.570.0/web3d'
41+
REACT_APP_VIDEOS_FOLDER=<URL of Google Drive folder that contains instructional videos for VMT>
4142

4243
PUB_CLIENT_URL='redis://127.0.0.1:6379'
4344
#PUB_CLIENT_URL='redis://redis:6379'

0 commit comments

Comments
 (0)