Skip to content

Add HeroUI-styled code block to home page#14

Merged
amrabed merged 3 commits into
mainfrom
add-code-block-hero-9778711391546849979
Jun 20, 2026
Merged

Add HeroUI-styled code block to home page#14
amrabed merged 3 commits into
mainfrom
add-code-block-hero-9778711391546849979

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

Added a new CodeBlock component to the home page, styled similarly to HeroUI Pro. The component features:

  • Compound component architecture (CodeBlock, CodeBlock.Header, CodeBlock.Code, CodeBlock.CopyButton).
  • Interactive copy-to-clipboard button that toggles to a green checkmark on success.
  • New CSS classes in globals.css for consistent styling.
  • Centered placement in the Hero section of src/app/page.tsx.
  • Unit tests and frontend verification.

PR created automatically by Jules for task 9778711391546849979 started by @amrabed

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.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

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.
Comment thread src/app/page.tsx Outdated
@amrabed amrabed marked this pull request as ready for review June 20, 2026 21:52
Addressed PR feedback by updating 'npx create-cur8' to 'npx create-cur8d'.
Updated unit tests accordingly.
@amrabed amrabed merged commit e1283d3 into main Jun 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant