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:
+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>
|
||||
|
||||
Reference in New Issue
Block a user