Add help page

This commit is contained in:
Ethan O'Brien
2024-07-11 08:49:05 -05:00
parent 729c5d5568
commit 8c9af03928
4 changed files with 128 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import Login from './login/Login.jsx'
import Home from './home/Home.jsx'
import Import from './import/Import.jsx'
import Admin from './admin/Admin.jsx'
import Help from './help/Help.jsx'
let Elem;
switch (window.location.pathname) {
@ -19,6 +20,9 @@ switch (window.location.pathname) {
case "/admin/":
Elem = Admin;
break;
case "/help/":
Elem = Help;
break;
default:
window.location.pathname = "/";
}