From 9db65c9fa9118f3101acbf90a3360fbbb064900b Mon Sep 17 00:00:00 2001 From: sabhas Date: Fri, 22 Oct 2021 18:00:56 +0000 Subject: [PATCH] chore(refactor): remove sasjs from components name, just use Studio, Drive etc --- web/src/App.tsx | 8 ++++---- web/src/components/home.tsx | 2 +- web/src/containers/{SASjsDrive => Drive}/index.tsx | 4 ++-- web/src/containers/{SASjsDrive => Drive}/main.tsx | 0 web/src/containers/{SASjsDrive => Drive}/sideBar.tsx | 0 web/src/containers/{SASjsStudio => Studio}/index.tsx | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) rename web/src/containers/{SASjsDrive => Drive}/index.tsx (89%) rename web/src/containers/{SASjsDrive => Drive}/main.tsx (100%) rename web/src/containers/{SASjsDrive => Drive}/sideBar.tsx (100%) rename web/src/containers/{SASjsStudio => Studio}/index.tsx (65%) diff --git a/web/src/App.tsx b/web/src/App.tsx index 6d4c3d0..68f959a 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -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 ( @@ -17,10 +17,10 @@ function App() { - + - + diff --git a/web/src/components/home.tsx b/web/src/components/home.tsx index de6cca1..70f555c 100644 --- a/web/src/components/home.tsx +++ b/web/src/components/home.tsx @@ -15,7 +15,7 @@ const Home = () => { contributions are welcomed.

- SASjs Server is maintained by the SAS Apps team -{' '} + SASjs Server is maintained by the SASjs Apps team -{' '} contact us if you'd like help with SAS DevOps or SAS Application development!{' '}

diff --git a/web/src/containers/SASjsDrive/index.tsx b/web/src/containers/Drive/index.tsx similarity index 89% rename from web/src/containers/SASjsDrive/index.tsx rename to web/src/containers/Drive/index.tsx index f17c7e8..bac5119 100644 --- a/web/src/containers/SASjsDrive/index.tsx +++ b/web/src/containers/Drive/index.tsx @@ -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 ( @@ -17,4 +17,4 @@ const SASjsDrive = () => { ) } -export default SASjsDrive +export default Drive diff --git a/web/src/containers/SASjsDrive/main.tsx b/web/src/containers/Drive/main.tsx similarity index 100% rename from web/src/containers/SASjsDrive/main.tsx rename to web/src/containers/Drive/main.tsx diff --git a/web/src/containers/SASjsDrive/sideBar.tsx b/web/src/containers/Drive/sideBar.tsx similarity index 100% rename from web/src/containers/SASjsDrive/sideBar.tsx rename to web/src/containers/Drive/sideBar.tsx diff --git a/web/src/containers/SASjsStudio/index.tsx b/web/src/containers/Studio/index.tsx similarity index 65% rename from web/src/containers/SASjsStudio/index.tsx rename to web/src/containers/Studio/index.tsx index fd7c68c..1fa94f4 100644 --- a/web/src/containers/SASjsStudio/index.tsx +++ b/web/src/containers/Studio/index.tsx @@ -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 ( -

This is container for SAS studio

+

This is container for SASjs studio

) } -export default SASjsStudio +export default Studio