hotfix: close bakery

This commit is contained in:
Felix Roos 2025-06-12 08:39:27 +02:00
parent 5a88a6daa6
commit 2c9f9d785f
No known key found for this signature in database
3 changed files with 26 additions and 21 deletions

View file

@ -58,7 +58,7 @@ export const SIDEBAR: Sidebar = {
{ text: 'What is Strudel?', link: 'workshop/getting-started' }, { text: 'What is Strudel?', link: 'workshop/getting-started' },
{ text: 'Showcase', link: 'intro/showcase' }, { text: 'Showcase', link: 'intro/showcase' },
{ text: 'Blog', link: 'blog' }, { text: 'Blog', link: 'blog' },
{ text: 'Community Bakery', link: 'bakery' }, /* { text: 'Community Bakery', link: 'bakery' }, */
], ],
Workshop: [ Workshop: [
// { text: 'Getting Started', link: 'workshop/getting-started' }, // { text: 'Getting Started', link: 'workshop/getting-started' },

View file

@ -93,7 +93,7 @@ export function Header({ context, embedded = false }) {
> >
{!isEmbedded && <span>update</span>} {!isEmbedded && <span>update</span>}
</button> </button>
{!isEmbedded && ( {/* !isEmbedded && (
<button <button
title="shuffle" title="shuffle"
className="hover:opacity-50 p-2 flex items-center space-x-1" className="hover:opacity-50 p-2 flex items-center space-x-1"
@ -101,8 +101,8 @@ export function Header({ context, embedded = false }) {
> >
<span> shuffle</span> <span> shuffle</span>
</button> </button>
)} ) */}
{!isEmbedded && ( {/* !isEmbedded && (
<button <button
title="share" title="share"
className={cx( className={cx(
@ -113,7 +113,7 @@ export function Header({ context, embedded = false }) {
> >
<span>share</span> <span>share</span>
</button> </button>
)} ) */}
{!isEmbedded && ( {!isEmbedded && (
<a <a
title="learn" title="learn"

View file

@ -142,7 +142,7 @@ function UserPatterns({ context }) {
</div> </div>
<div className="overflow-auto h-full bg-background p-2 rounded-md"> <div className="overflow-auto h-full bg-background p-2 rounded-md">
{patternFilter === patternFilterName.user && ( {/* {patternFilter === patternFilterName.user && ( */}
<PatternButtons <PatternButtons
onClick={(id) => onClick={(id) =>
updateCodeWindow( updateCodeWindow(
@ -156,7 +156,7 @@ function UserPatterns({ context }) {
activePattern={activePattern} activePattern={activePattern}
viewingPatternID={viewingPatternID} viewingPatternID={viewingPatternID}
/> />
)} {/* )} */}
</div> </div>
</div> </div>
); );
@ -250,6 +250,11 @@ export function PatternsTab({ context }) {
const { patternFilter } = useSettings(); const { patternFilter } = useSettings();
return ( return (
<div className="px-4 w-full text-foreground space-y-2 flex flex-col overflow-hidden max-h-full h-full">
<UserPatterns context={context} />
</div>
);
/* return (
<div className="px-4 w-full text-foreground space-y-2 flex flex-col overflow-hidden max-h-full h-full"> <div className="px-4 w-full text-foreground space-y-2 flex flex-col overflow-hidden max-h-full h-full">
<ButtonGroup <ButtonGroup
value={patternFilter} value={patternFilter}
@ -263,5 +268,5 @@ export function PatternsTab({ context }) {
<PublicPatterns context={context} /> <PublicPatterns context={context} />
)} )}
</div> </div>
); ); */
} }