-
Notifications
You must be signed in to change notification settings - Fork 0
feat: added solo banner #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for cute-lily-87250a ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request adds a new solo banner component along with its integration into the app layout and updates to related UI components and styling.
- Introduces a Banner component with close functionality.
- Extends the title section with a registration link.
- Incorporates utility functions and updates to global CSS and package dependencies.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/utils.ts | Adds a utility function for merging CSS class names. |
| src/components/ui/button.tsx | Implements a customizable button component with variant options. |
| src/components/TitleSection.tsx | Adds a registration link element in the title section. |
| src/components/Banner.tsx | Introduces the new Banner component with a close button feature. |
| src/app/layout.tsx | Integrates the Banner component into the global layout. |
| src/app/globals.css | Updates and extends global theme definitions and imports. |
| package.json | Updates dependencies and adds new packages required for new features. |
| components.json | Adds UI schema configuration for component aliases and styling options. |
| if (!isVisible) return null; | ||
|
|
||
| return ( | ||
| <section className="sticky top-0 w-full bg-[#00694E] px-4 py-3 shadow-sm z-47000"> |
Copilot
AI
May 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Consider using a theme variable or a named CSS class for the z-index value instead of a hard-coded magic number, to improve maintainability.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.