feat: redesign landing page with brand system and section blocks
Build & Push Docker Image / build (push) Has been cancelled

Refresh the homepage around new hero/services/roadmap sections, shared design tokens, and updated brand assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ar.badiei
2026-07-23 17:00:55 +03:30
co-authored by Cursor
parent f0c290786e
commit c2376b3b9e
352 changed files with 34442 additions and 2760 deletions
@@ -47,7 +47,7 @@ function AudienceSection({
}) {
return (
<motion.div className="space-y-2" variants={agentFadeUp}>
<p className={cn(type.caption, "font-medium uppercase tracking-wide text-muted-foreground")}>
<p className={cn(type.caption, "font-medium text-muted-foreground")}>
{title}
</p>
<motion.div
@@ -110,12 +110,12 @@ export function AgentPreviewPanel({ className, onClose }: AgentPreviewPanelProps
animate="visible"
>
<motion.div className="space-y-2" variants={agentFadeUp}>
<p className={cn(type.caption, "font-medium uppercase tracking-wide text-muted-foreground")}>
<p className={cn(type.caption, "font-medium text-muted-foreground")}>
سناریو
</p>
<h3 className={type.h4}>{AGENT_WORKSPACE_TITLE}</h3>
<p className={cn(type["body-sm"], "text-muted-foreground")}>
سناریوی آزمایشی برای طراحی workflow پشتیبانی و پاسخ‌گویی خودکار به
سناریوی آزمایشی برای طراحی گردش‌کار پشتیبانی و پاسخ‌گویی خودکار به
مشتریان.
</p>
<div className="flex flex-wrap gap-1.5 pt-1">
@@ -137,7 +137,7 @@ export function AgentPreviewPanel({ className, onClose }: AgentPreviewPanelProps
</motion.div>
<motion.div className="space-y-2" variants={agentFadeUp}>
<p className={cn(type.caption, "font-medium uppercase tracking-wide text-muted-foreground")}>
<p className={cn(type.caption, "font-medium text-muted-foreground")}>
قالب
</p>
<div className="flex items-center justify-between rounded-xl border bg-muted/30 p-3">
@@ -145,14 +145,14 @@ export function AgentPreviewPanel({ className, onClose }: AgentPreviewPanelProps
<FileText className="size-4 text-muted-foreground" aria-hidden />
<span className={type["body-sm"]}>پاسخ‌گویی خودکار</span>
</div>
<Button type="button" variant="ghost" size="sm" className="h-7 px-2 text-xs">
<Button type="button" variant="ghost" size="sm">
تغییر
</Button>
</div>
</motion.div>
<div className="space-y-4">
<p className={cn(type.caption, "font-medium uppercase tracking-wide text-muted-foreground")}>
<p className={cn(type.caption, "font-medium text-muted-foreground")}>
نمای کلی مخاطب
</p>
<AudienceSection title="نوع شرکت" tags={AGENT_AUDIENCE_TAGS.companyType} />
@@ -162,7 +162,7 @@ export function AgentPreviewPanel({ className, onClose }: AgentPreviewPanelProps
</div>
<motion.div className="space-y-2" variants={agentFadeUp}>
<p className={cn(type.caption, "font-medium uppercase tracking-wide text-muted-foreground")}>
<p className={cn(type.caption, "font-medium text-muted-foreground")}>
ساختار سناریو
</p>
<div className="flex items-center gap-2 rounded-xl border bg-muted/30 px-3 py-2.5">
@@ -178,7 +178,7 @@ export function AgentPreviewPanel({ className, onClose }: AgentPreviewPanelProps
animate={{ opacity: 1, y: 0 }}
transition={{ delay: 0.2 }}
>
<Button type="button" variant="outline" className="flex-1">
<Button type="button" variant="secondary" className="flex-1">
زمان‌بندی
</Button>
<Button type="button" className="flex-1">
+1 -1
View File
@@ -44,7 +44,7 @@ export function AgentSphere({ className }: AgentSphereProps) {
className="relative size-full rounded-full shadow-lg"
style={{
background:
"radial-gradient(circle at 30% 25%, oklch(0.75 0.12 165), #01796F 45%, oklch(0.35 0.08 175) 100%)",
"radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--brand-primary) 55%, white), var(--brand-primary) 45%, var(--brand-primary-dark) 100%)",
}}
>
<div className="absolute inset-[18%] rounded-full bg-white/20 blur-sm" />
+2 -2
View File
@@ -75,8 +75,8 @@ function ProgressCard() {
</div>
<motion.p
className={cn(
type.caption,
"text-center text-[10px] uppercase tracking-wide",
type.micro,
"text-center",
isComplete || isActive
? "text-primary"
: "text-muted-foreground"
+3 -3
View File
@@ -142,10 +142,10 @@ export function ChatComposer({
type="button"
onClick={onSubmit}
disabled={!canSubmit}
className="h-8 gap-1.5 rounded-full px-4"
size="sm"
>
<Play className="size-3.5 fill-current" aria-hidden />
<span className={type.caption}>اجرا</span>
<Play className="fill-current" aria-hidden />
اجرا
</Button>
</motion.div>
</div>
+8 -8
View File
@@ -3,10 +3,10 @@ export const AGENT_BREADCRUMB = {
current: "دستیار هوشمند",
} as const;
export const AGENT_WORKSPACE_TITLE = "طراحی workflow پشتیبانی — نمونه Q1";
export const AGENT_WORKSPACE_TITLE = "طراحی گردش‌کار پشتیبانی؛ نمونه سه‌ماهه اول";
export const AGENT_WELCOME = {
greeting: "سلام! به دستیار فیپ خوش آمدید",
greeting: "سلام! به دستیار امین رایان خوش آمدید",
subtitle: "دستیار هوشمند شما برای اتوماسیون و بهینه‌سازی فرایندها",
} as const;
@@ -14,9 +14,9 @@ export const AGENT_FEATURE_CARDS = [
{
id: "workflow",
icon: "megaphone" as const,
title: "طراحی workflow",
description: "امتحان کنید: «یک workflow پاسخ‌گویی خودکار طراحی کن»",
prompt: "یک workflow پاسخ‌گویی خودکار برای مشتریان طراحی کن.",
title: "طراحی گردش‌کار",
description: "امتحان کنید: «یک گردش‌کار پاسخ‌گویی خودکار طراحی کن»",
prompt: "یک گردش‌کار پاسخ‌گویی خودکار برای مشتریان طراحی کن.",
},
{
id: "report",
@@ -69,8 +69,8 @@ export const AGENT_PREVIEW_TAGS = [
] as const;
export const AGENT_AUDIENCE_TAGS = {
companyType: ["استارت‌آپ AI", "SaaS"],
stage: ["مرحله A", "رشد"],
companyType: ["استارت‌آپ هوش مصنوعی", "نرم‌افزار ابری"],
stage: ["مرحله الف", "رشد"],
companySize: ["۱۰–۵۰ نفر"],
region: ["ایران", "خاورمیانه"],
} as const;
@@ -108,7 +108,7 @@ export const GUIDE_SCENARIOS = [
description: "بهبود لحن، وضوح و ساختار متن‌های آماده.",
},
{
title: "ایده‌پردازی workflow",
title: "ایده‌پردازی گردش‌کار",
description: "طراحی اولیه جریان‌های کاری و اتوماسیون مرتبط.",
},
{
+12 -10
View File
@@ -1,22 +1,24 @@
import { Container } from "@/components/container";
import {
GUIDE_BENEFITS,
GUIDE_SCENARIOS,
GUIDE_USE_CASES,
} from "./playground-content";
import { layout } from "@/lib/layout";
import { type, typeSpacing } from "@/lib/typography";
import { cn } from "@/lib/utils";
export function PlaygroundGuide() {
return (
<div className="border-t bg-muted/20">
<section className="py-12 md:py-16">
<div className="mx-auto max-w-6xl px-4 sm:px-6">
<section className={cn("section-shell", layout.sectionY)}>
<Container>
<div className={cn("mx-auto max-w-3xl text-center", typeSpacing.sectionStack)}>
<h2 className={type.h2}>
در آزمایشگاه فیپ چه کارهایی می‌توانید انجام دهید؟
</h2>
<p className={cn(type["body-sm"], "text-muted-foreground md:text-base")}>
این بخش برای آشنایی با قابلیت‌های آزمایشگاه فیپ است — نه بخشی از
این بخش برای آشنایی با قابلیت‌های آزمایشگاه فیپ است؛ نه بخشی از
تاریخچه گفتگو.
</p>
</div>
@@ -36,11 +38,11 @@ export function PlaygroundGuide() {
</div>
))}
</div>
</div>
</Container>
</section>
<section className="border-t bg-background py-12 md:py-16">
<div className="mx-auto max-w-6xl px-4 sm:px-6">
<section className={cn("section-shell border-t bg-section-canvas", layout.sectionY)}>
<Container>
<div className={cn("mx-auto max-w-3xl text-center", typeSpacing.sectionStack)}>
<h2 className={type.h2}>
سناریوهای قابل آزمایش
@@ -63,11 +65,11 @@ export function PlaygroundGuide() {
</div>
))}
</div>
</div>
</Container>
</section>
<section className="border-t bg-muted/30 py-12 md:py-16">
<div className="mx-auto max-w-6xl px-4 sm:px-6">
<section className={cn("section-shell border-t bg-section-muted", layout.sectionY)}>
<Container>
<div className="mx-auto max-w-3xl rounded-2xl border bg-card p-6 md:p-8">
<h2 className={type.h2}>
چرا آزمایشگاه فیپ مهم است؟
@@ -88,7 +90,7 @@ export function PlaygroundGuide() {
))}
</ul>
</div>
</div>
</Container>
</section>
</div>
);
+2 -2
View File
@@ -11,8 +11,8 @@ export const PROMPT_STARTERS = [
},
{
id: "workflow",
label: "پیشنهاد workflow",
prompt: "برای این فرایند یک workflow پیشنهاد بده:\n\n[فرایند موردنظر]",
label: "پیشنهاد گردش‌کار",
prompt: "برای این فرایند یک گردش‌کار پیشنهاد بده:\n\n[فرایند موردنظر]",
},
{
id: "support-reply",
@@ -9,8 +9,6 @@ import {
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { cn } from "@/lib/utils";
import { type } from "@/lib/typography";
import { PLAYGROUND_SCENARIOS } from "./playground-prompts";
export { PLAYGROUND_SCENARIOS };
@@ -48,15 +46,10 @@ export function PlaygroundScenariosCard({
<Button
key={scenario.id}
type="button"
variant={activeScenarioId === scenario.id ? "default" : "outline"}
variant={activeScenarioId === scenario.id ? "default" : "secondary"}
size="sm"
disabled={disabled}
onClick={() => onSelectScenario(scenario.id, scenario.prompt)}
className={cn(
"h-auto min-h-8 whitespace-normal rounded-full px-3 py-1.5",
type.caption,
activeScenarioId === scenario.id && "shadow-sm"
)}
>
{scenario.label}
</Button>
@@ -99,12 +99,9 @@ export function PlaygroundToolsSheet({
<Button
key={scenario.id}
type="button"
variant={activeScenarioId === scenario.id ? "default" : "outline"}
className={cn(
"h-auto justify-start whitespace-normal px-3 py-2.5 text-start",
type["body-sm"],
activeScenarioId === scenario.id && "shadow-sm"
)}
variant={activeScenarioId === scenario.id ? "default" : "secondary"}
size="sm"
className="h-auto min-h-[var(--btn-height-sm)] justify-start whitespace-normal px-[var(--btn-px-sm)] py-2 text-start"
onClick={() => handleScenarioSelect(scenario.id, scenario.prompt)}
>
{scenario.label}