Closed ManyRios closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
bitcoinpokertour | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 18, 2024 5:19am |
This update refines multiple components across the codebase, notably revamping UI elements, restructuring layouts, and introducing new data structures. Enhancements include adding Link
components for navigation, an event
page for displaying event details with dynamic participant information, and improved table rendering functionality. New interfaces standardize event-related data, while utility functions are streamlined and extended. Additionally, modifications ensure responsive design and interaction improvements in the UI elements.
Files | Change Summary |
---|---|
.env.example | Added new environment variables GETDATE , EVENTS , and EVENTID . |
src/app/page.tsx | Updated Home component layout, replaced anchor tags with Link , rearranged grid for better responsiveness. |
src/app/schedule/event/page.tsx | Introduced an event detail page displaying event and participant data, added mock data and interfaces. |
src/app/schedule/page.tsx | Replaced Dates with TableRows , added logging of event id and date . |
src/components/ui/TableRow.tsx | New component for rendering table rows with event details. |
src/components/ui/menu.tsx | Added onClick handler to Link , adjusted Menubar bottom margin. |
src/lib/utils.ts | Simplified getDate function, added getEventById function. |
src/types.d.ts | Added IEvents and IDates interfaces with respective properties. |
sequenceDiagram
participant User
participant HomePage
participant EventPage
participant API
User->>HomePage: Navigate to Home
HomePage-->>User: Display home layout with links
User->>EventPage: Click on event link
EventPage->>API: Fetch event details by ID
API-->>EventPage: Return event and participant data
EventPage-->>User: Display event details and participant table
Objective | Addressed | Explanation |
---|---|---|
Consolidate font sizes and weights (38) | ❓ | Not directly observed in changes. |
When code evolves and changes bloom,
Navigation now withLink
can zoom.
Events they sparkle, clear and bright,
In table rows that feel just right.
Variables new in.env
align,
Our interfaces clearly defined.
Here’s to updates, neat and sound,
In this digital world, progress found. *✧*
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Closes https://github.com/bitcoinbrisbane/bitcoinpokertour/issues/38
Event Page https://github.com/bitcoinbrisbane/bitcoinpokertour/issues/7
Summary by CodeRabbit
New Features
Enhancements
Link
components for improved navigation.Bug Fixes
onClick
event to menu links for better menu handling.Styling
Menubar
component's bottom margin for consistent design.Environment
.env.example
with new environment variables.