mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-23 11:38:37 +00:00
fix: examples layout
This commit is contained in:
parent
c6f89431d9
commit
34c1f3c7de
@ -46,18 +46,17 @@ export function WelcomeTab({ context }) {
|
|||||||
to ensure ongoing development 💖
|
to ensure ongoing development 💖
|
||||||
</p>
|
</p>
|
||||||
<h2 className="text-xl mb-2">examples</h2>
|
<h2 className="text-xl mb-2">examples</h2>
|
||||||
{Object.entries(tunes).map(([key, tune]) => (
|
<div className="not-prose">
|
||||||
<a
|
{Object.entries(tunes).map(([key, tune]) => (
|
||||||
key={key}
|
<a
|
||||||
className="mr-4 hover:opacity-50 cursor-pointer inline-block"
|
key={key}
|
||||||
onClick={() => {
|
className="mr-4 hover:opacity-50 cursor-pointer inline-block"
|
||||||
console.log('clikkk', tune);
|
onClick={() => context.handleUpdate(tune)}
|
||||||
context.handleUpdate(tune);
|
>
|
||||||
}}
|
{key}
|
||||||
>
|
</a>
|
||||||
{key}
|
))}
|
||||||
</a>
|
</div>
|
||||||
))}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user