feat(ui): align dropdown menus, hero headline, brand logo, and directory pages with Figma design
- Redesign Navbar dropdowns to 4-column clean text layout matching Figma design - Add dedicated /ai-image-generate page and divide tools into AI Tools and AI Image Generate - Update BrandLogo and favicons with official icon_website.svg vector - Scale hero headline typography to match Figma proportions - Update FAQ section styling (#F3F5FE) and 5-column dark footer - Remove header from studio reviews marquee to match Figma - Add scroll navigation buttons to both ends of horizontal trendy carousel
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
import React from 'react';
|
||||
import { Star, CheckCircle2 } from 'lucide-react';
|
||||
import { Marquee } from '@/components/magicui/marquee';
|
||||
import { KineticText } from '@/components/magicui/kinetic-text';
|
||||
|
||||
interface ReviewsMarqueeSectionProps {
|
||||
title?: string;
|
||||
@@ -137,7 +136,7 @@ export function ReviewsMarqueeSection({
|
||||
return (
|
||||
<section
|
||||
id="user-reviews"
|
||||
className="py-8 sm:py-12 bg-paper relative overflow-hidden"
|
||||
className="py-10 sm:py-14 bg-paper relative overflow-hidden"
|
||||
>
|
||||
{/* Studio Lighting Ambient Glow */}
|
||||
<div
|
||||
@@ -149,42 +148,25 @@ export function ReviewsMarqueeSection({
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 space-y-6 relative z-10">
|
||||
{/* Section Header without thin separator */}
|
||||
<div className="max-w-2xl space-y-1.5 pb-1">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" aria-hidden="true" />
|
||||
<span className="text-xs font-semibold text-accent font-body">
|
||||
Verified studio reviews
|
||||
</span>
|
||||
</div>
|
||||
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
|
||||
<KineticText>{title}</KineticText>
|
||||
</h2>
|
||||
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
|
||||
{subtitle}
|
||||
</p>
|
||||
</div>
|
||||
{/* Single Marquee Row of Feedbacks with Localized Edge Fades matching Figma */}
|
||||
<div className="relative overflow-hidden w-full z-10">
|
||||
{/* Subtle Local Edge Fades strictly confined to the moving review cards */}
|
||||
<div
|
||||
className="pointer-events-none absolute inset-y-0 left-0 w-12 sm:w-24 bg-gradient-to-r from-paper to-transparent z-10"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<div
|
||||
className="pointer-events-none absolute inset-y-0 right-0 w-12 sm:w-24 bg-gradient-to-l from-paper to-transparent z-10"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
||||
{/* Single Marquee Row of Feedbacks with Localized Edge Fades */}
|
||||
<div className="relative overflow-hidden w-full">
|
||||
{/* Subtle Local Edge Fades strictly confined to the moving review cards */}
|
||||
<div
|
||||
className="pointer-events-none absolute inset-y-0 left-0 w-10 sm:w-20 bg-gradient-to-r from-paper to-transparent z-10"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<div
|
||||
className="pointer-events-none absolute inset-y-0 right-0 w-10 sm:w-20 bg-gradient-to-l from-paper to-transparent z-10"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
||||
<Marquee pauseOnHover repeat={2} className="[--duration:38s]">
|
||||
{displayReviews.map((rev, i) => (
|
||||
<div
|
||||
key={i}
|
||||
className="w-[320px] sm:w-[380px] p-5 sm:p-6 mx-3 rounded-3xl bg-paper-hi border border-rule shadow-sheet hover:border-blue-700 hover:shadow-glow hover:-translate-y-0.5 motion-safe:transition-[border-color,box-shadow,transform] duration-200 flex flex-col justify-between"
|
||||
>
|
||||
<div>
|
||||
<Marquee pauseOnHover repeat={2} className="[--duration:38s]">
|
||||
{displayReviews.map((rev, i) => (
|
||||
<div
|
||||
key={i}
|
||||
className="w-[320px] sm:w-[380px] p-5 sm:p-6 mx-3 rounded-2xl bg-white border border-slate-200/80 shadow-xs hover:border-blue-500 hover:shadow-md hover:-translate-y-0.5 motion-safe:transition-[border-color,box-shadow,transform] duration-200 flex flex-col justify-between"
|
||||
>
|
||||
<div>
|
||||
{/* Top Bar: Tool Pill & 5 Stars */}
|
||||
<div className="flex items-center justify-between border-b border-rule pb-3 mb-3">
|
||||
<span className="text-xs font-semibold font-body text-accent bg-accent/10 px-2.5 py-0.5 rounded-full border border-accent/20">
|
||||
@@ -228,7 +210,6 @@ export function ReviewsMarqueeSection({
|
||||
))}
|
||||
</Marquee>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user