diff --git a/src/routes/index.ts b/src/routes/index.ts index 3971bcd..74fb905 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -59,7 +59,7 @@ router.get('/SASjsApi/files', async (req, res) => { } else { res.status(400).send({ status: 'failure', - message: 'please provide valid file path' + message: 'Invalid Request: Expected parameter filePath was not provided' }) } }) diff --git a/web/src/components/home.tsx b/web/src/components/home.tsx index 39b8fff..de6cca1 100644 --- a/web/src/components/home.tsx +++ b/web/src/components/home.tsx @@ -5,9 +5,20 @@ import Box from '@mui/material/Box' const Home = () => { return ( - + -

this is home component

+

Welcome to SASjs Server!

+

+ This portal provides an interface for executing Stored Programs (drive) + and ad hoc code (studio) against a SAS executable. The source code is + available on github and + contributions are welcomed. +

+

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

) } diff --git a/web/src/containers/SASjsStudio/index.tsx b/web/src/containers/SASjsStudio/index.tsx index 9704782..fd7c68c 100644 --- a/web/src/containers/SASjsStudio/index.tsx +++ b/web/src/containers/SASjsStudio/index.tsx @@ -5,7 +5,7 @@ import Box from '@mui/material/Box' const SASjsStudio = () => { return ( - +

This is container for SAS studio

diff --git a/web/src/index.css b/web/src/index.css index 4c6f800..6f5fcc7 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -14,4 +14,7 @@ code { .main { margin-top: 50px; + display: flex; + flex-direction: column; + align-items: center; }