first project version mrDecor

This commit is contained in:
alirez.br
2026-05-11 15:30:57 +03:30
commit 8724072983
302 changed files with 25401 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
import React from 'react'
import type { Metadata } from 'next'
import { getContentSync } from '@/lib/content'
import { AboutCompanySection } from '@/components/sections/other/about-company-section'
export async function generateMetadata(): Promise<Metadata> {
const content = getContentSync()
const meta = content.meta.pages.about
return {
title: meta.title,
description: meta.description,
}
}
export default function AboutPage() {
const content = getContentSync()
const about = content.pages.about as {
heading: string
description: string
title: string
subtitle: string
bio: string
vision: string
philosophyHeading: string
outro: string
}
const imageLogo = content.images?.logo
? { src: content.images.logo, alt: content.meta.siteName }
: undefined
const imageOffice = {
src: '/assets/about-us/f97a15aa-cf15-4508-ae5d-d3e5211b433e.png',
alt: 'نمای دفتر مستر دکور',
}
return (
<main className="min-h-screen">
<AboutCompanySection
mainHeading={about.heading}
description={about.description}
title={about.title}
subtitle={about.subtitle}
bio={about.bio}
vision={about.vision}
philosophyHeading={about.philosophyHeading}
outro={about.outro}
imageLogo={imageLogo}
imageOffice={imageOffice}
/>
</main>
)
}
+147
View File
@@ -0,0 +1,147 @@
import type { Metadata } from "next";
import { Clock3, Paintbrush2, ShieldCheck, Wrench } from "lucide-react";
import { MeteorTitleBackground } from "@/components/utilities/meteor-title-background";
export const metadata: Metadata = {
title: "خدمات پس از فروش",
description:
"خدمات پس از فروش مستر دکور برای استند و ملزومات ویترین طلافروشی شامل تعویض روکش، تعمیرات تخصصی و پشتیبانی اجرایی است.",
};
const serviceItems = [
"تعویض روکش استندهای دکوری با هماهنگی رنگ و متریال جدید",
"ترمیم خط و خش، لب پریدگی و بازسازی نقاط آسیب دیده بدنه",
"تعمیر کشوهای ریلی، رگلاژ، تعویض ریل و رفع گیرکردن یا لقی",
"تنظیم و تعمیر یراق آلات درب و محفظه های نمایشی",
"بازدید دوره ای برای پیشگیری از خرابی و افزایش طول عمر تجهیزات",
];
const supportStats = [
{
icon: Paintbrush2,
title: "تعویض روکش",
description: "بازسازی ظاهر استندها با حفظ هویت بصری فروشگاه",
},
{
icon: Wrench,
title: "تعمیر کشو",
description: "رفع خرابی ریل و مکانیزم برای کارکرد روان روزانه",
},
{
icon: Clock3,
title: "زمان بندی منعطف",
description: "هماهنگی مراجعه در ساعات کم تردد فروشگاه",
},
{
icon: ShieldCheck,
title: "کیفیت اجرا",
description: "تحویل نهایی پس از تست عملکرد و کنترل کیفی",
},
];
export default function AfterSalesPage() {
return (
<main className="min-h-screen pb-24 pt-16 md:pt-20">
<section className="relative overflow-hidden bg-muted/60 py-20 md:py-24">
<MeteorTitleBackground className="opacity-100" />
<div className="mx-auto w-full max-w-7xl px-4 sm:px-6" dir="rtl">
<div className="mx-auto max-w-4xl text-center">
<div className="relative z-10 rounded-2xl px-4 py-6 sm:px-8">
<h1 className="text-heading-1 font-bold text-foreground">
خدمات پس از فروش مستر دکور
</h1>
<p className="mt-5 text-body text-muted-foreground">
کیفیت ویترین فقط به روز تحویل محدود نمی شود. خدمات پس از فروش مستر
دکور کمک می کند استندهای شما همیشه حرفه ای، منظم و آماده نمایش موثر
سرویس های طلا و جواهر باقی بمانند.
</p>
</div>
</div>
</div>
</section>
<section className="py-14 md:py-16">
<div className="mx-auto grid w-full max-w-7xl gap-10 px-4 sm:px-6 lg:grid-cols-3" dir="rtl">
<div className="space-y-8 lg:col-span-2">
<div className="space-y-4">
<h2 className="text-heading-4 font-semibold text-foreground text-xl">
تعویض روکش استندهای دکوری
</h2>
<p className="text-body text-muted-foreground">
روکش استندها در فضای پررفت وآمد طلافروشی به مرور زمان دچار افت
کیفیت ظاهری می شود. تیم ما با بررسی دقیق نوع متریال، شرایط نور و
سبک چیدمان فروشگاه، روکش جدید را انتخاب و اجرا می کند تا ظاهر
استندها دوباره یکدست، تمیز و هماهنگ با برند شما شود.
</p>
<p className="text-body text-muted-foreground">
در فرآیند تعویض روکش، تلاش می کنیم کمترین اختلال در فعالیت روزانه
فروشگاه ایجاد شود و نتیجه نهایی علاوه بر زیبایی، مقاومت مناسب در
برابر سایش و نظافت مداوم داشته باشد.
</p>
</div>
<div className="space-y-4">
<h2 className="text-heading-4 font-semibold text-foreground text-xl">
تعمیر کشو و مکانیزم حرکتی
</h2>
<p className="text-body text-muted-foreground">
کشوهای استند در استفاده مداوم ممکن است دچار گیرکردن، صدای اضافی،
لقی یا بسته نشدن کامل شوند. خدمات تعمیر کشو شامل رگلاژ تخصصی،
تعمیر یا تعویض ریل، بررسی اتصالات داخلی و تنظیم مجدد حرکات کشو است
تا عملکرد روان و قابل اعتماد به سیستم برگردد.
</p>
<p className="text-body text-muted-foreground">
پس از پایان تعمیر، همه بخش ها تست می شوند تا هنگام استفاده سریع
در محیط فروش، کشو بدون تنش و با ایمنی کامل باز و بسته شود.
</p>
</div>
<div className="space-y-4">
<h3 className="text-heading-5 font-semibold text-foreground text-lg">
خدمات قابل ارائه در یک نگاه
</h3>
<div className="space-y-3">
{serviceItems.map((item) => (
<div
key={item}
className="rounded-xl border border-border bg-card px-4 py-3"
>
<p className="text-body text-foreground">{item}</p>
</div>
))}
</div>
</div>
</div>
<aside className="lg:col-span-1">
<div className="rounded-2xl border border-border bg-muted/50 p-5 lg:sticky lg:top-24">
<h3 className="text-heading-5 font-semibold text-foreground text-lg">
مزیت خدمات ما
</h3>
<div className="mt-5 space-y-4">
{supportStats.map((stat) => {
const Icon = stat.icon;
return (
<div key={stat.title} className="flex items-start gap-3">
<span className="mt-0.5 flex h-9 w-9 items-center justify-center rounded-lg bg-card">
<Icon className="h-4 w-4 text-primary" />
</span>
<div className="space-y-1">
<p className="text-body-sm font-medium text-foreground">
{stat.title}
</p>
<p className="text-caption text-muted-foreground">
{stat.description}
</p>
</div>
</div>
);
})}
</div>
</div>
</aside>
</div>
</section>
</main>
);
}
+95
View File
@@ -0,0 +1,95 @@
'use server'
const TELEGRAM_BOT_TOKEN = process.env.TELEGRAM_BOT_TOKEN
const TELEGRAM_CHAT_ID = process.env.TELEGRAM_CHAT_ID
const TELEGRAM_URL = process.env.TELEGRAM_URL
export type ConsultationFormData = {
name: string
phone: string
email?: string
subject?: string
message?: string
}
function buildTelegramMessage(data: ConsultationFormData): string {
const lines = [
'📩 *درخواست مشاوره آنلاین*',
'',
`👤 *نام:* ${data.name}`,
`📱 *تلفن:* ${data.phone}`,
]
if (data.email?.trim()) {
lines.push(`📧 *ایمیل:* ${data.email.trim()}`)
}
if (data.subject?.trim()) {
lines.push(`📌 *موضوع:* ${data.subject.trim()}`)
}
if (data.message?.trim()) {
lines.push('', '*توضیحات:*', data.message.trim())
}
return lines.join('\n')
}
export async function submitConsultation(
data: ConsultationFormData
): Promise<{ success: boolean; error?: string }> {
const name = data.name?.trim()
const phone = data.phone?.trim().replace(/\s/g, '')
if (!name || name.length < 2) {
return { success: false, error: 'نام و نام خانوادگی را وارد کنید.' }
}
if (!phone || phone.length < 10) {
return { success: false, error: 'شماره تماس معتبر وارد کنید.' }
}
if (!TELEGRAM_BOT_TOKEN || !TELEGRAM_CHAT_ID) {
console.error('TELEGRAM_BOT_TOKEN or TELEGRAM_CHAT_ID is not set')
return {
success: false,
error: 'پیکربندی ارسال پیام انجام نشده است. لطفاً با پشتیبانی تماس بگیرید.',
}
}
const text = buildTelegramMessage({
name,
phone,
email: data.email,
subject: data.subject,
message: data.message,
})
const url = `${TELEGRAM_URL}/bot${TELEGRAM_BOT_TOKEN}/sendMessage`
const body = {
chat_id: TELEGRAM_CHAT_ID,
text,
parse_mode: 'Markdown',
}
try {
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(body),
})
const result = await res.json()
if (!res.ok || !result.ok) {
console.error('Telegram API error:', result)
return {
success: false,
error: 'ارسال پیام با خطا مواجه شد. لطفاً دوباره تلاش کنید.',
}
}
return { success: true }
} catch (e) {
console.error('Failed to send to Telegram', e)
return {
success: false,
error: 'ارسال پیام با خطا مواجه شد. لطفاً دوباره تلاش کنید.',
}
}
}
+37
View File
@@ -0,0 +1,37 @@
import React from 'react'
import type { Metadata } from 'next'
import { ConsultationForm } from '@/components/sections/other/consultation-form'
import { getContentSync } from '@/lib/content'
export async function generateMetadata(): Promise<Metadata> {
const content = getContentSync()
const meta = content.meta.pages.consultation
return {
title: meta.title,
description: meta.description,
}
}
export default function ConsultationPage() {
const content = getContentSync()
const { consultation } = content.pages
return (
<main className="min-h-screen">
<div className="mx-auto max-w-7xl px-6 py-24 md:py-32 lg:py-40">
<div className="space-y-10 text-center">
<div className="space-y-4">
<h1 className="text-heading-1 font-bold">
{consultation.heading}
</h1>
<p className="text-body text-muted-foreground mx-auto max-w-2xl">
{consultation.description}
</p>
</div>
<ConsultationForm />
</div>
</div>
</main>
)
}
+95
View File
@@ -0,0 +1,95 @@
'use server'
const TELEGRAM_BOT_TOKEN = process.env.TELEGRAM_BOT_TOKEN
const TELEGRAM_CHAT_ID = process.env.TELEGRAM_CHAT_ID
const TELEGRAM_URL = process.env.TELEGRAM_URL ?? 'https://api.telegram.org'
export type ContactFormData = {
name: string
phone: string
email?: string
subject?: string
message?: string
}
function buildTelegramMessage(data: ContactFormData): string {
const lines = [
'📞 *تماس با ما*',
'',
`👤 *نام:* ${data.name}`,
`📱 *تلفن:* ${data.phone}`,
]
if (data.email?.trim()) {
lines.push(`📧 *ایمیل:* ${data.email.trim()}`)
}
if (data.subject?.trim()) {
lines.push(`📌 *موضوع:* ${data.subject.trim()}`)
}
if (data.message?.trim()) {
lines.push('', '*پیام:*', data.message.trim())
}
return lines.join('\n')
}
export async function submitContact(
data: ContactFormData
): Promise<{ success: boolean; error?: string }> {
const name = data.name?.trim()
const phone = data.phone?.trim().replace(/\s/g, '')
if (!name || name.length < 2) {
return { success: false, error: 'نام و نام خانوادگی را وارد کنید.' }
}
if (!phone || phone.length < 10) {
return { success: false, error: 'شماره تماس معتبر وارد کنید.' }
}
if (!TELEGRAM_BOT_TOKEN || !TELEGRAM_CHAT_ID) {
console.error('TELEGRAM_BOT_TOKEN or TELEGRAM_CHAT_ID is not set')
return {
success: false,
error: 'پیکربندی ارسال پیام انجام نشده است. لطفاً با پشتیبانی تماس بگیرید.',
}
}
const text = buildTelegramMessage({
name,
phone,
email: data.email,
subject: data.subject,
message: data.message,
})
const url = `${TELEGRAM_URL}/bot${TELEGRAM_BOT_TOKEN}/sendMessage`
const body = {
chat_id: TELEGRAM_CHAT_ID,
text,
parse_mode: 'Markdown',
}
try {
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(body),
})
const result = await res.json()
if (!res.ok || !result.ok) {
console.error('Telegram API error:', result)
return {
success: false,
error: 'ارسال پیام با خطا مواجه شد. لطفاً دوباره تلاش کنید.',
}
}
return { success: true }
} catch (e) {
console.error('Failed to send to Telegram', e)
return {
success: false,
error: 'ارسال پیام با خطا مواجه شد. لطفاً دوباره تلاش کنید.',
}
}
}
+88
View File
@@ -0,0 +1,88 @@
import React from 'react'
import type { Metadata } from 'next'
import { ContactInfoGrid } from '@/components/sections/other/contact-info-grid'
import { ContactForm } from '@/components/sections/other/contact-form'
import { getContentSync } from '@/lib/content'
export async function generateMetadata(): Promise<Metadata> {
try {
const content = getContentSync()
const meta = content.meta?.pages?.contact
if (meta?.title) {
return { title: meta.title, description: meta.description ?? undefined }
}
} catch {
// fallback if content fails
}
return { title: 'تماس با ما', description: 'برای ارتباط با مستر دکور با ما تماس بگیرید.' }
}
export default function ContactPage() {
const content = getContentSync()
const contact = content.pages?.contact
// const siteName = content.meta?.siteName ?? 'مستر دکور'
const heading = contact?.heading ?? 'تماس با ما'
const description =
contact?.description ?? 'برای دریافت مشاوره، استعلام قیمت و انتخاب بهترین دکور ویترین طلافروشی با ما در ارتباط باشید.'
const contactItems = [
{
label: 'ایمیل',
description: 'برای دریافت پیش فاکتور، کاتالوگ یا پاسخ تخصصی، درخواست خود را ایمیل کنید.',
value: 'info@mrdecorr.com',
href: 'mailto:info@mrdecorr.com',
icon: 'mail' as const,
},
{
label: 'دفتر',
description: 'برای هماهنگی جلسه حضوری و بررسی دقیق نیاز فروشگاه، به دفتر ما مراجعه کنید.',
value: 'مشاهده موقعیت روی نقشه',
href: 'https://maps.google.com',
icon: 'map' as const,
},
{
label: 'تلفن',
description: 'برای مشاوره سریع و ثبت سفارش، از شنبه تا پنجشنبه پاسخگوی شما هستیم.',
value: '۰۹۱۲ ۹۴ ۹۷ ۳۱۵',
href: 'tel:09129497315',
icon: 'phone' as const,
},
{
label: 'پشتیبانی واتساپ',
description: 'برای ارسال عکس ویترین و دریافت پیشنهاد اولیه، در واتساپ پیام دهید.',
value: 'شروع گفتگو',
href: 'https://wa.me/989129497315',
icon: 'chat' as const,
},
]
return (
<main className="min-h-screen">
<ContactInfoGrid title={heading} description={description} items={contactItems} />
<section
id="contact-form"
className="flex min-h-[50vh] flex-col items-center justify-center px-4 py-24 md:px-6 md:py-32 lg:py-40"
aria-labelledby="contact-form-heading"
>
<div className="mx-auto w-full max-w-7xl">
<div className="flex flex-col items-center space-y-10 text-center">
<div className="space-y-4">
<h2
id="contact-form-heading"
className="text-heading-2 font-semibold text-foreground"
>
تکمیل فرم
</h2>
<p className="text-body mx-auto max-w-2xl text-muted-foreground">
اطلاعات فروشگاه و نیاز خود را ثبت کنید تا کارشناسان مستر دکور در کوتاه ترین زمان با شما تماس بگیرند.
</p>
</div>
<div className="w-full max-w-2xl">
<ContactForm />
</div>
</div>
</div>
</section>
</main>
)
}
+98
View File
@@ -0,0 +1,98 @@
'use server'
const TELEGRAM_BOT_TOKEN = process.env.TELEGRAM_BOT_TOKEN
const TELEGRAM_CHAT_ID = process.env.TELEGRAM_CHAT_ID
const TELEGRAM_URL = process.env.TELEGRAM_URL ?? 'https://api.telegram.org'
export type DemoRequestFormData = {
name: string
phone: string
product: string
email?: string
message?: string
}
function buildTelegramMessage(data: DemoRequestFormData): string {
const lines = [
'🎬 *درخواست دمو*',
'',
`👤 *نام:* ${data.name}`,
`📱 *تلفن:* ${data.phone}`,
`📦 *نرم‌افزار مورد نظر:* ${data.product}`,
]
if (data.email?.trim()) {
lines.push(`📧 *ایمیل:* ${data.email.trim()}`)
}
if (data.message?.trim()) {
lines.push('', '*توضیحات:*', data.message.trim())
}
return lines.join('\n')
}
export async function submitDemoRequest(
data: DemoRequestFormData
): Promise<{ success: boolean; error?: string }> {
const name = data.name?.trim()
const phone = data.phone?.trim().replace(/\s/g, '')
if (!name || name.length < 2) {
return { success: false, error: 'نام و نام خانوادگی را وارد کنید.' }
}
if (!phone || phone.length < 10) {
return { success: false, error: 'شماره تماس معتبر وارد کنید.' }
}
if (!TELEGRAM_BOT_TOKEN || !TELEGRAM_CHAT_ID) {
console.error('TELEGRAM_BOT_TOKEN or TELEGRAM_CHAT_ID is not set')
return {
success: false,
error: 'پیکربندی ارسال پیام انجام نشده است. لطفاً با پشتیبانی تماس بگیرید.',
}
}
const product = data.product?.trim()
if (!product || product === '__empty__') {
return { success: false, error: 'نرم‌افزار مورد نظر را انتخاب کنید.' }
}
const text = buildTelegramMessage({
name,
phone,
product,
email: data.email,
message: data.message,
})
const url = `${TELEGRAM_URL}/bot${TELEGRAM_BOT_TOKEN}/sendMessage`
const body = {
chat_id: TELEGRAM_CHAT_ID,
text,
parse_mode: 'Markdown',
}
try {
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(body),
})
const result = await res.json()
if (!res.ok || !result.ok) {
console.error('Telegram API error:', result)
return {
success: false,
error: 'ارسال پیام با خطا مواجه شد. لطفاً دوباره تلاش کنید.',
}
}
return { success: true }
} catch (e) {
console.error('Failed to send to Telegram', e)
return {
success: false,
error: 'ارسال پیام با خطا مواجه شد. لطفاً دوباره تلاش کنید.',
}
}
}
+31
View File
@@ -0,0 +1,31 @@
import React from 'react'
import type { Metadata } from 'next'
import { Hero204 } from '@/components/sections/hero/hero-204'
import { DemoRequestForm } from '@/components/sections/other/demo-request-form'
export const metadata: Metadata = {
title: 'درخواست دمو',
description:
'درخواست دمو محصولات و خدمات مستر دکور. سامانه‌های تخصصی بازار طلا را از نزدیک ببینید؛ فرم را پر کنید تا برای هماهنگی دمو با شما تماس بگیریم.',
}
export default function DemoRequestPage() {
return (
<main className="min-h-screen">
<Hero204 />
<div className="mx-auto max-w-7xl px-6 py-24 md:py-32 lg:py-40">
<div className="space-y-10 text-center">
<div className="space-y-4">
<h2 className="text-heading-2 font-semibold text-foreground">
تکمیل فرم
</h2>
<p className="text-body text-muted-foreground mx-auto max-w-2xl">
اطلاعات خود را در فرم زیر وارد کنید تا برای هماهنگی جلسه دمو با شما تماس بگیریم.
</p>
</div>
<DemoRequestForm />
</div>
</div>
</main>
)
}
+16
View File
@@ -0,0 +1,16 @@
import type { Metadata } from "next";
import { Faq16 } from "@/components/sections/other/faq-16";
export const metadata: Metadata = {
title: "سوالات متداول",
description: "پاسخ به سوالات متداول درباره طراحی، اجرا، سفارش و پشتیبانی خدمات مستر دکور.",
};
export default function FaqPage() {
return (
<main className="min-h-screen">
<Faq16 />
</main>
);
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

+703
View File
@@ -0,0 +1,703 @@
@import "tailwindcss";
@import "tw-animate-css";
/* IRANSansX Font Faces */
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 100;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Thin.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Thin.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 200;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-UltraLight.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-UltraLight.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 300;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Light.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Light.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 500;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Medium.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Medium.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 600;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-DemiBold.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-DemiBold.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 800;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-ExtraBold.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-ExtraBold.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: 900;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Black.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Black.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: bold;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Bold.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Bold.woff2") format("woff2");
}
@font-face {
font-family: IRANSansX;
font-style: normal;
font-weight: normal;
src: url("/assets/irsansx/Woff/IRANSansXFaNum-Regular.woff") format("woff"),
url("/assets/irsansx/Woff2/IRANSansXFaNum-Regular.woff2") format("woff2");
}
@custom-variant dark (&:is(.dark *));
/*
* تم واحد (بدون لایت/دارک) — پالت اصلاح‌شده
* پایه: شرابی-مشکی گرم | کارت: بورگوندی کنترل‌شده (کمتر ماژنتا) | متن: کرم گرم (نه خاکستری آبی)
* برند: طلایی #c99d4d | ثانویه: سرمه‌ای | طلایی/زمردی برای گرادیان و border انیمیشن
*/
@theme inline {
/* Design tokens → Tailwind colors */
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-overlay: var(--overlay);
--color-overlay-foreground: var(--overlay-foreground);
--color-sidebar: var(--sidebar);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
--color-chart-1: var(--chart-1);
--color-chart-2: var(--chart-2);
--color-chart-3: var(--chart-3);
--color-chart-4: var(--chart-4);
--color-chart-5: var(--chart-5);
/* Gold & Emerald scales for utility use */
--color-gold-50: var(--gold-50);
--color-gold-100: var(--gold-100);
--color-gold-200: var(--gold-200);
--color-gold-300: var(--gold-300);
--color-gold-400: var(--gold-400);
--color-gold-500: var(--gold-500);
--color-gold-600: var(--gold-600);
--color-gold-700: var(--gold-700);
--color-gold-800: var(--gold-800);
--color-gold-900: var(--gold-900);
--color-gold-950: var(--gold-950);
--color-emerald-50: var(--emerald-50);
--color-emerald-100: var(--emerald-100);
--color-emerald-200: var(--emerald-200);
--color-emerald-300: var(--emerald-300);
--color-emerald-400: var(--emerald-400);
--color-emerald-500: var(--emerald-500);
--color-emerald-600: var(--emerald-600);
--color-emerald-700: var(--emerald-700);
--color-emerald-800: var(--emerald-800);
--color-emerald-900: var(--emerald-900);
--color-emerald-950: var(--emerald-950);
--font-sans: var(--font-iran-sans);
--font-mono: var(--font-geist-mono);
--font-iran-sans: "IRANSansX", "system-ui", "Avenir", "Helvetica", "Arial",
"sans-serif";
--font-size-heading-1: clamp(2rem, 4vw + 1rem, 3.75rem);
--font-size-heading-2: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
--font-size-heading-3: clamp(1.25rem, 2vw + 0.5rem, 1.875rem);
--font-size-heading-4: 1.25rem;
--font-size-heading-5: 1.125rem;
--font-size-body: 1rem;
--font-size-body-sm: 0.875rem;
--font-size-caption: 0.75rem;
--font-weight-heading: 700;
--font-weight-subheading: 600;
--font-weight-body: 400;
--font-weight-medium: 500;
--line-height-heading: 1.25;
--line-height-body: 1.6;
--line-height-relaxed: 1.75;
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--animate-line-shadow: line-shadow 15s linear infinite;
@keyframes line-shadow {
0% { background-position: 0 0; }
100% { background-position: 100% -100%; }
}
}
:root {
/* ----- Master palette from provided swatch ----- */
--tone-1: #110507;
--tone-2: #230a0d;
--tone-3: #340e14;
--tone-4: #46131a;
--tone-5: #571821;
--tone-6: #682f37;
--tone-7: #895d64;
--tone-8: #db8c90;
--tone-9: #ddd1d3;
/* ----- طلایی (برند؛ هم‌راستا با --primary) ----- */
--gold-50: #fdf9f2;
--gold-100: #f8eed9;
--gold-200: #efd9b0;
--gold-300: #e4c27e;
--gold-400: #d4ad5a;
--gold-500: #c99d4d;
--gold-600: #a67e3c;
--gold-700: #85632f;
--gold-800: #5c4522;
--gold-900: #3d2f18;
--gold-950: #261c10;
/* ----- زمردی-فیروزه (تزئینات؛ کمی عمیق‌تر برای کنار بورگوندی) ----- */
--emerald-50: #e6f4f1;
--emerald-100: #c0e6df;
--emerald-200: #8fd4c8;
--emerald-300: #5cb9a9;
--emerald-400: #3a9d8c;
--emerald-500: #2a7f72;
--emerald-600: #23695f;
--emerald-700: #1d534c;
--emerald-800: #163e39;
--emerald-900: #0f2b28;
--emerald-950: #081916;
--font-iran-sans: "IRANSansX", var(--font-geist-sans);
--radius: 0.625rem;
/* ----- Semantic tokens based on exact provided palette ----- */
--background: var(--tone-2);
--foreground: var(--tone-9);
--card: var(--tone-4);
--card-foreground: var(--tone-9);
--popover: var(--tone-3);
--popover-foreground: var(--tone-9);
--primary: var(--tone-8);
--primary-foreground: var(--tone-1);
--secondary: var(--tone-6);
--secondary-foreground: var(--tone-9);
--muted: var(--tone-3);
--muted-foreground: var(--tone-7);
--accent: var(--tone-5);
--accent-foreground: var(--tone-9);
--destructive: oklch(0.62 0.2 22);
--destructive-foreground: oklch(0.99 0.01 25);
/* حاشیه: طلای ملایم روی پایهٔ تیرهٔ گرم */
--border: color-mix(in srgb, var(--tone-8) 28%, var(--tone-2));
--input: var(--tone-5);
--ring: var(--tone-8);
/* متن/اسکرین روی تصویر و اورلی مودال */
--overlay: var(--tone-1);
--overlay-foreground: var(--tone-9);
--chart-1: var(--tone-8);
--chart-2: var(--tone-6);
--chart-3: var(--tone-7);
--chart-4: var(--tone-5);
--chart-5: var(--tone-4);
--sidebar: var(--tone-2);
--sidebar-foreground: var(--tone-9);
--sidebar-primary: var(--tone-8);
--sidebar-primary-foreground: var(--tone-1);
--sidebar-accent: var(--tone-5);
--sidebar-accent-foreground: var(--tone-9);
--sidebar-border: var(--tone-6);
--sidebar-ring: var(--tone-8);
/* ----- دکمهٔ پریمیوم (طلایی + گرادیان آبی ثانویه) ----- */
--btn-radius: 0.625rem;
--btn-transition: 280ms ease-out;
--btn-gold-from: #d8b056;
--btn-gold-via: #c99d4d;
--btn-gold-to: #b08a3f;
--btn-gold-text: #fffaf0;
--btn-gold-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 2px 8px rgba(0, 0, 0, 0.35),
0 4px 16px rgba(224, 168, 48, 0.2);
--btn-gold-shadow-hover: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset, 0 6px 20px rgba(0, 0, 0, 0.3),
0 0 10px rgba(242, 217, 122, 0.2);
--btn-gold-shadow-active: 0 0 0 1px rgba(0, 0, 0, 0.15) inset, 0 2px 6px rgba(0, 0, 0, 0.4);
--btn-gold-glow-hover: 0 0 10px rgba(242, 217, 122, 0.22);
--btn-sapphire-from: #2a5ab8;
--btn-sapphire-to: #153875;
--btn-sapphire-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.14) inset, 0 2px 8px rgba(0, 0, 0, 0.35),
0 4px 16px rgba(30, 74, 180, 0.25);
--btn-sapphire-shadow-hover: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 6px 20px rgba(0, 0, 0, 0.28),
0 0 10px rgba(90, 140, 220, 0.22);
--btn-sapphire-shadow-active: 0 0 0 1px rgba(0, 0, 0, 0.12) inset, 0 2px 6px rgba(0, 0, 0, 0.35);
--btn-sapphire-glow-hover: 0 0 10px rgba(90, 140, 220, 0.28);
}
@keyframes btn-shine {
0% { transform: translateX(-100%) skewX(-12deg); }
100% { transform: translateX(200%) skewX(-12deg); }
}
@layer base {
html {
scroll-behavior: smooth;
color-scheme: dark;
}
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
font-family: "IRANSansX";
letter-spacing: normal;
line-height: 1.6;
overflow-x: hidden;
/* Single subtle overlay for premium feel – no banding */
background-image:
radial-gradient(
ellipse 95% 62% at 50% -10%,
color-mix(in srgb, var(--tone-8) 18%, transparent) 0%,
transparent 54%
),
radial-gradient(
ellipse 85% 48% at 50% 115%,
color-mix(in srgb, var(--tone-7) 16%, transparent) 0%,
transparent 56%
);
background-attachment: fixed;
background-repeat: no-repeat;
transition: background-color 0.3s ease;
}
/* Standard typography – same sizes/weights across all pages */
h1, h2, h3, h4, h5, h6 {
font-family: inherit;
letter-spacing: normal;
line-height: var(--line-height-heading);
font-weight: var(--font-weight-heading);
transition: color 0.3s ease;
}
h1 {
font-size: var(--font-size-heading-1);
font-weight: 700;
}
h2 {
font-size: var(--font-size-heading-2);
font-weight: 600;
}
h3 {
font-size: var(--font-size-heading-3);
font-weight: 600;
}
h4 {
font-size: var(--font-size-heading-4);
font-weight: 500;
}
h5 {
font-size: var(--font-size-heading-5);
font-weight: 500;
}
h6 {
font-size: var(--font-size-body);
font-weight: 500;
}
p {
font-size: var(--font-size-body);
font-weight: var(--font-weight-body);
letter-spacing: normal;
line-height: var(--line-height-body);
transition: color 0.3s ease;
}
a {
transition: all 0.3s ease;
color: var(--primary);
}
a:hover {
color: var(--primary);
opacity: 0.9;
}
button {
transition: all 0.3s ease;
}
}
/* WordPress table block (figure.wp-block-table > table) */
.wp-block-table {
margin: 1.5rem 0;
overflow-x: auto;
border-radius: var(--radius);
}
.wp-block-table table {
width: 100%;
border-collapse: collapse;
font-size: 0.9375rem;
}
.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);
text-align: right;
min-width: 850px;
}
.wp-block-table tbody tr:first-child th,
.wp-block-table tbody tr:first-child td {
background: var(--muted);
font-weight: 600;
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;
color: var(--foreground);
}
.wp-block-button > .wp-element-button {
@apply inline-flex bg-primary text-primary-foreground px-4 py-2 rounded-md hover:bg-primary/80 hover:text-primary-foreground/80 cursor-pointer no-underline;
}
.wp-block-button {
@apply inline-flex;
}
.wp-block-button.is-style-outline > .wp-element-button {
@apply bg-transparent text-foreground border border-2 border-primary hover:text-primary cursor-pointer no-underline;
}
.cta-block {
@apply flex flex-col gap-4 border rounded-md border-primary/50 p-4 items-center my-4 shadow-sm bg-primary/5 text-primary;
}
.wp-block-image {
@apply rounded-md overflow-hidden shadow-sm;
}
/* ========== Animated Gradient Border ========== */
@property --bag-angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
@keyframes bag-spin {
to { --bag-angle: 360deg; }
}
.border-animated-gradient {
--bag-width: 2px;
--bag-speed: 5s;
--bag-bg: var(--card);
--bag-c1: var(--gold-300);
--bag-c2: var(--emerald-500);
--bag-c3: var(--gold-500);
--bag-c4: var(--emerald-300);
border: var(--bag-width) solid transparent;
background:
var(--bag-bg) padding-box,
conic-gradient(
from var(--bag-angle),
var(--bag-c1) 0%,
var(--bag-c2) 25%,
var(--bag-c3) 50%,
var(--bag-c4) 75%,
var(--bag-c1) 100%
) border-box;
animation: bag-spin var(--bag-speed) linear infinite;
}
/* ── ورایانت رنگ: فقط طلایی ── */
.border-animated-gradient.bag-gold {
--bag-c1: var(--gold-200);
--bag-c2: var(--gold-500);
--bag-c3: var(--gold-300);
--bag-c4: var(--gold-700);
}
/* ── ورایانت رنگ: فقط زمردی ── */
.border-animated-gradient.bag-emerald {
--bag-c1: var(--emerald-200);
--bag-c2: var(--emerald-500);
--bag-c3: var(--emerald-300);
--bag-c4: var(--emerald-700);
}
/* ── ورایانت پس‌زمینه ── */
.border-animated-gradient.bag-bg-base { --bag-bg: var(--background); }
.border-animated-gradient.bag-bg-muted { --bag-bg: var(--muted); }
/* ── ورایانت سرعت ── */
.border-animated-gradient.bag-slow { --bag-speed: 10s; }
.border-animated-gradient.bag-fast { --bag-speed: 2s; }
/* ── ورایانت ضخامت ── */
.border-animated-gradient.bag-thick { --bag-width: 3px; }
.border-animated-gradient.bag-thin { --bag-width: 1px; }
/* ========== Unified section surfaces & blur separators ========== */
.section-unified-block {
border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
background:
linear-gradient(
145deg,
color-mix(in srgb, var(--tone-5) 62%, transparent) 0%,
color-mix(in srgb, var(--tone-3) 74%, transparent) 100%
);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
box-shadow: 0 10px 30px color-mix(in srgb, var(--tone-1) 55%, transparent);
}
.frosted-panel {
border: 1px solid color-mix(in srgb, var(--tone-8) 24%, transparent);
background: color-mix(in srgb, var(--tone-4) 72%, transparent);
-webkit-backdrop-filter: blur(16px) saturate(115%);
backdrop-filter: blur(16px) saturate(115%);
}
.tone-gradient-line {
height: 1px;
width: 8rem;
border-radius: 999px;
margin-inline: auto;
background: linear-gradient(
to right,
var(--tone-3) 0%,
var(--tone-6) 35%,
var(--tone-8) 65%,
var(--tone-9) 100%
);
filter: blur(0.2px);
}
.section-blur-separator {
position: relative;
}
.section-blur-separator::before {
content: "";
position: absolute;
left: 50%;
top: 0;
width: min(78rem, 92vw);
height: 1px;
transform: translateX(-50%);
background: linear-gradient(
to right,
transparent 0%,
color-mix(in srgb, var(--tone-6) 65%, transparent) 20%,
color-mix(in srgb, var(--tone-8) 78%, transparent) 50%,
color-mix(in srgb, var(--tone-7) 65%, transparent) 80%,
transparent 100%
);
filter: blur(1.6px);
opacity: 0.95;
}
@keyframes meteor-title-fall {
0% {
transform: translate3d(64px, -120px, 0) rotate(300deg) scaleX(0.82);
opacity: 0;
}
9% {
opacity: 0.9;
}
58% {
opacity: 0.62;
}
82% {
opacity: 0.28;
}
100% {
transform: translate3d(-146px, var(--meteor-distance, 340px), 0) rotate(300deg) scaleX(0.96);
opacity: 0;
}
}
.meteor-title-streak {
position: absolute;
top: -18%;
width: 56px;
height: 1.2px;
border-radius: 999px;
background: linear-gradient(
90deg,
color-mix(in srgb, var(--tone-9) 0%, transparent) 0%,
color-mix(in srgb, var(--gold-200) 56%, transparent) 30%,
color-mix(in srgb, var(--gold-400) 72%, transparent) 55%,
color-mix(in srgb, var(--tone-9) 60%, transparent) 100%
);
box-shadow:
0 0 10px color-mix(in srgb, var(--gold-400) 44%, transparent),
0 0 20px color-mix(in srgb, var(--gold-200) 34%, transparent),
0 0 28px color-mix(in srgb, var(--tone-9) 20%, transparent);
transform-origin: right center;
transform: translate3d(64px, -120px, 0) rotate(300deg) scaleX(0.82);
animation-name: meteor-title-fall;
animation-delay: -2s;
animation-duration: 4.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
will-change: transform, opacity;
}
.meteor-title-streak-1 {
left: 2%;
--meteor-distance: 320px;
animation-delay: -0.6s;
animation-duration: 4.1s;
}
.meteor-title-streak-2 {
left: 9%;
--meteor-distance: 360px;
animation-delay: -1.7s;
animation-duration: 4.8s;
}
.meteor-title-streak-3 {
left: 15%;
--meteor-distance: 340px;
animation-delay: -2.9s;
animation-duration: 4.3s;
}
.meteor-title-streak-4 {
left: 22%;
--meteor-distance: 390px;
animation-delay: -3.8s;
animation-duration: 5.1s;
}
.meteor-title-streak-5 {
left: 29%;
--meteor-distance: 330px;
animation-delay: -1.2s;
animation-duration: 4.2s;
}
.meteor-title-streak-6 {
left: 36%;
--meteor-distance: 370px;
animation-delay: -2.4s;
animation-duration: 4.9s;
}
.meteor-title-streak-7 {
left: 43%;
--meteor-distance: 350px;
animation-delay: -3.5s;
animation-duration: 4.6s;
}
.meteor-title-streak-8 {
left: 50%;
--meteor-distance: 400px;
animation-delay: -0.9s;
animation-duration: 5.2s;
}
.meteor-title-streak-9 {
left: 57%;
--meteor-distance: 335px;
animation-delay: -2.1s;
animation-duration: 4.4s;
}
.meteor-title-streak-10 {
left: 64%;
--meteor-distance: 375px;
animation-delay: -3.1s;
animation-duration: 5s;
}
.meteor-title-streak-11 {
left: 71%;
--meteor-distance: 345px;
animation-delay: -1.4s;
animation-duration: 4.5s;
}
.meteor-title-streak-12 {
left: 78%;
--meteor-distance: 385px;
animation-delay: -2.8s;
animation-duration: 5.1s;
}
.meteor-title-streak-13 {
left: 84%;
--meteor-distance: 325px;
animation-delay: -3.7s;
animation-duration: 4.2s;
}
.meteor-title-streak-14 {
left: 90%;
--meteor-distance: 365px;
animation-delay: -1.9s;
animation-duration: 4.8s;
}
.meteor-title-streak-15 {
left: 95%;
--meteor-distance: 340px;
animation-delay: -2.6s;
animation-duration: 4.6s;
}
.meteor-title-streak-16 {
left: 98%;
--meteor-distance: 380px;
animation-delay: -3.3s;
animation-duration: 5.2s;
}
+38
View File
@@ -0,0 +1,38 @@
import type { Metadata } from "next";
import "./globals.css";
import { ConditionalLayout } from "@/components/layout/conditional-layout";
import { ContentProvider } from "@/components/layout/content-provider";
import { ThemeProvider } from "@/components/layout/theme-provider";
import { TopProgressBar } from "@/components/layout/top-progress-bar";
import { getContent } from "@/lib/content";
export const metadata: Metadata = {
title: {
default: "مستر دکور",
template: "%s | مستر دکور",
},
description: "مستر دکور — راهکارهای نرم‌افزاری برای کسب‌وکار",
icons: {
icon: "/assets/mainLogo_montzar.png",
},
};
export default async function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
const content = await getContent();
return (
<html lang="fa" dir="rtl" suppressHydrationWarning>
<body className="antialiased">
<ContentProvider initialContent={content}>
<ThemeProvider>
<TopProgressBar />
<ConditionalLayout>{children}</ConditionalLayout>
</ThemeProvider>
</ContentProvider>
</body>
</html>
);
}
+27
View File
@@ -0,0 +1,27 @@
import type { Metadata } from "next";
import { Hero174 } from "@/components/sections/hero/hero-174";
import { ProductCategories2 } from "@/components/sections/feature/product-categories-2";
import { Logos21 } from "@/components/sections/other/logos-21";
import { FeatureWorkspaceTabs } from "@/components/sections/feature/feature-workspace-tabs";
import { BusinessStatsSection } from "@/components/sections/other/business-stats-section";
import { Cta6 } from "@/components/sections/cta/cta-6";
export const metadata: Metadata = {
title: "صفحه اصلی",
description:
"مستر دکور؛ تامین کننده تخصصی استند و ملزومات دکور ویترین طلافروشی برای نمایش حرفه ای سرویس های طلا و جواهر.",
};
export default function Home() {
return (
<main className="relative min-h-screen overflow-x-hidden">
<Hero174 />
<ProductCategories2 />
<Logos21 />
<FeatureWorkspaceTabs />
<BusinessStatsSection />
<Cta6 />
</main>
);
}
+57
View File
@@ -0,0 +1,57 @@
import type { Metadata } from "next";
import Link from "next/link";
import { notFound } from "next/navigation";
import { ProductDetailView } from "@/components/sections/feature/product-detail-view";
import { Button } from "@/components/ui/button";
import { getAllProductIds, getProductById, getProductDetail } from "@/lib/catalog-products";
type PageParams = { productId: string };
export function generateStaticParams(): PageParams[] {
return getAllProductIds().map((productId) => ({ productId }));
}
export async function generateMetadata({
params,
}: {
params: Promise<PageParams>;
}): Promise<Metadata> {
const { productId } = await params;
const product = getProductById(productId);
if (!product) {
return { title: "محصول" };
}
return {
title: product.name,
description: `${product.name} — ${product.categoryLabel} | مستر دکور`,
};
}
export default async function ProductDetailPage({
params,
}: {
params: Promise<PageParams>;
}) {
const { productId } = await params;
const detail = getProductDetail(productId);
if (!detail) {
notFound();
}
return (
<main className="min-h-screen pb-16">
<div className="border-b border-border bg-muted/40" dir="rtl">
<div className="mx-auto flex max-w-7xl flex-wrap items-center justify-between gap-3 px-4 py-3 sm:px-6">
<Button variant="ghost" className="text-body-sm text-gold-300 hover:bg-gold-950/35 hover:text-gold-200" asChild>
<Link href={`/product?category=${detail.category}`}>بازگشت به فهرست {detail.categoryLabel}</Link>
</Button>
<Button variant="ghost" className="text-body-sm text-gold-300 hover:bg-gold-950/35 hover:text-gold-200" asChild>
<Link href="/product">همه محصولات</Link>
</Button>
</div>
</div>
<ProductDetailView product={detail} />
</main>
);
}
+33
View File
@@ -0,0 +1,33 @@
import type { Metadata } from 'next'
import { ProductList10Catalog } from '@/components/sections/feature/product-list10-catalog'
export const metadata: Metadata = {
title: "محصولات",
description:
"محصولات مستر دکور شامل استند و ملزومات دکور ویترین طلافروشی در دسته های طلا، خردسال، جواهر و مانکن های تخصصی.",
}
type ProductSearchParams =
| { category?: string | string[] }
| Promise<{ category?: string | string[] }>
export default async function ProductsPage({
searchParams,
}: {
searchParams?: ProductSearchParams
}) {
const resolvedSearchParams =
searchParams && typeof (searchParams as Promise<{ category?: string | string[] }>).then === 'function'
? await (searchParams as Promise<{ category?: string | string[] }>)
: (searchParams as { category?: string | string[] } | undefined)
const rawCategory = resolvedSearchParams?.category
const initialCategory = Array.isArray(rawCategory) ? rawCategory[0] : rawCategory
return (
<main className="min-h-screen">
<ProductList10Catalog initialCategory={initialCategory} />
</main>
)
}
+150
View File
@@ -0,0 +1,150 @@
import type { Metadata } from "next";
import { BadgeCheck, Clock3, ShieldCheck, Wrench } from "lucide-react";
import { MeteorTitleBackground } from "@/components/utilities/meteor-title-background";
export const metadata: Metadata = {
title: "گارانتی",
description:
"گارانتی مستر دکور برای استند و ملزومات ویترین طلافروشی، شامل پوشش ایرادهای ساخت، یراق آلات اصلی و پشتیبانی فنی است.",
};
const warrantyCoverage = [
"پوشش عیوب ساخت و مونتاژ بدنه استند در بازه گارانتی",
"بازبینی و رفع اشکال عملکردی کشو، ریل و یراق آلات اصلی",
"تنظیم مجدد قطعات متحرک که در استفاده عادی دچار اختلال شده اند",
"ارائه راهکار اصلاحی یا تعویض قطعه در صورت تایید کارشناس فنی",
"پشتیبانی تلفنی و ثبت درخواست برای هماهنگی بازدید حضوری",
];
const warrantyHighlights = [
{
icon: ShieldCheck,
title: "پوشش فنی معتبر",
description: "تعهد کتبی نسبت به کیفیت اجرای سازه و قطعات اصلی",
},
{
icon: Wrench,
title: "رسیدگی تخصصی",
description: "عیب یابی و رفع مشکل توسط تیم آشنا با استندهای طلافروشی",
},
{
icon: Clock3,
title: "پاسخگویی زمان دار",
description: "پیگیری درخواست ها بر اساس اولویت و زمان بندی هماهنگ شده",
},
{
icon: BadgeCheck,
title: "کنترل کیفی نهایی",
description: "تحویل خدمت پس از تست عملکرد و تایید کارایی",
},
];
export default function WarrantyPage() {
return (
<main className="min-h-screen pb-24 pt-16 md:pt-20">
<section className="relative overflow-hidden bg-muted/60 py-20 md:py-24">
<MeteorTitleBackground className="opacity-100" />
<div className="mx-auto w-full max-w-7xl px-4 sm:px-6" dir="rtl">
<div className="mx-auto max-w-4xl text-center">
<div className="relative z-10 rounded-2xl px-4 py-6 sm:px-8">
<h1 className="text-heading-1 font-bold text-foreground">
گارانتی خدمات و محصولات
</h1>
<p className="mt-5 text-body text-muted-foreground">
گارانتی مستر دکور برای حفظ کیفیت واقعی استندها طراحی شده است تا با
اطمینان بیشتری ویترین خود را مدیریت کنید و عملکرد تجهیزات در فروش
روزانه پایدار بماند.
</p>
</div>
</div>
</div>
</section>
<section className="py-14 md:py-16">
<div
className="mx-auto grid w-full max-w-7xl gap-10 px-4 sm:px-6 lg:grid-cols-3"
dir="rtl"
>
<div className="space-y-8 lg:col-span-2">
<div className="space-y-4">
<h2 className="text-heading-4 font-semibold text-foreground text-xl">
دامنه پوشش گارانتی
</h2>
<p className="text-body text-muted-foreground">
در دوره گارانتی، مشکلاتی که ناشی از ایراد ساخت، مونتاژ یا عملکرد
قطعات اصلی باشند توسط تیم فنی بررسی و رفع می شوند. هدف این است که
استندها در شرایط عادی فروشگاه، کارکرد پایدار و ظاهری حرفه ای خود
را حفظ کنند.
</p>
<p className="text-body text-muted-foreground">
جزئیات نهایی هر پروژه شامل مدت زمان، شرایط نگهداری و موارد خارج از
پوشش، همزمان با تحویل پروژه و مستندات فنی در اختیار شما قرار
می گیرد.
</p>
</div>
<div className="space-y-4">
<h2 className="text-heading-4 font-semibold text-foreground text-xl">
روند رسیدگی به درخواست گارانتی
</h2>
<p className="text-body text-muted-foreground">
پس از ثبت درخواست، ابتدا وضعیت به صورت تلفنی یا تصویری ارزیابی
می شود. در صورت نیاز به بازدید حضوری، زمان مناسب با مجموعه شما
هماهنگ می گردد تا بدون ایجاد اختلال در فعالیت فروشگاه، اقدامات
اصلاحی انجام شود.
</p>
<p className="text-body text-muted-foreground">
در پایان، عملکرد قطعه یا بخش تعمیر شده مجدد تست می شود و تحویل
نهایی پس از تایید کیفیت اجرا انجام می گیرد.
</p>
</div>
<div className="space-y-4">
<h3 className="text-heading-5 font-semibold text-foreground text-lg">
موارد تحت پوشش
</h3>
<div className="space-y-3">
{warrantyCoverage.map((item) => (
<div
key={item}
className="rounded-xl border border-border bg-card px-4 py-3"
>
<p className="text-body text-foreground">{item}</p>
</div>
))}
</div>
</div>
</div>
<aside className="lg:col-span-1">
<div className="rounded-2xl border border-border bg-muted/50 p-5 lg:sticky lg:top-24">
<h3 className="text-heading-5 font-semibold text-foreground text-lg">
مزایای گارانتی
</h3>
<div className="mt-5 space-y-4">
{warrantyHighlights.map((item) => {
const Icon = item.icon;
return (
<div key={item.title} className="flex items-start gap-3">
<span className="mt-0.5 flex h-9 w-9 items-center justify-center rounded-lg bg-card">
<Icon className="h-4 w-4 text-primary" />
</span>
<div className="space-y-1">
<p className="text-body-sm font-medium text-foreground">
{item.title}
</p>
<p className="text-caption text-muted-foreground">
{item.description}
</p>
</div>
</div>
);
})}
</div>
</div>
</aside>
</div>
</section>
</main>
);
}