Implement webui import

This commit is contained in:
Ethan O'Brien
2024-04-25 12:54:20 -05:00
parent 5ccb65732f
commit 32c331c7a9
12 changed files with 295 additions and 74 deletions

View File

@ -2,7 +2,7 @@ import React from 'react'
import ReactDOM from 'react-dom/client'
import Login from './login/Login.jsx'
import Home from './home/Home.jsx'
//import './index.css'
import Import from './import/Import.jsx'
let Elem;
switch (window.location.pathname) {
@ -12,6 +12,9 @@ switch (window.location.pathname) {
case "/home/":
Elem = Home;
break;
case "/import/":
Elem = Import;
break;
default:
window.location.pathname = "/";
}