mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 11:24:35 +00:00
chore(refactor): remove sasjs from components name, just use Studio, Drive etc
This commit is contained in:
@@ -5,8 +5,8 @@ import { theme } from './theme'
|
||||
|
||||
import Header from './components/header'
|
||||
import Home from './components/home'
|
||||
import SASjsDrive from './containers/SASjsDrive'
|
||||
import SASjsStudio from './containers/SASjsStudio'
|
||||
import Drive from './containers/Drive'
|
||||
import Studio from './containers/Studio'
|
||||
function App() {
|
||||
return (
|
||||
<ThemeProvider theme={theme}>
|
||||
@@ -17,10 +17,10 @@ function App() {
|
||||
<Home />
|
||||
</Route>
|
||||
<Route exact path="/SASjsDrive">
|
||||
<SASjsDrive />
|
||||
<Drive />
|
||||
</Route>
|
||||
<Route exact path="/SASjsStudio">
|
||||
<SASjsStudio />
|
||||
<Studio />
|
||||
</Route>
|
||||
</Switch>
|
||||
</HashRouter>
|
||||
|
||||
@@ -15,7 +15,7 @@ const Home = () => {
|
||||
contributions are welcomed.
|
||||
</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
|
||||
help with SAS DevOps or SAS Application development!{' '}
|
||||
</p>
|
||||
|
||||
@@ -6,7 +6,7 @@ import Box from '@mui/material/Box'
|
||||
import SideBar from './sideBar'
|
||||
import Main from './main'
|
||||
|
||||
const SASjsDrive = () => {
|
||||
const Drive = () => {
|
||||
const [selectedFilePath, setSelectedFilePath] = useState('')
|
||||
return (
|
||||
<Box sx={{ display: 'flex' }}>
|
||||
@@ -17,4 +17,4 @@ const SASjsDrive = () => {
|
||||
)
|
||||
}
|
||||
|
||||
export default SASjsDrive
|
||||
export default Drive
|
||||
@@ -3,13 +3,13 @@ import React from 'react'
|
||||
import CssBaseline from '@mui/material/CssBaseline'
|
||||
import Box from '@mui/material/Box'
|
||||
|
||||
const SASjsStudio = () => {
|
||||
const Studio = () => {
|
||||
return (
|
||||
<Box className="main">
|
||||
<CssBaseline />
|
||||
<h2>This is container for SAS studio</h2>
|
||||
<h2>This is container for SASjs studio</h2>
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
export default SASjsStudio
|
||||
export default Studio
|
||||
Reference in New Issue
Block a user