Skip to content

Conversation

mkczarkowski
Copy link
Collaborator

This PR introduces a comprehensive landing page for the AI Rules Builder product,
replacing the previous direct-to-app experience with a professional marketing page
that explains the product's value proposition and guides users to get started.

Key Features:

  • Complete Landing Page System: 12 modular Astro components covering hero section,
    features, how-it-works, problem/solution, tech stack showcase, community, and CTAs
  • Improved UX Flow: Clear user journey with "Choose Your Path" section directing
    users to either the Rule Builder or Prompt Library
  • Enhanced SEO: Updated SEO component with better meta tags and social sharing
    support
  • Rich Animation System: Entrance animations, micro-interactions, and
    scroll-triggered effects with Safari-specific optimizations and reduced-motion support
  • Accessibility-First: Respects prefers-reduced-motion settings and provides
    fallback experiences

Technical Highlights:

  • Modular component architecture in src/components/landing/
  • Reusable UI components (Button, PathCard, StepCard)
  • Data-driven content via landingData.ts and landingContent.ts

Browser Compatibility:

  • Animations disabled on Safari to prevent performance issues
  • Graceful degradation for older browsers
  • Full responsive design support

@github-actions
Copy link

✅ All checks have passed successfully!

  • Lint: ✅
  • Unit Tests: ✅
  • E2E Tests: ✅

Coverage reports have been uploaded as artifacts.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

* Animates numbers from 0 to target value with smooth transitions
*/

import { ANIMATION_DURATIONS, OBSERVER_THRESHOLDS, ROOT_MARGINS } from '../data/landingContent';

Choose a reason for hiding this comment

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

P0 Badge Import animation constants from correct module

The counters script pulls ANIMATION_DURATIONS, OBSERVER_THRESHOLDS, and ROOT_MARGINS from landingContent, but that module only exports route/link metadata. These constants actually live in landingAnimations.ts, so the current import will fail TypeScript compilation with “has no exported member” and prevent the landing page from building.

Useful? React with 👍 / 👎.

Comment on lines +60 to +64
<script src="../../scripts/landing-animations.ts"></script>
<!-- Number counter animations -->
<script src="../../scripts/landing-counters.ts"></script>
<!-- Micro-interactions and hover effects -->
<script src="../../scripts/landing-micro-interactions.ts"></script>

Choose a reason for hiding this comment

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

P1 Badge Bundle landing scripts instead of referencing raw .ts files

The landing component inserts three <script> tags that point directly at .ts sources using relative strings. Astro does not emit these files automatically, so the built page will request /scripts/landing-animations.ts (etc.) which either 404s or returns untranspiled TypeScript. As a result none of the animations, counters, or micro‑interactions execute in production. Use Astro.resolve or move compiled JS into public so the assets are bundled.

Useful? React with 👍 / 👎.

@github-actions
Copy link

✅ All checks have passed successfully!

  • Lint: ✅
  • Unit Tests: ✅
  • E2E Tests: ✅

Coverage reports have been uploaded as artifacts.

@mkczarkowski mkczarkowski merged commit d5325d2 into master Oct 14, 2025
5 checks passed
@mkczarkowski mkczarkowski deleted the landing branch October 14, 2025 19:05
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