1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 07:14:21 +00:00

🔧 Add flavour text to NotebookListBox

This commit is contained in:
Steffo 2021-10-07 18:47:43 +02:00
parent c7d6aa4797
commit 161c154918
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -11,13 +11,14 @@ export interface NotebookListBoxProps {
export function NotebookListBox({viewSet}: NotebookListBoxProps): JSX.Element { export function NotebookListBox({viewSet}: NotebookListBoxProps): JSX.Element {
// TODO: Add some flavour text
return ( return (
<Box> <Box>
<Heading level={3}> <Heading level={3}>
Notebooks Notebooks
</Heading> </Heading>
<p>
Notebooks are interactive Python documents that you can edit in your browser and run on Sophon server.
</p>
{viewSet.resources?.map(res => <NotebookResourcePanel resource={res} key={res.value.slug}/>)} {viewSet.resources?.map(res => <NotebookResourcePanel resource={res} key={res.value.slug}/>)}
</Box> </Box>
) )