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

🔧 Add flavour text to NotebookListBox

This commit is contained in:
Steffo 2021-10-07 18:47:43 +02:00
parent 51e4053990
commit 24f4b5847f

View file

@ -11,13 +11,14 @@ export interface NotebookListBoxProps {
export function NotebookListBox({viewSet}: NotebookListBoxProps): JSX.Element {
// TODO: Add some flavour text
return (
<Box>
<Heading level={3}>
Notebooks
</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}/>)}
</Box>
)