This commit is contained in:
1 parent
66cbf4c68d
commit
d9ff4aef58
15 files changed
+64
-138
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import type { Metadata } from "next";
|
||||
import ContactFormClient from "@/components/ContactFormClient";
|
||||
import { getPageMetadata } from "@/lib/seo";
|
||||
import { getPageMetadata, getSeoConfig } from "@/lib/seo";
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
return getPageMetadata('contact', {
|
||||
@@ -12,13 +12,14 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
|
||||
import { generateLocalBusinessSchema, generateBreadcrumbSchema, safeJsonLd } from "@/lib/schema";
|
||||
|
||||
export default function ContactPage() {
|
||||
export default async function ContactPage() {
|
||||
const config = await getSeoConfig();
|
||||
const localBusinessSchema = generateLocalBusinessSchema({
|
||||
name: 'کنینا ایران',
|
||||
url: 'https://canina.ir',
|
||||
telephone: '+989211231517',
|
||||
address: {
|
||||
streetAddress: 'تهران، جردن، خیابان سعیدی، ساختمان کنینا، طبقه ۵، واحد ۱۹',
|
||||
streetAddress: config.texts.CONTACT_ADDRESS || config.texts.contact_address || undefined,
|
||||
addressLocality: 'تهران',
|
||||
addressRegion: 'تهران',
|
||||
postalCode: '1967812345',
|
||||
|
||||
@@ -116,9 +116,9 @@ export default async function RootLayout({
|
||||
logo: 'https://canina.ir/assets/images/logo.png',
|
||||
description: 'فروشگاه تخصصی و نماینده انحصاری مکملهای دارویی و تقویتی سگ و گربه کنینا آلمان با فرمولاسیون دارویی و تاییدیه بالینی سازمان دامپزشکی کشور.',
|
||||
telephone: '+989211231517',
|
||||
email: 'caninairan@gmail.com',
|
||||
email: config.texts.CONTACT_EMAIL || config.texts.contact_email || undefined,
|
||||
address: {
|
||||
streetAddress: 'تهران، جردن، خیابان سعیدی، ساختمان کنینا، طبقه ۵، واحد ۱۹',
|
||||
streetAddress: config.texts.CONTACT_ADDRESS || config.texts.contact_address || undefined,
|
||||
addressLocality: 'تهران',
|
||||
addressRegion: 'تهران',
|
||||
postalCode: '1967812345',
|
||||
|
||||
Reference in new issue
Block a user