Skip to content

feat: enhance landing page UI/UX with new components and animations#1

Draft
Lathiya50 wants to merge 1 commit into
mainfrom
ui/landing-page-ui-ux
Draft

feat: enhance landing page UI/UX with new components and animations#1
Lathiya50 wants to merge 1 commit into
mainfrom
ui/landing-page-ui-ux

Conversation

@Lathiya50
Copy link
Copy Markdown
Owner

@Lathiya50 Lathiya50 commented Feb 22, 2026

Note

Medium Risk
Large UI rewrite of the public landing page plus new animation dependency; risk is mainly regressions in layout/responsiveness, hydration/scroll behavior, and performance from added motion effects.

Overview
Replaces the inline src/app/page.tsx landing page markup with a composable src/components/landing/* implementation, adding a new header/nav, animated hero (gradient background + floating code review mock), social-proof stats, redesigned feature cards, a timeline-style “how it works”, a testimonials section, a new CTA block, and an expanded multi-column footer.

Adds framer-motion to power scroll/entrance and looping animations, and extends globals.css with animated gradient text, glassmorphism utilities, and keyframe animations (with prefers-reduced-motion fallbacks). Also adds a design spec doc at docs/review/home-page-ui-ux-improvements.md.

Written by Cursor Bugbot for commit b0d8a97. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 4 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on March 24

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

<Play className="mr-2 h-4 w-4" />
Watch demo
</Link>
</Button>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

"Watch demo" button misleadingly links to sign-in

Medium Severity

The secondary CTA button displays "Watch demo" with a Play icon, but its href points to /sign-in. Users clicking this button expect to see a product demo, not a sign-in page. This creates a confusing and misleading user experience that undermines trust — the opposite of what a landing page aims for.

Fix in Cursor Fix in Web

</div>
</nav>
</motion.div>
)}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing AnimatePresence prevents mobile menu exit animation

Low Severity

The mobile menu's motion.div specifies an exit animation prop, but it's conditionally rendered without an AnimatePresence wrapper. In framer-motion, exit animations only work inside AnimatePresence — without it, the component unmounts instantly with no transition when isMobileMenuOpen becomes false. The exit prop is effectively dead code.

Fix in Cursor Fix in Web

Comment thread src/app/page.tsx
<Link href="/sign-in">Sign in</Link>
</Button>
<Button size="sm" asChild>
<Link href="/sign-up">Get started</Link>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fixed header obscures anchor-scrolled section content

Medium Severity

The header uses fixed positioning with a height of h-16 (64px), but the anchor-linked sections (#features, #how-it-works, #testimonials) have no scroll-margin-top to compensate. When users click navigation links, the browser scrolls the section flush to the viewport top, causing the section header/content to be hidden behind the fixed navbar.

Additional Locations (1)

Fix in Cursor Fix in Web

};
window.addEventListener("scroll", handleScroll);
return () => window.removeEventListener("scroll", handleScroll);
}, []);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing initial scroll check causes transparent header

Medium Severity

The useEffect registers the scroll listener but never calls handleScroll() on mount. When a user refreshes the page while scrolled down (browser scroll restoration) or navigates back, isScrolled stays false and the header renders as fully transparent (bg-transparent) with no backdrop blur or border. Navigation links become unreadable against non-hero content until the user scrolls and triggers the handler.

Fix in Cursor Fix in Web

Copy link
Copy Markdown
Owner Author

@Lathiya50 Lathiya50 left a comment

Choose a reason for hiding this comment

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

🤖 CodeReviewAI

This pull request introduces a comprehensive redesign of the landing page, enhancing UI/UX with new components, animations, and improved visual hierarchy. It includes the addition of several new components, styles, and animations to create a more engaging user experience. The overall structure of the landing page has been rewritten to incorporate these changes.


2 inline comment(s) posted

{
icon: Zap,
value: "< 30s",
label: "Avg Review Time",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMbug

The stats displayed may not update dynamically if the data changes.

💡 Suggestion: Consider implementing a state management solution to keep the stats updated.

author: "Emily Watson",
role: "CTO",
company: "BuildIt",
initials: "EW",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMstyle

The testimonials section lacks sufficient spacing between items, which may affect readability.

💡 Suggestion: Increase the margin between testimonial items for better visual separation.

Copy link
Copy Markdown
Owner Author

@Lathiya50 Lathiya50 left a comment

Choose a reason for hiding this comment

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

🤖 CodeReviewAI

This pull request introduces a comprehensive redesign of the landing page, enhancing UI/UX with new components, animations, and improved visual hierarchy. It includes the addition of several new components, styles, and animations to create a more engaging user experience. The overall structure of the landing page has been rewritten to incorporate these changes.


2 inline comment(s) posted

author: "Emily Watson",
role: "CTO",
company: "BuildIt",
initials: "EW",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMstyle

The testimonials section lacks sufficient spacing between items, which may affect readability.

💡 Suggestion: Increase the margin between testimonial items for better visual separation.

{
icon: Zap,
value: "< 30s",
label: "Avg Review Time",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMbug

The stats displayed may not update dynamically if the data changes.

💡 Suggestion: Consider implementing a state management solution to keep the stats updated.

Copy link
Copy Markdown
Owner Author

@Lathiya50 Lathiya50 left a comment

Choose a reason for hiding this comment

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

🤖 CodeReviewAI

This pull request introduces a comprehensive redesign of the landing page, enhancing UI/UX with new components, animations, and improved visual hierarchy. It includes the addition of several new components, styles, and animations to create a more engaging user experience. The overall structure of the landing page has been rewritten to incorporate these changes.


4 inline comment(s) posted


import { motion } from "framer-motion";

/**
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMperformance

The animated background may cause performance issues on lower-end devices due to heavy use of animations.

💡 Suggestion: Consider implementing a fallback or reducing the complexity of animations based on device capabilities.

<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMstyle

The text gradient animation may not be accessible for users with visual impairments.

💡 Suggestion: Ensure that the text remains readable and consider providing an option to disable animations for users with accessibility needs.

{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
{ label: "Changelog", href: "#changelog" },
{ label: "Documentation", href: "#docs" },
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The footer links should have a hover effect for better user experience.

💡 Suggestion: Add a hover effect to the footer links to enhance interactivity.

{
icon: Zap,
value: "< 30s",
label: "Avg Review Time",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMbug

The stats displayed may not update dynamically if the data changes.

💡 Suggestion: Consider implementing a state management solution to keep the stats updated.

Copy link
Copy Markdown
Owner Author

@Lathiya50 Lathiya50 left a comment

Choose a reason for hiding this comment

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

🤖 CodeReviewAI

This pull request introduces a comprehensive redesign of the landing page, enhancing UI/UX with new components, animations, and improved visual hierarchy. It includes the addition of several new components, styles, and animations to create a more engaging user experience. The overall structure of the landing page has been rewritten to incorporate these changes.


1 inline comment(s) posted

Comment thread src/app/page.tsx
@@ -1,237 +1,40 @@
import Link from "next/link";
import {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟠 HIGHbug

The import statements for the new components are missing, which may lead to runtime errors.

💡 Suggestion: Ensure all new components are imported correctly at the top of the file.

@Lathiya50 Lathiya50 marked this pull request as draft March 3, 2026 15:52
Copy link
Copy Markdown
Owner Author

@Lathiya50 Lathiya50 left a comment

Choose a reason for hiding this comment

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

🤖 CodeReviewAI

This pull request introduces a comprehensive redesign of the landing page, enhancing UI/UX with new components, animations, and improved visual hierarchy. It includes the addition of several new components, styles, and animations to create a more engaging user experience. The overall structure of the landing page has been rewritten to incorporate these changes.


1 inline comment(s) posted

{
icon: Zap,
value: "< 30s",
label: "Avg Review Time",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMbug

The stats displayed may not update dynamically if the data changes.

💡 Suggestion: Consider implementing a state management solution to keep the stats updated.

@Lathiya50 Lathiya50 marked this pull request as ready for review March 3, 2026 16:00
Copy link
Copy Markdown
Owner Author

@Lathiya50 Lathiya50 left a comment

Choose a reason for hiding this comment

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

🤖 CodeReviewAI

This pull request introduces a comprehensive redesign of the landing page, enhancing UI/UX with new components, animations, and improved visual hierarchy. It includes the addition of several new components, styles, and animations to create a more engaging user experience. The overall structure of the landing page has been rewritten to incorporate these changes.


4 inline comment(s) posted

Comment thread src/app/page.tsx
@@ -1,237 +1,40 @@
import Link from "next/link";
import {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟠 HIGHbug

The import statements for the new components are missing, which may lead to runtime errors.

💡 Suggestion: Ensure all new components are imported correctly at the top of the file.


import { motion } from "framer-motion";

/**
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMperformance

The animated background may cause performance issues on lower-end devices due to heavy use of animations.

💡 Suggestion: Consider implementing a fallback or reducing the complexity of animations based on device capabilities.

<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMstyle

The text gradient animation may not be accessible for users with visual impairments.

💡 Suggestion: Ensure that the text remains readable and consider providing an option to disable animations for users with accessibility needs.

author: "Emily Watson",
role: "CTO",
company: "BuildIt",
initials: "EW",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMstyle

The testimonials section lacks sufficient spacing between items, which may affect readability.

💡 Suggestion: Increase the margin between testimonial items for better visual separation.

@Lathiya50 Lathiya50 marked this pull request as draft March 25, 2026 15:52
Copy link
Copy Markdown
Owner Author

@Lathiya50 Lathiya50 left a comment

Choose a reason for hiding this comment

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

🤖 CodeReviewAI

The pull request introduces significant UI/UX improvements to the landing page, including new components, animations, and a more polished aesthetic. However, the changes are extensive and may require thorough testing to ensure no bugs or performance issues are introduced.

The pull request introduces new UI/UX components and animations to the landing page, including a hero section, social proof, features, and CTAs. The changes are mostly cosmetic and do not appear to introduce any critical security vulnerabilities or data loss issues. However, there are some minor issues with code style and potential performance problems.

Added two new components to enhance the landing page UI/UX: CodeReviewMockup and CTASection. The components include animations and interactive elements. However, there are some minor issues that need to be addressed.

This pull request introduces a new features section and an enhanced footer to the landing page. The changes include new components, animations, and layout improvements. However, there are some issues that need to be addressed.

The pull request introduces new components for the landing page, including a header and hero section, with various UI/UX enhancements and animations. Overall, the code is well-structured, but there are some potential issues and improvements that can be made.

The pull request enhances the landing page UI/UX with new components and animations. However, there are some minor issues and suggestions for improvement.

The pull request introduces two new components, SocialProof and Testimonials, to enhance the landing page UI/UX. The components utilize framer-motion for animations and lucide-react for icons. Overall, the code is well-structured, but there are some minor issues and suggestions for improvement.


25 inline comment(s) posted

Comment thread package.json
@@ -19,6 +19,7 @@
"better-auth": "^1.4.18",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The version of framer-motion is not following the standard versioning format.

💡 Suggestion: Use a standard versioning format for the framer-motion version.

Comment thread pnpm-lock.yaml
@@ -32,6 +32,9 @@ importers:
clsx:
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMperformance

The addition of framer-motion and its dependencies may impact the overall performance of the application.

💡 Suggestion: Monitor the application's performance after the update and consider optimizations if necessary.

@@ -0,0 +1,164 @@
# Home Page UI/UX Improvements
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The documentation does not follow a standard formatting convention.

💡 Suggestion: Use a standard formatting convention for the documentation.

- Make the page feel premium and professional

## Scope

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

🟡 MEDIUMbug

The scope of the redesign is not clearly defined, which may lead to misunderstandings or miscommunications.

💡 Suggestion: Clearly define the scope of the redesign and ensure all stakeholders are aware of the changes.

Comment thread src/app/globals.css
@@ -119,10 +119,115 @@
@layer base {
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The CSS file has been heavily modified, but there are no major issues. However, some of the new classes and animations could be optimized for better performance.

💡 Suggestion: Consider optimizing the new CSS classes and animations for better performance.

},
{
icon: Star,
value: "4.9/5",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

Consider adding a unique key to the motion.div element to improve accessibility.

💡 Suggestion: Add a unique key to the motion.div element

];

/**
* Social proof section with stats and company logos.
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The className 'text-muted-foreground' is used multiple times. Consider defining a constant for it.

💡 Suggestion: Define a constant for the className 'text-muted-foreground'

author: "Sarah Chen",
role: "Engineering Lead",
company: "TechStart",
initials: "SC",
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The testimonials array is quite long. Consider breaking it down into smaller arrays or using a separate data file.

💡 Suggestion: Break down the testimonials array into smaller arrays or use a separate data file

</motion.div>

{/* Testimonials grid */}
<div className="mt-16 grid gap-8 md:grid-cols-3">
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The className 'text-gradient-animated' is not defined in the provided code. Make sure it is defined in the CSS files.

💡 Suggestion: Define the className 'text-gradient-animated' in the CSS files


{/* Stars */}
<div className="flex gap-1 mb-4">
{[...Array(5)].map((_, i) => (
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LOWstyle

The glass-card className is not defined in the provided code. Make sure it is defined in the CSS files.

💡 Suggestion: Define the glass-card className in the CSS files

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.

1 participant