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:
parent
51e4053990
commit
24f4b5847f
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue