Skip to content

feat: add confetti#515

Merged
Paulijuz merged 1 commit intomainfrom
feat/confetti
Mar 16, 2026
Merged

feat: add confetti#515
Paulijuz merged 1 commit intomainfrom
feat/confetti

Conversation

@Karoline204
Copy link

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a reusable confetti utility function backed by the canvas-confetti library, along with the necessary dependency and type definition packages.

Changes:

  • New Confetti.tsx utility that exports a confetti() function with configurable angle, spread, duration, colors, particle count, and origin.
  • Added canvas-confetti (runtime) and @types/canvas-confetti (dev) dependencies.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/app/_components/UI/Confetti.tsx New utility exporting a confetti() function that uses canvas-confetti in a requestAnimationFrame loop.
package.json Adds canvas-confetti and @types/canvas-confetti dependencies.
package-lock.json Lock file updates for the new dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Member

@Paulijuz Paulijuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Paulijuz
Copy link
Member

:shipit:

@Paulijuz Paulijuz merged commit ecf4e82 into main Mar 16, 2026
7 checks 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.

4 participants