1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-06 14:10:06 +00:00

chore(refactor): remove sasjs from components name, just use Studio, Drive etc

This commit is contained in:
2021-10-22 18:00:56 +00:00
parent 6284e72e9b
commit 9db65c9fa9
6 changed files with 10 additions and 10 deletions

View File

@@ -5,8 +5,8 @@ import { theme } from './theme'
import Header from './components/header' import Header from './components/header'
import Home from './components/home' import Home from './components/home'
import SASjsDrive from './containers/SASjsDrive' import Drive from './containers/Drive'
import SASjsStudio from './containers/SASjsStudio' import Studio from './containers/Studio'
function App() { function App() {
return ( return (
<ThemeProvider theme={theme}> <ThemeProvider theme={theme}>
@@ -17,10 +17,10 @@ function App() {
<Home /> <Home />
</Route> </Route>
<Route exact path="/SASjsDrive"> <Route exact path="/SASjsDrive">
<SASjsDrive /> <Drive />
</Route> </Route>
<Route exact path="/SASjsStudio"> <Route exact path="/SASjsStudio">
<SASjsStudio /> <Studio />
</Route> </Route>
</Switch> </Switch>
</HashRouter> </HashRouter>

View File

@@ -15,7 +15,7 @@ const Home = () => {
contributions are welcomed. contributions are welcomed.
</p> </p>
<p> <p>
SASjs Server is maintained by the SAS Apps team -{' '} SASjs Server is maintained by the SASjs Apps team -{' '}
<a href="https://sasapps.io/contact-us"> contact us</a> if you'd like <a href="https://sasapps.io/contact-us"> contact us</a> if you'd like
help with SAS DevOps or SAS Application development!{' '} help with SAS DevOps or SAS Application development!{' '}
</p> </p>

View File

@@ -6,7 +6,7 @@ import Box from '@mui/material/Box'
import SideBar from './sideBar' import SideBar from './sideBar'
import Main from './main' import Main from './main'
const SASjsDrive = () => { const Drive = () => {
const [selectedFilePath, setSelectedFilePath] = useState('') const [selectedFilePath, setSelectedFilePath] = useState('')
return ( return (
<Box sx={{ display: 'flex' }}> <Box sx={{ display: 'flex' }}>
@@ -17,4 +17,4 @@ const SASjsDrive = () => {
) )
} }
export default SASjsDrive export default Drive

View File

@@ -3,13 +3,13 @@ import React from 'react'
import CssBaseline from '@mui/material/CssBaseline' import CssBaseline from '@mui/material/CssBaseline'
import Box from '@mui/material/Box' import Box from '@mui/material/Box'
const SASjsStudio = () => { const Studio = () => {
return ( return (
<Box className="main"> <Box className="main">
<CssBaseline /> <CssBaseline />
<h2>This is container for SAS studio</h2> <h2>This is container for SASjs studio</h2>
</Box> </Box>
) )
} }
export default SASjsStudio export default Studio