mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 11:24:35 +00:00
chore: add content in home page
This commit is contained in:
@@ -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'
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -5,9 +5,20 @@ import Box from '@mui/material/Box'
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
<Box sx={{ display: 'flex' }} className="main">
|
||||
<Box className="main">
|
||||
<CssBaseline />
|
||||
<h2>this is home component</h2>
|
||||
<h2>Welcome to SASjs Server!</h2>
|
||||
<p>
|
||||
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 <a href="https://github.com/sasjs/server"> github</a> and
|
||||
contributions are welcomed.
|
||||
</p>
|
||||
<p>
|
||||
SASjs Server is maintained by the SAS 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>
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import Box from '@mui/material/Box'
|
||||
|
||||
const SASjsStudio = () => {
|
||||
return (
|
||||
<Box sx={{ display: 'flex' }} className="main">
|
||||
<Box className="main">
|
||||
<CssBaseline />
|
||||
<h2>This is container for SAS studio</h2>
|
||||
</Box>
|
||||
|
||||
@@ -14,4 +14,7 @@ code {
|
||||
|
||||
.main {
|
||||
margin-top: 50px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user