60 lines
2.5 KiB
TypeScript
60 lines
2.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import Link from "next/link";
|
|
import { Container } from "@/components/Container";
|
|
import { PageHero } from "@/components/layout/PageHero";
|
|
import { Placeholder } from "@/components/Placeholder";
|
|
import { about, features, site, stats } from "@/lib/data";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "درباره ما",
|
|
description: about.paragraphs[0],
|
|
};
|
|
|
|
export default function AboutPage() {
|
|
return (
|
|
<>
|
|
<PageHero kicker="About us" title="درباره ما" image="/images/slides/slide-1.jpg" />
|
|
|
|
<section className="py-20 sm:py-28">
|
|
<Container className="grid items-start gap-14 lg:grid-cols-12">
|
|
<div className="lg:col-span-6">
|
|
<p className="section-kicker">Burgheii Brothers</p>
|
|
<h2 className="mt-4 text-2xl font-extrabold leading-snug sm:text-[32px]">{about.title}</h2>
|
|
<div className="mt-8 space-y-5 text-[16px] leading-9 text-muted">
|
|
{about.paragraphs.map((paragraph) => (
|
|
<p key={paragraph}>{paragraph}</p>
|
|
))}
|
|
</div>
|
|
<Link href="/contact" className="mt-8 inline-flex rounded-xl bg-brand px-6 py-3 text-[14px] font-medium text-white hover:bg-brand-dark">
|
|
شروع همکاری / تماس
|
|
</Link>
|
|
</div>
|
|
<div className="relative lg:col-span-6">
|
|
<Placeholder src={about.image} alt={site.name} className="w-full rounded-2xl object-cover" />
|
|
<div className="mt-5 grid grid-cols-2 gap-3">
|
|
{stats.map((stat) => (
|
|
<div key={stat.label} className="rounded-2xl bg-paper px-5 py-5">
|
|
<p className="text-2xl font-extrabold text-brand">{stat.value}</p>
|
|
<p className="mt-1 text-[12px] leading-6 text-muted">{stat.label}</p>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</Container>
|
|
</section>
|
|
|
|
<section className="border-t border-line py-16">
|
|
<Container className="grid gap-6 sm:grid-cols-2 lg:grid-cols-4">
|
|
{features.map((feature, index) => (
|
|
<div key={feature.title} className="border-r border-line pr-5">
|
|
<p className="font-latin text-[11px] tracking-[0.28em] text-brand">0{index + 1}</p>
|
|
<h3 className="mt-2 text-[16px] font-bold">{feature.title}</h3>
|
|
<p className="mt-2 text-[13px] leading-7 text-muted">{feature.text}</p>
|
|
</div>
|
|
))}
|
|
</Container>
|
|
</section>
|
|
</>
|
|
);
|
|
}
|