{titleEn}
diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..e09d202 --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,147 @@ +import type { Metadata } from "next"; +import { ContentPageShell } from "@/components/ContentPageShell"; +import { ContactForm } from "@/components/ContactForm"; +import { site, socials } from "@/data/home"; + +export const metadata: Metadata = { + title: "تماس با ما", + description: + "با تیم مشکی در تماس باشید — فرم تماس، تلفن، ایمیل و آدرس دفتر قم.", + alternates: { canonical: "/contact" }, +}; + +export default function ContactPage() { + return ( ++ Contact +
++ تماس با ما +
++ سوالی دارید یا میخواهید پروژهتان را شروع کنید؟ با تیم مشکی در + تماس باشید. +
++ فرم تماس +
++ ما همیشه دنبال دوستای جدید هستیم. +
+ +{titleEn}
diff --git a/src/app/instruction/page.tsx b/src/app/instruction/page.tsx index fb23eb9..fda8bf7 100644 --- a/src/app/instruction/page.tsx +++ b/src/app/instruction/page.tsx @@ -99,10 +99,10 @@ export default async function InstructionListPage({Instructions
diff --git a/src/app/portfolio/[slug]/page.tsx b/src/app/portfolio/[slug]/page.tsx index 74e40d8..697368e 100644 --- a/src/app/portfolio/[slug]/page.tsx +++ b/src/app/portfolio/[slug]/page.tsx @@ -123,11 +123,11 @@ export default async function PortfolioDetailPage({{titleEn}
diff --git a/src/app/portfolio/page.tsx b/src/app/portfolio/page.tsx index d7ac638..e7b5a40 100644 --- a/src/app/portfolio/page.tsx +++ b/src/app/portfolio/page.tsx @@ -95,10 +95,10 @@ export default async function PortfolioListPage({Portfolio
diff --git a/src/components/AppSection.tsx b/src/components/AppSection.tsx index 7ab7f37..882571a 100644 --- a/src/components/AppSection.tsx +++ b/src/components/AppSection.tsx @@ -24,7 +24,7 @@ export function AppSection() { بیشتر کاربران را به همراه دارد. با ما تماس بگیرید diff --git a/src/components/Button.tsx b/src/components/Button.tsx new file mode 100644 index 0000000..b6430a3 --- /dev/null +++ b/src/components/Button.tsx @@ -0,0 +1,108 @@ +import Link from "next/link"; +import type { ComponentPropsWithoutRef, ReactNode } from "react"; + +type ButtonVariant = "primary" | "outline"; +type ButtonSize = "sm" | "md"; + +type CommonProps = { + variant?: ButtonVariant; + size?: ButtonSize; + className?: string; + children: ReactNode; +}; + +type ButtonAsLink = CommonProps & + Omitایمیل
+ + {site.email} +آدرس
{site.address} @@ -28,45 +35,10 @@ export function ContactSection() { تماس با ما
- ما همیشه دنبال دوستای جدید هستیم — یا ما خدمتتون تماس بگیریم. + ما همیشه دنبال دوستای جدید هستیم.
- +{site.address}
- - تماس با ما - +