diff --git a/frontend/public/how-to.mp4 b/frontend/public/how-to.mp4 new file mode 100644 index 0000000..83897b5 Binary files /dev/null and b/frontend/public/how-to.mp4 differ diff --git a/frontend/src/App.js b/frontend/src/App.js index e772417..4450800 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -32,7 +32,8 @@ function App() {
} /> - } /> + } /> + } />
diff --git a/frontend/src/components/dashboard/Dashboard.js b/frontend/src/components/dashboard/Dashboard.js index 663a05f..1ce8b1f 100644 --- a/frontend/src/components/dashboard/Dashboard.js +++ b/frontend/src/components/dashboard/Dashboard.js @@ -25,6 +25,7 @@ import DefectConfig from '../defectConfig/DefectConfig'; import Sidebar from "../sidebar/Sidebar"; import AdminView from '../adminView/AdminView'; import logo from '../../logo.svg'; +import HowTo from "../howTo/HowTo"; function Copyright(props) { return ( @@ -183,7 +184,10 @@ export default function Dashboard({ view, onLogout }) { {view === 'admin' ? ( - ) : ( + + ) : view === 'how-to' ? ( + + ) : ( <> {/* Chart */} diff --git a/frontend/src/components/howTo/HowTo.js b/frontend/src/components/howTo/HowTo.js new file mode 100644 index 0000000..2f3ad6a --- /dev/null +++ b/frontend/src/components/howTo/HowTo.js @@ -0,0 +1,13 @@ +import React from 'react'; + +export default function HowTo () { + return ( +
+

How To

+ +
+ ); +}; diff --git a/frontend/src/components/sidebar/Sidebar.js b/frontend/src/components/sidebar/Sidebar.js index 8fc7a79..938efdc 100644 --- a/frontend/src/components/sidebar/Sidebar.js +++ b/frontend/src/components/sidebar/Sidebar.js @@ -23,7 +23,7 @@ export default function Sidebar ({ isAdmin }) { )} - +