mirror of
https://github.com/sasjs/server.git
synced 2026-01-07 14:40:05 +00:00
32 lines
825 B
TypeScript
32 lines
825 B
TypeScript
import React from 'react'
|
|
import { Route, BrowserRouter, Switch, Redirect } from 'react-router-dom'
|
|
import { ThemeProvider } from '@mui/material/styles'
|
|
import { theme } from './theme'
|
|
|
|
import Header from './components/header'
|
|
import Home from './components/home'
|
|
import SASjsDrive from './containers/SASjsDrive'
|
|
import SASjsStudio from './containers/SASjsStudio'
|
|
function App() {
|
|
return (
|
|
<ThemeProvider theme={theme}>
|
|
<BrowserRouter>
|
|
<Header />
|
|
<Switch>
|
|
<Route exact path="/">
|
|
<Home />
|
|
</Route>
|
|
<Route exact path="/SASjsDrive">
|
|
<SASjsDrive />
|
|
</Route>
|
|
<Route exact path="/SASjsStudio">
|
|
<SASjsStudio />
|
|
</Route>
|
|
</Switch>
|
|
</BrowserRouter>
|
|
</ThemeProvider>
|
|
)
|
|
}
|
|
|
|
export default App
|