docs: Add "Add Recipe button" To Recipe Cookbook (#3038)

This commit is contained in:
Ebony Louis
2025-06-23 13:47:51 -04:00
committed by GitHub
parent 8ad87733a5
commit ce7eabf20d
2 changed files with 34 additions and 16 deletions

View File

@@ -98,9 +98,20 @@ export default function RecipePage() {
<Layout>
<div className="container mx-auto px-4 py-8 md:p-24">
<div className="pb-8 md:pb-16">
<h1 className="text-4xl md:text-[64px] font-medium text-textProminent">
Recipes Cookbook
</h1>
<div className="flex justify-between items-start mb-4">
<h1 className="text-4xl md:text-[64px] font-medium text-textProminent">
Recipes Cookbook
</h1>
<Button
onClick={() => window.open('https://github.com/block/goose/issues/new?template=submit-recipe.yml', '_blank')}
className="bg-purple-600 hover:bg-purple-700 text-white flex items-center gap-2 cursor-pointer"
>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
<path d="M12 5v14M5 12h14"/>
</svg>
Submit Recipe
</Button>
</div>
<p className="text-textProminent">
Save time and skip setup launch any{" "}
<Link to="/docs/guides/session-recipes" className="text-purple-600 hover:underline">