Skip to content

Calendar Section - #15

Merged
21 commits merged into
mainfrom
calendar-section
Aug 21, 2025
Merged

Calendar Section#15
21 commits merged into
mainfrom
calendar-section

Conversation

@miguelaenlle

@miguelaenlle miguelaenlle commented May 30, 2025

Copy link
Copy Markdown
Contributor
  • Implemented the calendar section for the RP 2025 website.

Laptop:

laptop-demo.mp4

Mobile:

mobile-opts.mp4

Updates:

  • Implemented mobile optimizations
  • Balanced the locations throughout the race track
  • Made race track locations clickable
  • Implemented the event modal, which provides the long-format description, location, time, and number of points for an event.
  • Optimized the modal for mobile, adding top and side margin:

Screenshot 2025-06-01 at 10 40 08 PM

Copilot AI review requested due to automatic review settings May 30, 2025 00:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 implements the new Calendar Section functionality by introducing API configuration, new components for displaying event details, and enhanced UI elements such as scheduling and race track visualizations.

  • Added API module and configuration support
  • Integrated a new Schedule component into the Home route
  • Developed new components (RaceTrack, EventModal, AudioVisualizer) and updated index.html for font support

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
apps/site/src/util/api.ts API creation utility using a configurable base URL
apps/site/src/routes/Home.tsx Incorporates a new Schedule component
apps/site/src/config.ts Provides API base URL configuration
apps/site/src/components/Home/RaceTrack.tsx Introduces RaceTrack visualization for events
apps/site/src/components/Home/EventModal.tsx Implements modal for event details with auxiliary content
apps/site/src/components/Home/AudioVisualizer.tsx New visualizer component for audio effects
apps/site/index.html Adds Google Fonts for updated typography
Comments suppressed due to low confidence (1)

apps/site/src/components/Home/RaceTrack.tsx:91

  • Consider using an explicit null check (e.g., hoveredIndex !== null) rather than relying on truthiness to handle cases where hoveredIndex might be 0, ensuring consistency with the onMouseEnter adjustment.
const hovered = (hoveredIndex ? hoveredIndex - 1 === index : false) && deviceType === "desktop";

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 30, 2025

Copy link
Copy Markdown

Deploying rp-web-hype with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89c1e1f
Status: ✅  Deploy successful!
Preview URL: https://ea849884.rp-web-hype.pages.dev
Branch Preview URL: https://calendar-section.rp-web-hype.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 30, 2025

Copy link
Copy Markdown

Deploying rp-web-admin with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89c1e1f
Status: ✅  Deploy successful!
Preview URL: https://2ec5b2ac.rp-web-admin.pages.dev
Branch Preview URL: https://calendar-section.rp-web-admin.pages.dev

View logs

J164 pushed a commit that referenced this pull request Jun 7, 2025
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 8, 2025

Copy link
Copy Markdown

Deploying rp-web-sponsor with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89c1e1f
Status: ✅  Deploy successful!
Preview URL: https://ec2325c7.rp-web-sponsor.pages.dev
Branch Preview URL: https://calendar-section.rp-web-sponsor.pages.dev

View logs

@anandani4136 anandani4136 closed this pull request by merging all changes into main in 7a16a68 Aug 21, 2025
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.

3 participants