Add HeroUI-styled code block to home page#14
Conversation
Implemented a new CodeBlock component with compound component pattern. Added styling in globals.css following HeroUI Pro conventions. Integrated the code block for 'npx create-cur8' in the Hero section. Includes copy-to-clipboard functionality with visual feedback.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Fixed TS2322: Type '"light"' is not assignable to Button variant. Changed variant to 'ghost' to match supported types. Removed extraneous log files.
Addressed PR feedback by updating 'npx create-cur8' to 'npx create-cur8d'. Updated unit tests accordingly.
Added a new
CodeBlockcomponent to the home page, styled similarly to HeroUI Pro. The component features:CodeBlock,CodeBlock.Header,CodeBlock.Code,CodeBlock.CopyButton).globals.cssfor consistent styling.src/app/page.tsx.PR created automatically by Jules for task 9778711391546849979 started by @amrabed