Skip to content

2025 header - #30

Merged
5 commits merged into
mainfrom
2025-header
Aug 21, 2025
Merged

2025 header#30
5 commits merged into
mainfrom
2025-header

Conversation

@anandani4136

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings August 11, 2025 18:37

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 PR introduces a new design for the 2025 homepage by replacing a simple text placeholder with a comprehensive landing experience featuring animated components and styled content.

  • Refactors the Home component to import and render new Landing and Description page components
  • Creates an animated landing page with Lottie animations, responsive design, and a prominent registration button
  • Adds a description section with animated cars and welcome content for the R|P conference

Reviewed Changes

Copilot reviewed 3 out of 14 changed files in this pull request and generated 4 comments.

File Description
apps/site/src/routes/Home.tsx Replaces placeholder text with Landing and Description components
apps/site/src/pages/Landing.tsx Creates new animated landing page with title, background animation, and registration button
apps/site/src/pages/Description.tsx Implements description section with animated car elements and conference information

objectFit: "fill",
zIndex: 0,
maskImage:
"linear-gradient(to top, black var(--pct), transparent var(--pct))",

Copilot AI Aug 11, 2025

Copy link

Choose a reason for hiding this comment

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

Using CSS custom properties (--pct) in inline styles with TypeScript may cause type issues. Consider defining this as a proper CSS variable or using Chakra UI's theme system for better type safety.

Copilot uses AI. Check for mistakes.
"linear-gradient(to top, black var(--pct), transparent var(--pct))"
}}
initial={{ "--pct": "0%" }}
animate={inView ? { "--pct": "100%" } : {}}

Copilot AI Aug 11, 2025

Copy link

Choose a reason for hiding this comment

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

TypeScript may not recognize CSS custom property keys in motion component props. Consider using a ref with direct style manipulation or a proper CSS-in-JS solution for better type safety.

Suggested change
animate={inView ? { "--pct": "100%" } : {}}
initial={{ "--pct": "0%" } as any}
animate={inView ? ({ "--pct": "100%" } as any) : {}}

Copilot uses AI. Check for mistakes.
color="black"
rounded="lg"
_hover={{ bg: "gray.800", color: "white" }}
_active={{ bg: "#EAA001" }}

Copilot AI Aug 11, 2025

Copy link

Choose a reason for hiding this comment

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

Hard-coded color value should be moved to a theme variable or constant for consistency and easier maintenance across the application.

Suggested change
_active={{ bg: "#EAA001" }}
bg={REGISTER_BUTTON_BG}
color="black"
rounded="lg"
_hover={{ bg: "gray.800", color: "white" }}
_active={{ bg: REGISTER_BUTTON_BG }}

Copilot uses AI. Check for mistakes.
color="black"
rounded="lg"
_hover={{ bg: "gray.800", color: "white" }}
_active={{ bg: "#EAA001" }}

Copilot AI Aug 11, 2025

Copy link

Choose a reason for hiding this comment

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

Duplicate hard-coded color value should be moved to a theme variable or constant for consistency and easier maintenance across the application.

Suggested change
_active={{ bg: "#EAA001" }}
bg={ACCENT_COLOR}
color="black"
rounded="lg"
_hover={{ bg: "gray.800", color: "white" }}
_active={{ bg: ACCENT_COLOR }}

Copilot uses AI. Check for mistakes.
@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying rp-web-hype with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f998a1
Status: ✅  Deploy successful!
Preview URL: https://1e49e83b.rp-web-hype.pages.dev
Branch Preview URL: https://2025-header.rp-web-hype.pages.dev

View logs

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying rp-web-admin with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f998a1
Status: ✅  Deploy successful!
Preview URL: https://dc5eb84a.rp-web-admin.pages.dev
Branch Preview URL: https://2025-header.rp-web-admin.pages.dev

View logs

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying rp-web-sponsor with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f998a1
Status: ✅  Deploy successful!
Preview URL: https://d7a2501f.rp-web-sponsor.pages.dev
Branch Preview URL: https://2025-header.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.

2 participants