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:
parent
c7d6aa4797
commit
161c154918
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