mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-19 17:48:33 +00:00
reorder tabs + remove duplicated examples
This commit is contained in:
parent
2f9244e90d
commit
e551dfeddb
@ -84,9 +84,9 @@ export function Panel({ context }) {
|
|||||||
<div className="flex justify-between px-2">
|
<div className="flex justify-between px-2">
|
||||||
<div className={cx('flex select-none max-w-full overflow-auto', activeFooter && 'pb-2')}>
|
<div className={cx('flex select-none max-w-full overflow-auto', activeFooter && 'pb-2')}>
|
||||||
<PanelTab name="intro" label="welcome" />
|
<PanelTab name="intro" label="welcome" />
|
||||||
|
<PanelTab name="patterns" />
|
||||||
<PanelTab name="sounds" />
|
<PanelTab name="sounds" />
|
||||||
<PanelTab name="console" />
|
<PanelTab name="console" />
|
||||||
<PanelTab name="patterns" />
|
|
||||||
<PanelTab name="reference" />
|
<PanelTab name="reference" />
|
||||||
<PanelTab name="settings" />
|
<PanelTab name="settings" />
|
||||||
{TAURI && <PanelTab name="files" />}
|
{TAURI && <PanelTab name="files" />}
|
||||||
|
|||||||
@ -48,18 +48,6 @@ export function WelcomeTab({ context }) {
|
|||||||
</a>{' '}
|
</a>{' '}
|
||||||
to ensure ongoing development 💖
|
to ensure ongoing development 💖
|
||||||
</p>
|
</p>
|
||||||
<h2 className="text-xl mb-2">examples</h2>
|
|
||||||
<div className="not-prose">
|
|
||||||
{Object.entries(tunes).map(([key, tune]) => (
|
|
||||||
<a
|
|
||||||
key={key}
|
|
||||||
className="mr-4 hover:opacity-50 cursor-pointer inline-block"
|
|
||||||
onClick={() => context.handleUpdate(tune)}
|
|
||||||
>
|
|
||||||
{key}
|
|
||||||
</a>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user