Integrate shadcn-style CVA button component as hero page CTA - #6
Draft
Nebulazer123 with Copilot wants to merge 2 commits into
Draft
Integrate shadcn-style CVA button component as hero page CTA#6Nebulazer123 with Copilot wants to merge 2 commits into
Nebulazer123 with Copilot wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: Nebulazer123 <17994269+Nebulazer123@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Integrate React component for get started hero page button
Integrate shadcn-style CVA button component as hero page CTA
Mar 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a full-featured
button-1.tsxcomponent built onclass-variance-authorityand Radix UISlot, and wires it up as the primary "Get Started" CTA on the hero page.New dependencies
class-variance-authority— variant management viacva()radix-ui—Slotprimitive enablingasChildpolymorphic renderingtw-animate-css— animation utilities imported into global stylesComponent (
src/components/ui/button-1.tsx)Full CVA-based button with:
primary,mono,destructive,secondary,outline,dashed,ghost,dim,foreground,inversedefault,icon,link,inputsm,md,lg,iconwith optionalautoHeightdefault,circleButtonArrowcompanion component accepting any Lucide iconasChildsupport via RadixSlotfor polymorphic renderingCSS (
src/app/globals.css)Hero page (
src/app/page.tsx)Replaced the previous
Button(fromButton.tsx) withHeroButton(frombutton-1.tsx) for the primary CTA, renamed to "Get Started". The secondary "Upload Statement" button retains the existing component.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/MoneyMap/MoneyMap/moneymap-v2/node_modules/.bin/next build src/components/dashboard/MinigameModal.tsx(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
You are given a task to integrate an existing React component in the codebase for the get started hero page button
The codebase should support:
If it doesn't, provide instructions on how to setup project via shadcn CLI, install Tailwind or Typescript.
Determine the default path for components and styles.
If default path for components is not /components/ui, provide instructions on why it's important to create this folder
Copy-paste this component to /components/ui folder: