feat: add version history drawer with release notes
Introduce a footer-triggered Version History drawer with categorized release notes, hardcoded release data, and semver tracking at v0.3.0. Also ships blog blockquote/table styling, site-wide typography, home page image updates, header refinements, and related bug fixes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+47
-45
@@ -5,6 +5,8 @@ export const metadata = {
|
||||
};
|
||||
import { Button } from "@/components/ui/button";
|
||||
import Link from "next/link";
|
||||
import { type, typeSpacing } from "@/lib/typography";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
export default function AboutPage() {
|
||||
return (
|
||||
@@ -12,11 +14,11 @@ export default function AboutPage() {
|
||||
{/* Hero Section */}
|
||||
<section className="bg-background pt-32 pb-20 md:pt-40 md:pb-28">
|
||||
<div className="mx-auto max-w-4xl px-6">
|
||||
<div className="text-center space-y-6">
|
||||
<h1 className="text-4xl font-bold md:text-5xl lg:text-6xl leading-tight tracking-normal">
|
||||
<div className={cn("text-center", typeSpacing.heroStack)}>
|
||||
<h1 className={type.h1}>
|
||||
درباره ما
|
||||
</h1>
|
||||
<p className="text-xl leading-relaxed tracking-normal text-muted-foreground max-w-2xl mx-auto">
|
||||
<p className={cn(type["body-lg"], "text-muted-foreground max-w-2xl mx-auto")}>
|
||||
ما یک گروه متخصص هستیم که در حوزه اینتگریشن و روشهای نوین یکپارچهسازی فعالیت میکنیم.
|
||||
هدف ما ارائه راهکارهای هوشمند و کارآمد برای اتصال سیستمها، دادهها و فرآیندهای کسبوکار است.
|
||||
</p>
|
||||
@@ -29,16 +31,16 @@ export default function AboutPage() {
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<div className="grid gap-12 lg:grid-cols-2 items-center">
|
||||
<div className="space-y-6">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type.h2}>
|
||||
داستان ما
|
||||
</h2>
|
||||
<div className="space-y-4 text-muted-foreground leading-relaxed tracking-normal">
|
||||
<p>
|
||||
<div className={cn(typeSpacing.paragraphStack, "text-muted-foreground")}>
|
||||
<p className={type.body}>
|
||||
فیپ یک گروه متخصص است که در حوزه اینتگریشن و روشهای نوین یکپارچهسازی فعالیت میکند.
|
||||
ما با استفاده از تکنولوژیهای پیشرفته و رویکردهای نوآورانه، به کسبوکارها کمک میکنیم تا
|
||||
سیستمهای خود را به شکلی کارآمد و قابلاعتماد بهم متصل کنند.
|
||||
</p>
|
||||
<p>
|
||||
<p className={type.body}>
|
||||
ما در زمینه یکپارچهسازی سیستمها، اتوماسیون فرآیندها، ارتباطات چندکاناله و مدیریت دادهها
|
||||
تخصص داریم. با استفاده از روشهای نوین و ابزارهای پیشرفته، راهکارهای سفارشی برای هر کسبوکار
|
||||
طراحی و پیادهسازی میکنیم.
|
||||
@@ -47,8 +49,8 @@ export default function AboutPage() {
|
||||
</div>
|
||||
<div className="relative aspect-square rounded-2xl bg-gradient-to-br from-primary/20 to-primary/5 p-8 flex items-center justify-center">
|
||||
<div className="text-center space-y-4">
|
||||
<div className="text-5xl font-bold text-primary">۱۰+</div>
|
||||
<div className="text-lg font-medium">سال تجربه</div>
|
||||
<div className={type.stat}>۱۰+</div>
|
||||
<div className={cn(type["body-lg"], "font-medium text-foreground")}>سال تجربه</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -61,10 +63,10 @@ export default function AboutPage() {
|
||||
<div className="grid gap-12 md:grid-cols-2">
|
||||
<div className="space-y-6 p-8 rounded-2xl border bg-muted/30 transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<div className="space-y-4">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type.h2}>
|
||||
ماموریت ما
|
||||
</h2>
|
||||
<p className="leading-relaxed tracking-normal text-muted-foreground text-lg">
|
||||
<p className={cn(type["section-intro"])}>
|
||||
ماموریت ما این است که با استفاده از روشهای نوین اینتگریشن، به کسبوکارها کمک کنیم تا
|
||||
بدون پیچیدگیهای فنی، سیستمهای خود را بهم متصل کنند و از قدرت اتوماسیون و ارتباطات هوشمند
|
||||
بهرهمند شوند.
|
||||
@@ -73,10 +75,10 @@ export default function AboutPage() {
|
||||
</div>
|
||||
<div className="space-y-6 p-8 rounded-2xl border bg-muted/30 transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<div className="space-y-4">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type.h2}>
|
||||
چشمانداز ما
|
||||
</h2>
|
||||
<p className="leading-relaxed tracking-normal text-muted-foreground text-lg">
|
||||
<p className={cn(type["section-intro"])}>
|
||||
ما میخواهیم به گروه پیشرو در حوزه اینتگریشن و روشهای نوین یکپارچهسازی تبدیل شویم.
|
||||
چشمانداز ما این است که هر کسبوکاری، از کوچک تا بزرگ، بتواند به راحتی از خدمات ما استفاده کند
|
||||
و به اهداف خود برسد.
|
||||
@@ -92,35 +94,35 @@ export default function AboutPage() {
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<div className="text-center space-y-12">
|
||||
<div className="space-y-4">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type.h2}>
|
||||
ارزشهای ما
|
||||
</h2>
|
||||
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
||||
<p className={cn(type["section-intro"], "max-w-2xl mx-auto")}>
|
||||
ارزشهایی که در تمام کارهای ما رعایت میشود
|
||||
</p>
|
||||
</div>
|
||||
<div className="grid gap-8 md:grid-cols-2 lg:grid-cols-4">
|
||||
<div className="space-y-4 p-6 rounded-xl bg-card border transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<h3 className="font-bold text-xl">کیفیت</h3>
|
||||
<p className="text-sm leading-relaxed tracking-normal text-muted-foreground">
|
||||
<h3 className={type.h3}>کیفیت</h3>
|
||||
<p className={cn(type["body-sm"], "text-muted-foreground")}>
|
||||
تعهد به کیفیت و نوآوری در تمام پروژهها و خدمات
|
||||
</p>
|
||||
</div>
|
||||
<div className="space-y-4 p-6 rounded-xl bg-card border transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<h3 className="font-bold text-xl">شفافیت</h3>
|
||||
<p className="text-sm leading-relaxed tracking-normal text-muted-foreground">
|
||||
<h3 className={type.h3}>شفافیت</h3>
|
||||
<p className={cn(type["body-sm"], "text-muted-foreground")}>
|
||||
شفافیت کامل در ارتباطات، قیمتگذاری و فرآیندها
|
||||
</p>
|
||||
</div>
|
||||
<div className="space-y-4 p-6 rounded-xl bg-card border transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<h3 className="font-bold text-xl">مشتریمحوری</h3>
|
||||
<p className="text-sm leading-relaxed tracking-normal text-muted-foreground">
|
||||
<h3 className={type.h3}>مشتریمحوری</h3>
|
||||
<p className={cn(type["body-sm"], "text-muted-foreground")}>
|
||||
تمرکز بر نیازهای مشتری و رضایت کامل آنها
|
||||
</p>
|
||||
</div>
|
||||
<div className="space-y-4 p-6 rounded-xl bg-card border transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<h3 className="font-bold text-xl">نوآوری</h3>
|
||||
<p className="text-sm leading-relaxed tracking-normal text-muted-foreground">
|
||||
<h3 className={type.h3}>نوآوری</h3>
|
||||
<p className={cn(type["body-sm"], "text-muted-foreground")}>
|
||||
استفاده از آخرین تکنولوژیها و روشهای نوین
|
||||
</p>
|
||||
</div>
|
||||
@@ -134,10 +136,10 @@ export default function AboutPage() {
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<div className="text-center space-y-12">
|
||||
<div className="space-y-4">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type.h2}>
|
||||
چرا فیپ را انتخاب کنید؟
|
||||
</h2>
|
||||
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
||||
<p className={cn(type["section-intro"], "max-w-2xl mx-auto")}>
|
||||
مزایای رقابتی که ما را از دیگران متمایز میکند
|
||||
</p>
|
||||
</div>
|
||||
@@ -150,8 +152,8 @@ export default function AboutPage() {
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
<h3 className="font-bold text-xl">سادگی</h3>
|
||||
<p className="text-muted-foreground leading-relaxed tracking-normal">
|
||||
<h3 className={type.h3}>سادگی</h3>
|
||||
<p className={cn(type.body, "text-muted-foreground")}>
|
||||
رابط کاربری ساده و قابل فهم که نیاز به تخصص فنی ندارد
|
||||
</p>
|
||||
</div>
|
||||
@@ -163,8 +165,8 @@ export default function AboutPage() {
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
<h3 className="font-bold text-xl">قابلیت اطمینان</h3>
|
||||
<p className="text-muted-foreground leading-relaxed tracking-normal">
|
||||
<h3 className={type.h3}>قابلیت اطمینان</h3>
|
||||
<p className={cn(type.body, "text-muted-foreground")}>
|
||||
زیرساخت قدرتمند و پایدار که همیشه در دسترس است
|
||||
</p>
|
||||
</div>
|
||||
@@ -176,8 +178,8 @@ export default function AboutPage() {
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
<h3 className="font-bold text-xl">مقیاسپذیری</h3>
|
||||
<p className="text-muted-foreground leading-relaxed tracking-normal">
|
||||
<h3 className={type.h3}>مقیاسپذیری</h3>
|
||||
<p className={cn(type.body, "text-muted-foreground")}>
|
||||
قابلیت رشد همراه با نیازهای کسبوکار شما
|
||||
</p>
|
||||
</div>
|
||||
@@ -191,10 +193,10 @@ export default function AboutPage() {
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<div className="text-center space-y-12">
|
||||
<div className="space-y-4">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type.h2}>
|
||||
تیم ما
|
||||
</h2>
|
||||
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
||||
<p className={cn(type["section-intro"], "max-w-2xl mx-auto")}>
|
||||
تیم فیپ متشکل از متخصصان با تجربه در حوزههای اینتگریشن، فناوری اطلاعات، توسعه نرمافزار
|
||||
و مدیریت کسبوکار است. ما با همکاری یکدیگر و استفاده از روشهای نوین، راهکارهای نوآورانه و
|
||||
کاربردی برای چالشهای یکپارچهسازی ارائه میدهیم.
|
||||
@@ -204,33 +206,33 @@ export default function AboutPage() {
|
||||
<div className="space-y-4 p-8 rounded-2xl bg-card border text-center transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<div className="flex justify-center">
|
||||
<div className="size-24 rounded-full bg-gradient-to-br from-primary/20 to-primary/5 flex items-center justify-center transition-transform duration-300 hover:scale-110">
|
||||
<span className="text-3xl font-bold text-primary">ت</span>
|
||||
<span className={cn(type.h2, "text-primary")}>ت</span>
|
||||
</div>
|
||||
</div>
|
||||
<h3 className="font-bold text-xl">تخصص</h3>
|
||||
<p className="text-sm text-muted-foreground leading-relaxed">
|
||||
<h3 className={type.h3}>تخصص</h3>
|
||||
<p className={cn(type["body-sm"], "text-muted-foreground")}>
|
||||
متخصصان با تجربه در حوزه اینتگریشن و یکپارچهسازی
|
||||
</p>
|
||||
</div>
|
||||
<div className="space-y-4 p-8 rounded-2xl bg-card border text-center transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<div className="flex justify-center">
|
||||
<div className="size-24 rounded-full bg-gradient-to-br from-primary/20 to-primary/5 flex items-center justify-center transition-transform duration-300 hover:scale-110">
|
||||
<span className="text-3xl font-bold text-primary">ن</span>
|
||||
<span className={cn(type.h2, "text-primary")}>ن</span>
|
||||
</div>
|
||||
</div>
|
||||
<h3 className="font-bold text-xl">نوآوری</h3>
|
||||
<p className="text-sm text-muted-foreground leading-relaxed">
|
||||
<h3 className={type.h3}>نوآوری</h3>
|
||||
<p className={cn(type["body-sm"], "text-muted-foreground")}>
|
||||
استفاده از آخرین تکنولوژیها و روشهای نوین
|
||||
</p>
|
||||
</div>
|
||||
<div className="space-y-4 p-8 rounded-2xl bg-card border text-center transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
||||
<div className="flex justify-center">
|
||||
<div className="size-24 rounded-full bg-gradient-to-br from-primary/20 to-primary/5 flex items-center justify-center transition-transform duration-300 hover:scale-110">
|
||||
<span className="text-3xl font-bold text-primary">پ</span>
|
||||
<span className={cn(type.h2, "text-primary")}>پ</span>
|
||||
</div>
|
||||
</div>
|
||||
<h3 className="font-bold text-xl">پشتیبانی</h3>
|
||||
<p className="text-sm text-muted-foreground leading-relaxed">
|
||||
<h3 className={type.h3}>پشتیبانی</h3>
|
||||
<p className={cn(type["body-sm"], "text-muted-foreground")}>
|
||||
پشتیبانی کامل و مستمر در تمام مراحل پروژه
|
||||
</p>
|
||||
</div>
|
||||
@@ -243,10 +245,10 @@ export default function AboutPage() {
|
||||
<section className="bg-background py-20 md:py-28">
|
||||
<div className="mx-auto max-w-4xl px-6">
|
||||
<div className="text-center space-y-8 p-12 rounded-2xl border bg-gradient-to-br from-primary/5 to-primary/10">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type["cta-title"]}>
|
||||
آماده شروع هستید؟
|
||||
</h2>
|
||||
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
||||
<p className={cn(type["section-intro"], "max-w-2xl mx-auto")}>
|
||||
با ما تماس بگیرید تا درباره نیازهای شما صحبت کنیم و بهترین راهکار را پیشنهاد دهیم
|
||||
</p>
|
||||
<div className="flex flex-col sm:flex-row gap-4 justify-center">
|
||||
@@ -254,7 +256,7 @@ export default function AboutPage() {
|
||||
<Link href="/pricing">مشاهده قیمتها</Link>
|
||||
</Button>
|
||||
<Button asChild size="lg" variant="outline">
|
||||
<Link href="#contact">تماس با ما</Link>
|
||||
<Link href="/consulting#consulting-form">تماس با ما</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5,16 +5,19 @@ import { notFound } from "next/navigation";
|
||||
import { getPostBySlug, getFeaturedImageUrl, getRelatedPosts } from "@/lib/wp-api";
|
||||
import { formatDateShamsi } from "@/lib/format-date";
|
||||
import { ChevronRight } from "lucide-react";
|
||||
import type { CollapseBlockPayload, BlockquoteBlockPayload, TipBlockPayload } from "@/lib/blog-blocks";
|
||||
import type { CollapseBlockPayload, BlockquoteBlockPayload, TipBlockPayload, TableBlockPayload } from "@/lib/blog-blocks";
|
||||
import { parseContentHeadings, getReadingTimeMinutes, formatAuthorName } from "@/lib/blog-utils";
|
||||
import { BlogToc } from "@/components/blog-toc";
|
||||
import { BlogPostMeta } from "@/components/blog-post-meta";
|
||||
import { BlogCollapseSection } from "@/components/blog-collapse-section";
|
||||
import { BlogBlockquote } from "@/components/blog-blockquote";
|
||||
import { BlogTip } from "@/components/blog-tip";
|
||||
import { BlogTable } from "@/components/blog-table";
|
||||
import { BlogPullquote } from "@/components/blog-pullquote";
|
||||
import { ScrollToTop } from "@/components/scroll-to-top";
|
||||
import { BlogPostCard } from "@/components/blog-post-card";
|
||||
import { type, typeSpacing } from "@/lib/typography";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface BlogPostPageProps {
|
||||
params: Promise<{ slug: string }>;
|
||||
@@ -111,14 +114,14 @@ export default async function BlogPostPage({ params }: BlogPostPageProps) {
|
||||
<nav className="mb-6" aria-label="مسیر">
|
||||
<Link
|
||||
href="/blog"
|
||||
className="text-muted-foreground hover:text-foreground text-sm inline-flex items-center gap-1 transition-colors"
|
||||
className={cn(type.link, "inline-flex items-center gap-1 transition-colors hover:text-foreground")}
|
||||
>
|
||||
<ChevronRight className="size-4" aria-hidden />
|
||||
دانشنامه
|
||||
</Link>
|
||||
</nav>
|
||||
<h1
|
||||
className="text-2xl font-bold md:text-3xl leading-tight tracking-normal"
|
||||
className={type.h1}
|
||||
dangerouslySetInnerHTML={{ __html: post.title.rendered }}
|
||||
/>
|
||||
<BlogPostMeta
|
||||
@@ -133,7 +136,7 @@ export default async function BlogPostPage({ params }: BlogPostPageProps) {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<article className="blog-content text-justify space-y-6 text-foreground [&_h2]:text-2xl [&_h2]:font-bold [&_h2]:mt-8 [&_h2]:mb-4 [&_h3]:text-xl [&_h3]:font-bold [&_h3]:mt-6 [&_h3]:mb-3 [&_p]:leading-relaxed [&_p]:text-muted-foreground [&_a]:text-primary [&_a]:no-underline hover:[&_a]:underline [&_ul]:list-disc [&_ul]:pr-6 [&_ol]:list-decimal [&_ol]:pr-6 [&_li]:my-1 [&_h2]:scroll-mt-24 [&_h3]:scroll-mt-24 [&_h4]:scroll-mt-24">
|
||||
<article className="blog-content text-justify">
|
||||
{segments.map((seg, i) =>
|
||||
seg.type === "html" ? (
|
||||
<div
|
||||
@@ -148,8 +151,12 @@ export default async function BlogPostPage({ params }: BlogPostPageProps) {
|
||||
/>
|
||||
) : seg.blockType === "blockquote" ? (
|
||||
<BlogBlockquote key={i} payload={seg.payload as BlockquoteBlockPayload} />
|
||||
) : seg.blockType === "pullquote" ? (
|
||||
<BlogPullquote key={i} payload={seg.payload as BlockquoteBlockPayload} />
|
||||
) : seg.blockType === "tip" ? (
|
||||
<BlogTip key={i} payload={seg.payload as TipBlockPayload} />
|
||||
) : seg.blockType === "table" ? (
|
||||
<BlogTable key={i} payload={seg.payload as TableBlockPayload} />
|
||||
) : (
|
||||
null
|
||||
)
|
||||
@@ -163,7 +170,7 @@ export default async function BlogPostPage({ params }: BlogPostPageProps) {
|
||||
{relatedPosts.length > 0 && (
|
||||
<section className="bg-background border-t pb-16 md:pb-20">
|
||||
<div className="mx-auto max-w-6xl px-6 pt-10 md:pt-14">
|
||||
<h2 className="text-xl md:text-2xl text-center mb-8 md:mb-10">
|
||||
<h2 className={cn(type.h3, "mb-8 text-center md:mb-10")}>
|
||||
مقالات مرتبط
|
||||
</h2>
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 min-w-0">
|
||||
|
||||
+6
-4
@@ -5,6 +5,8 @@ import { BlogPostCard } from "@/components/blog-post-card";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { ChevronRight, ChevronLeft, Search, X } from "lucide-react";
|
||||
import { type, typeSpacing } from "@/lib/typography";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const PER_PAGE = 9;
|
||||
|
||||
@@ -44,8 +46,8 @@ export default async function BlogPage({ searchParams }: BlogPageProps) {
|
||||
return (
|
||||
<section className="bg-background pt-32 pb-20 md:pt-40 md:pb-28">
|
||||
<div className="mx-auto max-w-4xl px-6 text-center">
|
||||
<h1 className="text-4xl font-bold md:text-5xl">بلاگ</h1>
|
||||
<p className="mt-4 text-muted-foreground">
|
||||
<h1 className={type.h1}>بلاگ</h1>
|
||||
<p className={cn(type.body, "mt-4 text-muted-foreground")}>
|
||||
در حال حاضر امکان بارگذاری مطالب وجود ندارد. لطفاً بعداً تلاش کنید.
|
||||
</p>
|
||||
</div>
|
||||
@@ -72,10 +74,10 @@ export default async function BlogPage({ searchParams }: BlogPageProps) {
|
||||
<div className="mx-auto max-w-3xl px-4 sm:px-6">
|
||||
<div className="text-center space-y-5">
|
||||
<div className="space-y-1.5">
|
||||
<h1 className="text-3xl font-bold md:text-4xl tracking-tight">
|
||||
<h1 className={type.h1}>
|
||||
دانشنامه
|
||||
</h1>
|
||||
<p className="text-sm md:text-base text-muted-foreground max-w-xl mx-auto">
|
||||
<p className={cn(type["body-sm"], "mx-auto max-w-xl text-muted-foreground md:text-base")}>
|
||||
مقالات و مطالب فیپ در زمینه یکپارچهسازی، اتوماسیون و بهرهوری سازمانی.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
+23
-21
@@ -20,6 +20,8 @@ import {
|
||||
Quote,
|
||||
} from 'lucide-react'
|
||||
import Link from 'next/link'
|
||||
import { type, typeSpacing } from '@/lib/typography'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
const consultants = [
|
||||
{
|
||||
@@ -114,16 +116,16 @@ export default function ConsultingPage() {
|
||||
<div className="mx-auto max-w-6xl px-4 md:px-6">
|
||||
<div className="grid gap-12 lg:grid-cols-2 lg:gap-16 items-center">
|
||||
<div className="space-y-8 order-2 lg:order-1">
|
||||
<div className="space-y-4">
|
||||
<h1 className="text-4xl font-bold tracking-tight md:text-5xl lg:text-6xl">
|
||||
<div className={typeSpacing.sectionStack}>
|
||||
<h1 className={type.h1}>
|
||||
مشاوره سازمانی
|
||||
</h1>
|
||||
<p className="text-lg text-muted-foreground leading-relaxed max-w-xl">
|
||||
<p className={cn(type["section-intro"], "max-w-xl")}>
|
||||
مشاوره سازمانی به معنای همراهی تخصصی با سازمان شما برای شناسایی چالشها،
|
||||
انتخاب راهکارهای فنی مناسب و برنامهریزی برای پیادهسازی است. ما در حوزههای
|
||||
اینتگریشن، هوشمندسازی، RAG و بهینهسازی عملکرد در کنار شما هستیم.
|
||||
</p>
|
||||
<p className="text-muted-foreground leading-relaxed max-w-xl">
|
||||
<p className={cn(type.body, "text-muted-foreground max-w-xl")}>
|
||||
شرایط همکاری: پس از ثبت درخواست، تیم ما با شما تماس میگیرد؛ جلسه اول برای
|
||||
شناخت نیازها و تعیین دامنه کار است و در ادامه پیشنهاد و برنامه اجرا ارائه
|
||||
میشود.
|
||||
@@ -158,8 +160,8 @@ export default function ConsultingPage() {
|
||||
<section className="bg-muted/30 py-16 md:py-24" id="domains">
|
||||
<div className="mx-auto max-w-6xl px-4 md:px-6">
|
||||
<div className="mx-auto max-w-2xl text-center mb-12">
|
||||
<h2 className="text-3xl font-bold md:text-4xl">در چه حوزههایی مشاوره میدهیم؟</h2>
|
||||
<p className="mt-4 text-muted-foreground">
|
||||
<h2 className={type.h2}>در چه حوزههایی مشاوره میدهیم؟</h2>
|
||||
<p className={cn(type.body, "mt-4 text-muted-foreground")}>
|
||||
از اینتگریشن و هوشمندسازی تا RAG و معماری نرمافزار
|
||||
</p>
|
||||
</div>
|
||||
@@ -174,8 +176,8 @@ export default function ConsultingPage() {
|
||||
<Icon className="size-6" />
|
||||
</div>
|
||||
<div>
|
||||
<h3 className="font-bold">{domain.title}</h3>
|
||||
<p className="text-sm text-muted-foreground mt-1 leading-relaxed">
|
||||
<h3 className={type["card-title"]}>{domain.title}</h3>
|
||||
<p className={cn(type["card-desc"], "mt-1")}>
|
||||
{domain.description}
|
||||
</p>
|
||||
</div>
|
||||
@@ -192,8 +194,8 @@ export default function ConsultingPage() {
|
||||
<section className="bg-background py-16 md:py-24" id="consultants">
|
||||
<div className="mx-auto max-w-6xl px-4 md:px-6">
|
||||
<div className="mx-auto max-w-2xl text-center mb-12">
|
||||
<h2 className="text-3xl font-bold md:text-4xl">چه کسانی مشاوره میدهند؟</h2>
|
||||
<p className="mt-4 text-muted-foreground">
|
||||
<h2 className={type.h2}>چه کسانی مشاوره میدهند؟</h2>
|
||||
<p className={cn(type.body, "mt-4 text-muted-foreground")}>
|
||||
تیم مشاوره ما متشکل از متخصصان با تجربه در حوزههای مختلف فناوری است.
|
||||
</p>
|
||||
</div>
|
||||
@@ -202,21 +204,21 @@ export default function ConsultingPage() {
|
||||
<Card key={person.fallback} className="overflow-hidden border-border/60 shadow-sm">
|
||||
<CardContent className="p-6 md:p-8">
|
||||
<Quote className="size-10 text-primary/30 mb-4" aria-hidden />
|
||||
<blockquote className="text-muted-foreground leading-relaxed mb-6">
|
||||
<blockquote className={cn(type.body, "text-muted-foreground mb-6")}>
|
||||
{person.description}
|
||||
</blockquote>
|
||||
<div className="flex items-center gap-4">
|
||||
<Avatar className="h-14 w-14 shrink-0 border-2 border-background shadow">
|
||||
<AvatarImage src={person.image} alt={person.name} />
|
||||
<AvatarFallback className="text-lg bg-primary/10 text-primary">
|
||||
<AvatarFallback className={cn(type.h4, "bg-primary/10 text-primary")}>
|
||||
{person.fallback}
|
||||
</AvatarFallback>
|
||||
</Avatar>
|
||||
<div>
|
||||
<h3 className="font-bold text-foreground">{person.name}</h3>
|
||||
<div className="flex flex-wrap gap-1.5 mt-1">
|
||||
<h3 className={type["card-title"]}>{person.name}</h3>
|
||||
<div className="mt-1 flex flex-wrap gap-1.5">
|
||||
{person.expertise.map((e) => (
|
||||
<span key={e} className="text-xs text-muted-foreground">
|
||||
<span key={e} className={type.caption}>
|
||||
{e}
|
||||
{e !== person.expertise[person.expertise.length - 1] ? ' · ' : ''}
|
||||
</span>
|
||||
@@ -235,8 +237,8 @@ export default function ConsultingPage() {
|
||||
<section className="bg-muted/30 py-16 md:py-24" id="faq">
|
||||
<div className="mx-auto max-w-3xl px-4 md:px-6">
|
||||
<div className="mx-auto max-w-xl text-center mb-12">
|
||||
<h2 className="text-3xl font-bold md:text-4xl">سوالات متداول</h2>
|
||||
<p className="mt-4 text-muted-foreground">
|
||||
<h2 className={type.h2}>سوالات متداول</h2>
|
||||
<p className={cn(type.body, "mt-4 text-muted-foreground")}>
|
||||
پاسخ سوالات رایج درباره مشاوره سازمانی
|
||||
</p>
|
||||
</div>
|
||||
@@ -247,11 +249,11 @@ export default function ConsultingPage() {
|
||||
value={item.id}
|
||||
className="rounded-xl border-none px-4 data-[state=open]:bg-muted/50 data-[state=open]:shadow-sm"
|
||||
>
|
||||
<AccordionTrigger className="text-start hover:no-underline py-5">
|
||||
<AccordionTrigger className={cn(type["list-title"], "py-5 text-start hover:no-underline")}>
|
||||
{item.question}
|
||||
</AccordionTrigger>
|
||||
<AccordionContent>
|
||||
<p className="text-muted-foreground leading-relaxed pb-2">{item.answer}</p>
|
||||
<p className={cn(type.body, "pb-2 text-muted-foreground")}>{item.answer}</p>
|
||||
</AccordionContent>
|
||||
</AccordionItem>
|
||||
))}
|
||||
@@ -264,8 +266,8 @@ export default function ConsultingPage() {
|
||||
<div className="mx-auto max-w-6xl px-4 md:px-6">
|
||||
<div className="mx-auto max-w-xl">
|
||||
<div className="text-center mb-10">
|
||||
<h2 className="text-3xl font-bold md:text-4xl">درخواست مشاوره</h2>
|
||||
<p className="mt-4 text-muted-foreground">
|
||||
<h2 className={type.h2}>درخواست مشاوره</h2>
|
||||
<p className={cn(type.body, "mt-4 text-muted-foreground")}>
|
||||
فرم زیر را پر کنید؛ در سریعترین زمان ممکن با شما تماس میگیریم.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
+4
-2
@@ -3,6 +3,8 @@
|
||||
import { useEffect } from 'react'
|
||||
import Link from 'next/link'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { type } from '@/lib/typography'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
export default function Error({
|
||||
error,
|
||||
@@ -17,8 +19,8 @@ export default function Error({
|
||||
|
||||
return (
|
||||
<div className="flex min-h-[60vh] flex-col items-center justify-center gap-6 px-4 text-center">
|
||||
<h2 className="text-xl font-semibold text-foreground">خطایی رخ داد</h2>
|
||||
<p className="text-muted-foreground max-w-md text-sm">
|
||||
<h2 className={cn(type.h3, "text-foreground")}>خطایی رخ داد</h2>
|
||||
<p className={cn(type["body-sm"], "max-w-md text-muted-foreground")}>
|
||||
لطفاً دوباره تلاش کنید یا به صفحه اصلی برگردید.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-3 justify-center">
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import './globals.css'
|
||||
import Link from 'next/link'
|
||||
import { type } from '@/lib/typography'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
export const metadata = {
|
||||
title: '۴۰۴ | صفحه یافت نشد',
|
||||
@@ -13,17 +15,17 @@ export default function GlobalNotFound() {
|
||||
<div className="mx-auto max-w-lg w-full text-center">
|
||||
<div className="relative inline-block mb-6">
|
||||
<span
|
||||
className="text-[8rem] md:text-[10rem] font-black leading-none tracking-tighter text-transparent bg-clip-text bg-gradient-to-b from-primary/90 to-primary/50 select-none"
|
||||
className={cn(type["display-mono"], "text-transparent bg-clip-text bg-gradient-to-b from-primary/90 to-primary/50 select-none")}
|
||||
aria-hidden
|
||||
>
|
||||
۴۰۴
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground mb-3">
|
||||
<h1 className={cn(type.h2, "mb-3 text-foreground")}>
|
||||
صفحه پیدا نشد
|
||||
</h1>
|
||||
<p className="text-muted-foreground mb-10 max-w-sm mx-auto leading-relaxed">
|
||||
<p className={cn(type.body, "mb-10 mx-auto max-w-sm text-muted-foreground")}>
|
||||
به نظر میرسد این آدرس وجود ندارد یا منتقل شده است.
|
||||
</p>
|
||||
|
||||
|
||||
+295
-32
@@ -80,8 +80,10 @@
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--font-sans: "IRANSansX", "system-ui", "Avenir", "Helvetica", "Arial",
|
||||
"sans-serif";
|
||||
--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
|
||||
monospace;
|
||||
--font-iran-sans: "IRANSansX", "system-ui", "Avenir", "Helvetica", "Arial",
|
||||
"sans-serif";
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
@@ -117,11 +119,13 @@
|
||||
--radius-md: calc(var(--radius) - 2px);
|
||||
--radius-lg: var(--radius);
|
||||
--radius-xl: calc(var(--radius) + 4px);
|
||||
--radius-blog: var(--radius-blog);
|
||||
}
|
||||
|
||||
:root {
|
||||
--font-iran-sans: "IRANSansX", var(--font-geist-sans);
|
||||
--font-iran-sans: "IRANSansX", system-ui, sans-serif;
|
||||
--radius: 0.625rem;
|
||||
--radius-blog: 0.9375rem;
|
||||
--card: oklch(1 0.006 175);
|
||||
--card-foreground: oklch(0.145 0.02 175);
|
||||
--popover: oklch(1 0.006 175);
|
||||
@@ -233,46 +237,98 @@
|
||||
}
|
||||
|
||||
|
||||
/* WordPress table block (figure.wp-block-table > table) */
|
||||
.wp-block-table {
|
||||
margin: 1.5rem 0;
|
||||
overflow-x: auto;
|
||||
border-radius: var(--radius);
|
||||
/* Blog table blocks (figure.blog-table) */
|
||||
.blog-table {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin-inline: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-table table {
|
||||
.blog-table__scroll {
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.blog-table__grid {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.9375rem;
|
||||
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.wp-block-table table.has-fixed-layout {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.wp-block-table th,
|
||||
.wp-block-table td {
|
||||
padding: 0.75rem 1rem;
|
||||
border: 1px solid var(--border);
|
||||
.blog-table__grid th,
|
||||
.blog-table__grid td {
|
||||
padding: 0.875rem 1rem;
|
||||
text-align: right;
|
||||
min-width: 850px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.wp-block-table tbody tr:first-child th,
|
||||
.wp-block-table tbody tr:first-child td {
|
||||
background: var(--muted);
|
||||
font-weight: 600;
|
||||
.blog-table__grid th p,
|
||||
.blog-table__grid td p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.blog-table__caption {
|
||||
margin-top: 0.75rem;
|
||||
text-align: center;
|
||||
font-size: 0.8125rem;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.blog-table__grid a {
|
||||
color: var(--primary);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.blog-table__grid a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Variant one (green) & two (yellow) — glass layout aligned with HeroHeader */
|
||||
.blog-table--one {
|
||||
--table-tone: var(--primary);
|
||||
}
|
||||
|
||||
.blog-table--two {
|
||||
--table-tone: var(--accent);
|
||||
}
|
||||
|
||||
.blog-table--one .blog-table__grid thead th,
|
||||
.blog-table--two .blog-table__grid thead th {
|
||||
background: color-mix(in srgb, var(--table-tone) 35%, transparent);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
color: var(--foreground);
|
||||
}
|
||||
|
||||
.wp-block-table tbody tr:not(:first-child):hover td {
|
||||
background: var(--muted);
|
||||
}
|
||||
|
||||
.wp-block-table thead th {
|
||||
background: var(--muted);
|
||||
font-weight: 600;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--border) 10%, transparent);
|
||||
}
|
||||
|
||||
.blog-table--one .blog-table__grid tbody tr,
|
||||
.blog-table--two .blog-table__grid tbody tr {
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.blog-table--one .blog-table__grid tbody tr:nth-child(even) td,
|
||||
.blog-table--two .blog-table__grid tbody tr:nth-child(even) td {
|
||||
background: color-mix(in srgb, var(--background) 20%, transparent);
|
||||
}
|
||||
|
||||
.blog-table--one .blog-table__grid tbody tr:hover td,
|
||||
.blog-table--two .blog-table__grid tbody tr:hover td {
|
||||
background: color-mix(in srgb, var(--table-tone) 12%, transparent);
|
||||
}
|
||||
|
||||
.blog-table--one .blog-table__grid tbody td,
|
||||
.blog-table--two .blog-table__grid tbody td {
|
||||
border-top: 1px solid color-mix(in srgb, var(--border) 10%, transparent);
|
||||
}
|
||||
|
||||
.blog-table--one .blog-table__grid tbody td:first-child,
|
||||
.blog-table--two .blog-table__grid tbody td:first-child {
|
||||
font-weight: 500;
|
||||
color: var(--foreground);
|
||||
}
|
||||
|
||||
@@ -294,10 +350,217 @@
|
||||
}
|
||||
|
||||
.wp-block-image {
|
||||
@apply rounded-md overflow-hidden shadow-sm;
|
||||
@apply rounded-blog overflow-hidden shadow-sm;
|
||||
}
|
||||
|
||||
.blog-content .wp-block-image {
|
||||
@apply my-6;
|
||||
}
|
||||
|
||||
.blog-content img {
|
||||
@apply w-full h-auto;
|
||||
image-rendering: auto;
|
||||
}
|
||||
|
||||
/* Blog prose typography — single source of truth */
|
||||
.blog-content {
|
||||
@apply space-y-6 text-foreground;
|
||||
}
|
||||
|
||||
.blog-content h2 {
|
||||
@apply mt-8 mb-4 text-2xl font-semibold leading-snug tracking-normal scroll-mt-24;
|
||||
}
|
||||
|
||||
.blog-content h3 {
|
||||
@apply mt-6 mb-3 text-xl font-semibold leading-snug tracking-normal scroll-mt-24;
|
||||
}
|
||||
|
||||
.blog-content h4 {
|
||||
@apply mt-4 mb-2 text-lg font-semibold leading-snug tracking-normal scroll-mt-24;
|
||||
}
|
||||
|
||||
.blog-content p {
|
||||
@apply leading-relaxed tracking-normal text-muted-foreground;
|
||||
}
|
||||
|
||||
.blog-content a {
|
||||
@apply text-primary no-underline hover:underline;
|
||||
}
|
||||
|
||||
.blog-content ul {
|
||||
@apply list-disc pr-6;
|
||||
}
|
||||
|
||||
.blog-content ol {
|
||||
@apply list-decimal pr-6;
|
||||
}
|
||||
|
||||
.blog-content li {
|
||||
@apply my-1;
|
||||
}
|
||||
|
||||
/* Blog blockquote variants */
|
||||
.blog-blockquote {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: var(--radius-blog);
|
||||
border: 1px solid;
|
||||
padding-block: 1.5rem;
|
||||
padding-inline-end: 1.75rem;
|
||||
padding-inline-start: 4rem;
|
||||
box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
|
||||
}
|
||||
|
||||
.blog-blockquote::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset-block: 1rem;
|
||||
inset-inline-start: 0;
|
||||
width: 4px;
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
.blog-blockquote--yellow {
|
||||
border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
|
||||
background: color-mix(in srgb, var(--accent) 18%, var(--background));
|
||||
box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 14%, transparent);
|
||||
}
|
||||
|
||||
.blog-blockquote--yellow::before {
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.blog-blockquote--yellow .blog-blockquote__icon {
|
||||
color: color-mix(in srgb, var(--accent) 55%, transparent);
|
||||
}
|
||||
|
||||
.blog-blockquote--yellow .blog-blockquote__footer {
|
||||
border-top-color: color-mix(in srgb, var(--accent) 28%, var(--border));
|
||||
}
|
||||
|
||||
.blog-blockquote--green {
|
||||
border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
|
||||
background: color-mix(in srgb, var(--primary) 12%, var(--background));
|
||||
box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 12%, transparent);
|
||||
}
|
||||
|
||||
.blog-blockquote--green::before {
|
||||
background: var(--primary);
|
||||
}
|
||||
|
||||
.blog-blockquote--green .blog-blockquote__icon {
|
||||
color: color-mix(in srgb, var(--primary) 50%, transparent);
|
||||
}
|
||||
|
||||
.blog-blockquote--green .blog-blockquote__footer {
|
||||
border-top-color: color-mix(in srgb, var(--primary) 28%, var(--border));
|
||||
}
|
||||
|
||||
.blog-blockquote--gray {
|
||||
border-color: var(--border);
|
||||
background: color-mix(in srgb, var(--muted) 65%, var(--background));
|
||||
}
|
||||
|
||||
.blog-blockquote--gray::before {
|
||||
background: color-mix(in srgb, var(--muted-foreground) 38%, transparent);
|
||||
}
|
||||
|
||||
.blog-blockquote--gray .blog-blockquote__icon {
|
||||
color: color-mix(in srgb, var(--muted-foreground) 42%, transparent);
|
||||
}
|
||||
|
||||
.blog-blockquote--gray .blog-blockquote__footer {
|
||||
border-top-color: color-mix(in srgb, var(--border) 80%, transparent);
|
||||
}
|
||||
|
||||
.blog-blockquote__icon {
|
||||
position: absolute;
|
||||
inset-inline-start: 1.25rem;
|
||||
top: 1.5rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
flex-shrink: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.blog-blockquote__decorations {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
opacity: 0.15;
|
||||
/* Keep decorative shapes out of the quote-icon corner (inline-start). */
|
||||
clip-path: polygon(
|
||||
0 0,
|
||||
calc(100% - 4.75rem) 0,
|
||||
calc(100% - 4.75rem) 4.75rem,
|
||||
100% 4.75rem,
|
||||
100% 100%,
|
||||
0 100%
|
||||
);
|
||||
}
|
||||
|
||||
:dir(ltr) .blog-blockquote__decorations {
|
||||
clip-path: polygon(
|
||||
4.75rem 0,
|
||||
100% 0,
|
||||
100% 100%,
|
||||
0 100%,
|
||||
0 4.75rem,
|
||||
4.75rem 4.75rem
|
||||
);
|
||||
}
|
||||
|
||||
.blog-pullquote .blog-blockquote__decorations {
|
||||
clip-path: none;
|
||||
}
|
||||
|
||||
.blog-blockquote__content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
isolation: isolate;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.75;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.blog-blockquote__content p {
|
||||
margin-block: 0.5rem;
|
||||
}
|
||||
|
||||
.blog-blockquote__content a {
|
||||
color: var(--accent);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.blog-blockquote__content a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.blog-blockquote__footer {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-top: 1rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid;
|
||||
}
|
||||
|
||||
.blog-pullquote {
|
||||
text-align: center;
|
||||
padding-inline: 1.5rem;
|
||||
}
|
||||
|
||||
.blog-pullquote .blog-blockquote__icon {
|
||||
position: static;
|
||||
margin-inline: auto;
|
||||
margin-bottom: 0.75rem;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
}
|
||||
|
||||
.blog-pullquote .blog-blockquote__content {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
+6
-1
@@ -3,6 +3,7 @@ import "./globals.css";
|
||||
import { ConditionalLayout } from "@/components/conditional-layout";
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
import { TopProgressBar } from "@/components/top-progress-bar";
|
||||
import { getChangelog } from "@/lib/changelog.server";
|
||||
|
||||
|
||||
const SITE_NAME = "فیپ";
|
||||
@@ -25,6 +26,8 @@ export default function RootLayout({
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
const changelogReleases = getChangelog();
|
||||
|
||||
return (
|
||||
<html lang="fa" dir="rtl" suppressHydrationWarning>
|
||||
<body
|
||||
@@ -32,7 +35,9 @@ export default function RootLayout({
|
||||
>
|
||||
<ThemeProvider>
|
||||
<TopProgressBar />
|
||||
<ConditionalLayout>{children}</ConditionalLayout>
|
||||
<ConditionalLayout changelogReleases={changelogReleases}>
|
||||
{children}
|
||||
</ConditionalLayout>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+5
-3
@@ -1,6 +1,8 @@
|
||||
import Link from 'next/link'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Home } from 'lucide-react'
|
||||
import { type, typeSpacing } from '@/lib/typography'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
export const metadata = {
|
||||
title: '۴۰۴',
|
||||
@@ -13,17 +15,17 @@ export default function NotFound() {
|
||||
<div className="mx-auto max-w-lg w-full text-center">
|
||||
<div className="relative inline-block mb-6">
|
||||
<span
|
||||
className="text-[8rem] md:text-[10rem] font-black leading-none tracking-tighter text-transparent bg-clip-text bg-gradient-to-b from-primary/90 to-primary/50 select-none"
|
||||
className={cn(type["display-mono"], "text-transparent bg-clip-text bg-gradient-to-b from-primary/90 to-primary/50 select-none")}
|
||||
aria-hidden
|
||||
>
|
||||
۴۰۴
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground mb-3">
|
||||
<h1 className={cn(type.h2, "mb-3 text-foreground")}>
|
||||
صفحه پیدا نشد
|
||||
</h1>
|
||||
<p className="text-muted-foreground mb-10 max-w-sm mx-auto leading-relaxed">
|
||||
<p className={cn(type.body, "mb-10 mx-auto max-w-sm text-muted-foreground")}>
|
||||
به نظر میرسد این آدرس وجود ندارد یا منتقل شده است.
|
||||
</p>
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { Metadata } from "next";
|
||||
import { PlaygroundGuide } from "@/components/playground/playground-guide";
|
||||
import { PlaygroundWorkspace } from "@/components/playground/playground-workspace";
|
||||
import { type } from "@/lib/typography";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "آزمایشگاه فیپ",
|
||||
description:
|
||||
"آزمایشگاه فیپ برای تست سناریوهای تعاملی، پرامپتها و تجربههای مبتنی بر هوش مصنوعی.",
|
||||
};
|
||||
|
||||
export default function PlaygroundPage() {
|
||||
return (
|
||||
<>
|
||||
<section className="bg-background px-4 pb-2 pt-[4.75rem] sm:px-6 md:pt-[5.25rem] md:pb-3">
|
||||
<div className="mx-auto max-w-6xl text-center">
|
||||
<h1 className={type.h1}>
|
||||
آزمایشگاه فیپ
|
||||
</h1>
|
||||
<p className={cn(type["body-sm"], "mx-auto mt-1 max-w-lg text-muted-foreground md:text-base")}>
|
||||
آزمایش تعامل با دستیار، پرامپتها و سناریوهای هوش مصنوعی
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="bg-background px-4 pb-6 sm:px-6 md:pb-8">
|
||||
<div className="mx-auto max-w-6xl">
|
||||
<PlaygroundWorkspace />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<PlaygroundGuide />
|
||||
</>
|
||||
);
|
||||
}
|
||||
+15
-13
@@ -2,6 +2,8 @@ import type { Metadata } from "next";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Link as LinkIcon, BarChart3, Share2, Zap, TrendingUp, Workflow } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { type, typeSpacing } from "@/lib/typography";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "راه حلها",
|
||||
@@ -90,14 +92,14 @@ export default function SolutionsPage() {
|
||||
{/* Hero Section */}
|
||||
<section className="bg-background pt-32 pb-20 md:pt-40 md:pb-28">
|
||||
<div className="mx-auto max-w-4xl px-6">
|
||||
<div className="text-center space-y-6">
|
||||
<h1 className="text-4xl font-bold md:text-5xl lg:text-6xl leading-tight tracking-normal">
|
||||
<div className={cn("text-center", typeSpacing.heroStack)}>
|
||||
<h1 className={type.h1}>
|
||||
راهحلهای ما
|
||||
</h1>
|
||||
<p className="text-xl leading-relaxed tracking-normal text-muted-foreground max-w-3xl mx-auto">
|
||||
<p className={cn(type["body-lg"], "text-muted-foreground max-w-3xl mx-auto")}>
|
||||
در دنیای امروز، کسبوکارهای موفق دیگر نمیتوانند سیستمها، ابزارها و دادههایشان را جدا از هم مدیریت کنند. حجم اطلاعات، تعداد ابزارهای مختلف و نیاز به واکنش سریع باعث شده تا یکپارچهسازی واقعی سیستمها دیگر تنها یک انتخاب نباشد — بلکه یک ضرورت باشد.
|
||||
</p>
|
||||
<p className="text-lg leading-relaxed tracking-normal text-muted-foreground max-w-3xl mx-auto">
|
||||
<p className={cn(type["section-intro"], "max-w-3xl mx-auto")}>
|
||||
راهکارهایی که اینجا معرفی میشود، فراتر از تکنولوژیهای معمول است. هدف اصلی این نیست که فقط چند سرویس را به هم وصل کنیم، بلکه این است که فرایندهای کسبوکار شما را هوشمند، کارا و قابل کنترلتر کنیم.
|
||||
</p>
|
||||
</div>
|
||||
@@ -119,18 +121,18 @@ export default function SolutionsPage() {
|
||||
<div className="flex size-14 items-center justify-center rounded-xl bg-primary/10 text-primary shrink-0">
|
||||
<Icon className="size-7" />
|
||||
</div>
|
||||
<h2 className="text-2xl font-bold leading-tight tracking-normal">
|
||||
<h2 className={type.h3}>
|
||||
{index + 1}. {solution.title}
|
||||
</h2>
|
||||
</div>
|
||||
<p className="mb-6 leading-relaxed tracking-normal text-muted-foreground text-lg">
|
||||
<p className={cn("mb-6", type["section-intro"])}>
|
||||
{solution.description}
|
||||
</p>
|
||||
<ul className="space-y-3 mb-6">
|
||||
{solution.features.map((feature, featureIndex) => (
|
||||
<li
|
||||
key={featureIndex}
|
||||
className="flex items-start gap-3 text-base leading-relaxed tracking-normal"
|
||||
className={cn("flex items-start gap-3", type.body)}
|
||||
>
|
||||
<span className="mt-1.5 size-2 shrink-0 rounded-full bg-primary" />
|
||||
<span className="text-muted-foreground">{feature}</span>
|
||||
@@ -138,7 +140,7 @@ export default function SolutionsPage() {
|
||||
))}
|
||||
</ul>
|
||||
{solution.result && (
|
||||
<p className="text-base leading-relaxed tracking-normal text-foreground/90 font-medium border-r-4 border-primary/50 pr-4">
|
||||
<p className={cn(type.emphasis, "border-r-4 border-primary/50 pr-4 text-foreground/90")}>
|
||||
{solution.result}
|
||||
</p>
|
||||
)}
|
||||
@@ -153,11 +155,11 @@ export default function SolutionsPage() {
|
||||
<section className="bg-background py-16 md:py-24">
|
||||
<div className="mx-auto max-w-4xl px-6">
|
||||
<div className="rounded-2xl border bg-muted/30 p-8 md:p-10">
|
||||
<h2 className="text-2xl font-bold mb-6">نتیجهگیری</h2>
|
||||
<p className="text-lg leading-relaxed text-muted-foreground mb-4">
|
||||
<h2 className={cn(type.h3, "mb-6")}>نتیجهگیری</h2>
|
||||
<p className={cn(type["section-intro"], "mb-4")}>
|
||||
این راهکارها کمک میکنند تا کسبوکار شما از حالت «جزیرهای» بیرون بیاید و به یک ساختار هوشمند، بههمپیوسته و قابل رشد تبدیل شود.
|
||||
</p>
|
||||
<p className="text-lg leading-relaxed text-muted-foreground">
|
||||
<p className={type["section-intro"]}>
|
||||
دیگر لازم نیست زمان زیادی صرف انتقال داده، گزارشگیری دستی یا تکرار فعالیتها بکنید؛ بلکه میتوانید بهطور هوشمندانهتر روی اهداف استراتژیک خود تمرکز کنید و رشد سریعتر را تجربه کنید.
|
||||
</p>
|
||||
</div>
|
||||
@@ -168,10 +170,10 @@ export default function SolutionsPage() {
|
||||
<section className="bg-muted/30 py-20 md:py-28">
|
||||
<div className="mx-auto max-w-4xl px-6">
|
||||
<div className="text-center space-y-8 p-12 rounded-2xl border bg-gradient-to-br from-primary/5 to-primary/10">
|
||||
<h2 className="text-3xl font-bold md:text-4xl leading-tight tracking-normal">
|
||||
<h2 className={type["cta-title"]}>
|
||||
آماده شروع هستید؟
|
||||
</h2>
|
||||
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
||||
<p className={cn(type["section-intro"], "max-w-2xl mx-auto")}>
|
||||
همین حالا شروع کنید و از قدرت یکپارچهسازی سیستمها، اتوماسیون فرآیندها و تحلیل دادهها بهرهمند شوید
|
||||
</p>
|
||||
<div className="flex flex-col sm:flex-row gap-4 justify-center">
|
||||
|
||||
Reference in New Issue
Block a user