diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 01fc9d5..7bf8aa6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -6,24 +6,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -31,7 +14,7 @@
-
+
@@ -59,36 +42,36 @@
- {
+ "keyToString": {
+ "ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
+ "ModuleVcsDetector.initialDetectionPerformed": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
+ "RunOnceActivity.git.unshallow": "true",
+ "RunOnceActivity.typescript.service.memoryLimit.init": "true",
+ "SHARE_PROJECT_CONFIGURATION_FILES": "true",
+ "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
+ "git-widget-placeholder": "dev",
+ "ignore.virus.scanning.warn.message": "true",
+ "javascript.preferred.runtime.type.id": "node",
+ "js.debugger.nextJs.config.created.client": "true",
+ "js.debugger.nextJs.config.created.server": "true",
+ "junie.onboarding.icon.badge.shown": "true",
+ "list.type.of.created.stylesheet": "SCSS",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "npm.Next.js: server-side.executor": "Run",
+ "prettierjs.PrettierConfiguration.Package": "C:\\dev-personal\\ocenka-web\\node_modules\\prettier",
+ "settings.editor.selected.configurable": "terminal",
+ "to.speed.mode.migration.done": "true",
+ "ts.external.directory.path": "C:\\dev-personal\\ocenka-web\\node_modules\\typescript\\lib",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -140,7 +123,8 @@
-
+
+
diff --git a/public/images/opengraph/expertise/бухгалтерская.png b/public/images/opengraph/expertise/buh.png
similarity index 100%
rename from public/images/opengraph/expertise/бухгалтерская.png
rename to public/images/opengraph/expertise/buh.png
diff --git a/src/app/contacts/page.tsx b/src/app/contacts/page.tsx
index c530348..a414a29 100644
--- a/src/app/contacts/page.tsx
+++ b/src/app/contacts/page.tsx
@@ -1,15 +1,15 @@
import { headers } from 'next/headers';
import { Contacts } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Адрес и телефон офиса',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/cookies/page.tsx b/src/app/cookies/page.tsx
index 941bf67..7f1ec0e 100644
--- a/src/app/cookies/page.tsx
+++ b/src/app/cookies/page.tsx
@@ -1,15 +1,15 @@
import { Cookie } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Соглашение об использовании систем аналитики',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/ekspertiza/avtotehnicheskaja/page.tsx b/src/app/ekspertiza/avtotehnicheskaja/page.tsx
index 7b93c44..67dabc5 100644
--- a/src/app/ekspertiza/avtotehnicheskaja/page.tsx
+++ b/src/app/ekspertiza/avtotehnicheskaja/page.tsx
@@ -1,12 +1,33 @@
import { AutoTech } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Автотехническая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Автотехническая экспертиза',
+ description: `Проведение автотехнической экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/auto.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/buhgalterskaja/page.tsx b/src/app/ekspertiza/buhgalterskaja/page.tsx
index 9514c4f..8675303 100644
--- a/src/app/ekspertiza/buhgalterskaja/page.tsx
+++ b/src/app/ekspertiza/buhgalterskaja/page.tsx
@@ -1,12 +1,33 @@
import { Buhgalter } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Бухгалтерская экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Бухгалтерская экспертиза',
+ description: `Проведение бухгалтерской экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/buh.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/dokumentov/page.tsx b/src/app/ekspertiza/dokumentov/page.tsx
index c399ec0..f1dfb3f 100644
--- a/src/app/ekspertiza/dokumentov/page.tsx
+++ b/src/app/ekspertiza/dokumentov/page.tsx
@@ -1,12 +1,33 @@
import { Document } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Экспертиза документов | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Экспертиза документов',
+ description: `Экспертиза документов. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/buh.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/finansovo-jekonomicheskaja/page.tsx b/src/app/ekspertiza/finansovo-jekonomicheskaja/page.tsx
index b20921e..0a8d274 100644
--- a/src/app/ekspertiza/finansovo-jekonomicheskaja/page.tsx
+++ b/src/app/ekspertiza/finansovo-jekonomicheskaja/page.tsx
@@ -1,12 +1,33 @@
import { Finans } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Финансово-экономическая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Финансово-экономическая экспертиза',
+ description: `Проведение финансово-экономической экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/finance.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/kadastrovaja/page.tsx b/src/app/ekspertiza/kadastrovaja/page.tsx
index 06bb90e..d1d3923 100644
--- a/src/app/ekspertiza/kadastrovaja/page.tsx
+++ b/src/app/ekspertiza/kadastrovaja/page.tsx
@@ -1,12 +1,33 @@
import { Kadastr } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Кадастровая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Кадастровая экспертиза',
+ description: `Проведение кадастровой экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/kadastr.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/kompjuterno-tehnicheskaja/page.tsx b/src/app/ekspertiza/kompjuterno-tehnicheskaja/page.tsx
index 9204b0f..ebab8fa 100644
--- a/src/app/ekspertiza/kompjuterno-tehnicheskaja/page.tsx
+++ b/src/app/ekspertiza/kompjuterno-tehnicheskaja/page.tsx
@@ -1,12 +1,33 @@
import { Computer } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Компьютерно-техническая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Компьютерно-техническая экспертиза',
+ description: `Проведение компьютерно-технической экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/computer.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/page.tsx b/src/app/ekspertiza/page.tsx
index b52a42c..91923f8 100644
--- a/src/app/ekspertiza/page.tsx
+++ b/src/app/ekspertiza/page.tsx
@@ -1,12 +1,33 @@
import { ExpertiseCategory } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Проведение экспертиз | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Проведение судебных экспертиз',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/main.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function ExpertizaPage() {
return ;
}
diff --git a/src/app/ekspertiza/pocherkovedcheskaja/page.tsx b/src/app/ekspertiza/pocherkovedcheskaja/page.tsx
index 867b5a0..51d42b2 100644
--- a/src/app/ekspertiza/pocherkovedcheskaja/page.tsx
+++ b/src/app/ekspertiza/pocherkovedcheskaja/page.tsx
@@ -1,12 +1,33 @@
import { Pocherk } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Почерковедческая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Почерковедческая экспертиза',
+ description: `Проведение почерковедческой экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/pocherk.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/pozharno-tehnicheskaja/page.tsx b/src/app/ekspertiza/pozharno-tehnicheskaja/page.tsx
index 358a8e4..d50f8ae 100644
--- a/src/app/ekspertiza/pozharno-tehnicheskaja/page.tsx
+++ b/src/app/ekspertiza/pozharno-tehnicheskaja/page.tsx
@@ -1,12 +1,33 @@
import { Pozhar } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Пожарно-техническая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Пожарно-техническая экспертиза',
+ description: `Проведение пожарно-технической экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/pojar.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/recenzirovanie/page.tsx b/src/app/ekspertiza/recenzirovanie/page.tsx
index 8dc5623..6940a01 100644
--- a/src/app/ekspertiza/recenzirovanie/page.tsx
+++ b/src/app/ekspertiza/recenzirovanie/page.tsx
@@ -1,12 +1,33 @@
import { Recenzii } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Строительно-техническая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Рецензирование экспертизы',
+ description: `Рецензирование экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/recenzia.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/stroitelno-tehnicheskaja/page.tsx b/src/app/ekspertiza/stroitelno-tehnicheskaja/page.tsx
index bea214d..ee7e41e 100644
--- a/src/app/ekspertiza/stroitelno-tehnicheskaja/page.tsx
+++ b/src/app/ekspertiza/stroitelno-tehnicheskaja/page.tsx
@@ -1,12 +1,33 @@
import { Stroit } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Рецензирование экспертизы | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Строительно-техническая экспертиза',
+ description: `Проведение строительно-технической экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/stroika.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/tehniko-kriminalisticheskaja/page.tsx b/src/app/ekspertiza/tehniko-kriminalisticheskaja/page.tsx
index 90fad5d..a0abda2 100644
--- a/src/app/ekspertiza/tehniko-kriminalisticheskaja/page.tsx
+++ b/src/app/ekspertiza/tehniko-kriminalisticheskaja/page.tsx
@@ -1,12 +1,33 @@
import { TechCrim } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Технико-криминалистическая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Технико-криминалистическая экспертиза',
+ description: `Проведение технико-криминалистической экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/crime.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/tovarovedcheskaja/page.tsx b/src/app/ekspertiza/tovarovedcheskaja/page.tsx
index 03c3229..6e1636a 100644
--- a/src/app/ekspertiza/tovarovedcheskaja/page.tsx
+++ b/src/app/ekspertiza/tovarovedcheskaja/page.tsx
@@ -1,12 +1,33 @@
import { Tovar } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Товароведческая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Товароведческая экспертиза',
+ description: `Проведение товароведческой экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/tovar.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/trasologicheskaja/page.tsx b/src/app/ekspertiza/trasologicheskaja/page.tsx
index ffbe9da..ea09902 100644
--- a/src/app/ekspertiza/trasologicheskaja/page.tsx
+++ b/src/app/ekspertiza/trasologicheskaja/page.tsx
@@ -1,12 +1,33 @@
import { Trasologia } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Трасологическая экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Трасологическая экспертиза',
+ description: `Проведение трасологической экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/trasologia.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ekspertiza/zemle-ustroitelnaja/page.tsx b/src/app/ekspertiza/zemle-ustroitelnaja/page.tsx
index 7e00d9f..af10079 100644
--- a/src/app/ekspertiza/zemle-ustroitelnaja/page.tsx
+++ b/src/app/ekspertiza/zemle-ustroitelnaja/page.tsx
@@ -1,12 +1,33 @@
import { ZemStroy } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Земле-устроительная экспертиза | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Землеустроительная экспертиза',
+ description: `Проведение землеустроительной экспертизы. Лицензированные эксперты. Экспертиза принимается судом. Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/expertise/zemlya.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/experts/borodin-vitalij-petrovich/page.tsx b/src/app/experts/borodin-vitalij-petrovich/page.tsx
index 00c4474..08fb970 100644
--- a/src/app/experts/borodin-vitalij-petrovich/page.tsx
+++ b/src/app/experts/borodin-vitalij-petrovich/page.tsx
@@ -1,15 +1,15 @@
import { ExpertBorodin } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Бородин Виталий Петрович',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/gjulmamedov-javar-firmamed-ogly/page.tsx b/src/app/experts/gjulmamedov-javar-firmamed-ogly/page.tsx
index 99afb56..2596436 100644
--- a/src/app/experts/gjulmamedov-javar-firmamed-ogly/page.tsx
+++ b/src/app/experts/gjulmamedov-javar-firmamed-ogly/page.tsx
@@ -1,15 +1,15 @@
import { ExpertGulmamedov } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Гюльмамедов Явар Фирмамед-оглы',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/jancen-jana-nikolaevna/page.tsx b/src/app/experts/jancen-jana-nikolaevna/page.tsx
index 8fd7962..9655eaa 100644
--- a/src/app/experts/jancen-jana-nikolaevna/page.tsx
+++ b/src/app/experts/jancen-jana-nikolaevna/page.tsx
@@ -1,15 +1,15 @@
import { ExpertYancen } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Янцен Яна Николаевна',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/kaminskij-dmitrij-olegovich/page.tsx b/src/app/experts/kaminskij-dmitrij-olegovich/page.tsx
index aba8fd1..52d80d1 100644
--- a/src/app/experts/kaminskij-dmitrij-olegovich/page.tsx
+++ b/src/app/experts/kaminskij-dmitrij-olegovich/page.tsx
@@ -1,15 +1,15 @@
import { ExpertKaminskiy } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Каминский Дмитрий Олегович',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/kolodij-aleksandr-sergeevich/page.tsx b/src/app/experts/kolodij-aleksandr-sergeevich/page.tsx
index e4f2da1..c9f0852 100644
--- a/src/app/experts/kolodij-aleksandr-sergeevich/page.tsx
+++ b/src/app/experts/kolodij-aleksandr-sergeevich/page.tsx
@@ -1,15 +1,15 @@
import { ExpertKolodiy } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Колодий Александр Сергеевич',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/mikova-inna-georgievna/page.tsx b/src/app/experts/mikova-inna-georgievna/page.tsx
index 6ecccf5..b209915 100644
--- a/src/app/experts/mikova-inna-georgievna/page.tsx
+++ b/src/app/experts/mikova-inna-georgievna/page.tsx
@@ -1,15 +1,15 @@
import { ExpertMikova } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Микова Инна Георгиевна',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/mitjaev-aleksej-aleksandrovich/page.tsx b/src/app/experts/mitjaev-aleksej-aleksandrovich/page.tsx
index 795db2a..59651a3 100644
--- a/src/app/experts/mitjaev-aleksej-aleksandrovich/page.tsx
+++ b/src/app/experts/mitjaev-aleksej-aleksandrovich/page.tsx
@@ -1,15 +1,15 @@
import { ExpertMityaev } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Митяев Алексей Александрович',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/page.tsx b/src/app/experts/page.tsx
index 3570dd8..9d9c523 100644
--- a/src/app/experts/page.tsx
+++ b/src/app/experts/page.tsx
@@ -1,15 +1,15 @@
import { Experts } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперты',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/polinov-andrej-vladimirovich/page.tsx b/src/app/experts/polinov-andrej-vladimirovich/page.tsx
index 2d78913..89c8bf0 100644
--- a/src/app/experts/polinov-andrej-vladimirovich/page.tsx
+++ b/src/app/experts/polinov-andrej-vladimirovich/page.tsx
@@ -1,15 +1,15 @@
import { ExpertPolinov } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Полинов Андрей Владимирович',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/experts/volkova-goncharova-tatjana-anatolevna/page.tsx b/src/app/experts/volkova-goncharova-tatjana-anatolevna/page.tsx
index 1ceea7a..7000c89 100644
--- a/src/app/experts/volkova-goncharova-tatjana-anatolevna/page.tsx
+++ b/src/app/experts/volkova-goncharova-tatjana-anatolevna/page.tsx
@@ -1,15 +1,15 @@
import { ExpertVolkovaGoncharova } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Эксперт - Волкова-Гончарова Татьяна Анатольевна',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Оценщики и судебные эксперты в Сочи, ${CONTACTS.COMPANY_FULL}. Сертифицированы РОО. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}.`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/jurist/bankrotstvo-fizicheskih-lic/page.tsx b/src/app/jurist/bankrotstvo-fizicheskih-lic/page.tsx
index bd46006..d220ec0 100644
--- a/src/app/jurist/bankrotstvo-fizicheskih-lic/page.tsx
+++ b/src/app/jurist/bankrotstvo-fizicheskih-lic/page.tsx
@@ -1,12 +1,33 @@
import { JuristBankrotstvo } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Банкротство физических лиц | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Банкротство физических лиц',
+ description: `Банкротство физических лиц. Подготовка документов. Помощь в возникающих вопросах. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/bankrot.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/page.tsx b/src/app/jurist/page.tsx
index 914a02f..217f629 100644
--- a/src/app/jurist/page.tsx
+++ b/src/app/jurist/page.tsx
@@ -1,12 +1,33 @@
import { JuristCategory } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Юридические услуги | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Юридические услуги',
+ description: `Юридические услуги. Консультация. Подготовка искового заявления. Участие в суде. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/main.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function JuristPage() {
return ;
}
diff --git a/src/app/jurist/pomoshh-dolzhnikam/page.tsx b/src/app/jurist/pomoshh-dolzhnikam/page.tsx
index 5534267..053dadf 100644
--- a/src/app/jurist/pomoshh-dolzhnikam/page.tsx
+++ b/src/app/jurist/pomoshh-dolzhnikam/page.tsx
@@ -1,12 +1,33 @@
import { JuristDolzhnikam } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Помощь должникам | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Помощь должникам',
+ description: `Помощь должникам. Подготовка документов. Помощь в возникающих вопросах. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/pomosch-doljnikam.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/predstavitelstvo-v-sude/page.tsx b/src/app/jurist/predstavitelstvo-v-sude/page.tsx
index 4e03872..9346f7a 100644
--- a/src/app/jurist/predstavitelstvo-v-sude/page.tsx
+++ b/src/app/jurist/predstavitelstvo-v-sude/page.tsx
@@ -1,12 +1,33 @@
import { JuristPredstavitelstvo } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Представительство в суде | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Представительство в суде',
+ description: `Представительство в суде. Подготовка документов. Помощь в возникающих вопросах. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/predstavitelstvo.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/semejnye-i-nasledstvennye-spory/page.tsx b/src/app/jurist/semejnye-i-nasledstvennye-spory/page.tsx
index 362e560..9d86742 100644
--- a/src/app/jurist/semejnye-i-nasledstvennye-spory/page.tsx
+++ b/src/app/jurist/semejnye-i-nasledstvennye-spory/page.tsx
@@ -1,12 +1,33 @@
import { JuristSporSemya } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Семейные и наследственные споры | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Семейные и наследственные споры',
+ description: `Семейные и наследственные споры. Подготовка искового заявления. Ведение дела. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/spori-semeinye.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/soprovozhdenie-sdelok-sostavlenie-dogovorov-konsultaciya/page.tsx b/src/app/jurist/soprovozhdenie-sdelok-sostavlenie-dogovorov-konsultaciya/page.tsx
index 6e6e7de..1bda1b6 100644
--- a/src/app/jurist/soprovozhdenie-sdelok-sostavlenie-dogovorov-konsultaciya/page.tsx
+++ b/src/app/jurist/soprovozhdenie-sdelok-sostavlenie-dogovorov-konsultaciya/page.tsx
@@ -1,12 +1,33 @@
import { JuristSdelki } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Сопровождение сделок и составление договоров | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Сопровождение сделок и составление договоров',
+ description: `Сопровождение сделок и составление договоров. Подготовка документов. Помощь в возникающих вопросах. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/sdelki.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/spory-po-dtp/page.tsx b/src/app/jurist/spory-po-dtp/page.tsx
index 0502af6..779dfcb 100644
--- a/src/app/jurist/spory-po-dtp/page.tsx
+++ b/src/app/jurist/spory-po-dtp/page.tsx
@@ -1,12 +1,33 @@
import { JuristSporDTP } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Споры по ДТП | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Споры по ДТП',
+ description: `Споры по ДТП. Досудебная претензия. Подготовка искового заявления. Ведение дела. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/spory-dtp.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/strahovye-spory/page.tsx b/src/app/jurist/strahovye-spory/page.tsx
index ad35b1c..e9f6029 100644
--- a/src/app/jurist/strahovye-spory/page.tsx
+++ b/src/app/jurist/strahovye-spory/page.tsx
@@ -1,12 +1,33 @@
import { JuristSporStrahovka } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Страховые споры | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Страховые споры',
+ description: `Страховые споры. Досудебная претензия. Подготовка искового заявления. Ведение дела. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/spori-strah.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/trudovye-spory/page.tsx b/src/app/jurist/trudovye-spory/page.tsx
index bcb14e8..65f22aa 100644
--- a/src/app/jurist/trudovye-spory/page.tsx
+++ b/src/app/jurist/trudovye-spory/page.tsx
@@ -1,12 +1,33 @@
import { JuristSporTrud } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Трудовые споры | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Трудовые споры',
+ description: `Трудовые споры. Досудебная претензия. Подготовка искового заявления. Ведение дела. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/spori-trud.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/vozvrat-strahovki-i-komissij-bankov/page.tsx b/src/app/jurist/vozvrat-strahovki-i-komissij-bankov/page.tsx
index cbde0bb..d035aa4 100644
--- a/src/app/jurist/vozvrat-strahovki-i-komissij-bankov/page.tsx
+++ b/src/app/jurist/vozvrat-strahovki-i-komissij-bankov/page.tsx
@@ -1,12 +1,33 @@
import { JuristBanki } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Возврат страховки и комиссий банков | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Возврат страховки и комиссий банков',
+ description: `Возврат страховки и комиссий банков. Подготовка искового заявления. Ведение дела. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/vozvrat-strahovki.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/vzyskanie-dolgov-s-juridicheskih-lic/page.tsx b/src/app/jurist/vzyskanie-dolgov-s-juridicheskih-lic/page.tsx
index e8a1822..df69524 100644
--- a/src/app/jurist/vzyskanie-dolgov-s-juridicheskih-lic/page.tsx
+++ b/src/app/jurist/vzyskanie-dolgov-s-juridicheskih-lic/page.tsx
@@ -1,12 +1,33 @@
import { JuristBusinessDolgi } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Взыскание долгов с юридических лиц | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Взыскание долгов с юридических лиц',
+ description: `Взыскание долгов с юридических лиц. Подготовка искового заявления. Ведение дела. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/jurid-dolgi.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/jurist/zemelnye-i-imushhestvennye-spory/page.tsx b/src/app/jurist/zemelnye-i-imushhestvennye-spory/page.tsx
index cd10ae3..4bbd0b8 100644
--- a/src/app/jurist/zemelnye-i-imushhestvennye-spory/page.tsx
+++ b/src/app/jurist/zemelnye-i-imushhestvennye-spory/page.tsx
@@ -1,12 +1,33 @@
import { JuristSporZemelImush } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Земельные и имущественные споры | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Земельные и имущественные споры',
+ description: `Земельные и имущественные споры. Подготовка искового заявления. Ведение дела. Консультация - бесплатно! Тел.: ${phoneBeautify(CONTACTS.PHONE)}`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/justice/spori-zem-imushestv.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/avtomobilja-dlja-suda/page.tsx b/src/app/ocenka/avtomobilja-dlja-suda/page.tsx
index b210e2b..0c08a83 100644
--- a/src/app/ocenka/avtomobilja-dlja-suda/page.tsx
+++ b/src/app/ocenka/avtomobilja-dlja-suda/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaAutoSud } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка автомобиля для суда | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка автомобиля для суда',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/transport/auto-sud.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/cennyh-bumag/page.tsx b/src/app/ocenka/cennyh-bumag/page.tsx
index c89c66f..2469884 100644
--- a/src/app/ocenka/cennyh-bumag/page.tsx
+++ b/src/app/ocenka/cennyh-bumag/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaCennyhBumag } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка ценных бумаг | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка ценных бумаг',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/property/cenn-bumagi.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-banka-vtb/page.tsx b/src/app/ocenka/dlja-banka-vtb/page.tsx
index cf872c5..6cbd9e0 100644
--- a/src/app/ocenka/dlja-banka-vtb/page.tsx
+++ b/src/app/ocenka/dlja-banka-vtb/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaIpotekaVTB } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка для ипотеки в банке ВТБ | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка для ипотеки в банке ВТБ',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/ipoteka/vtb.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-banka/page.tsx b/src/app/ocenka/dlja-banka/page.tsx
index e0d558c..8d79899 100644
--- a/src/app/ocenka/dlja-banka/page.tsx
+++ b/src/app/ocenka/dlja-banka/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaDlyaBanka } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка для банка | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка для банка',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/bank.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-ipoteki/page.tsx b/src/app/ocenka/dlja-ipoteki/page.tsx
index 3142687..72e63ce 100644
--- a/src/app/ocenka/dlja-ipoteki/page.tsx
+++ b/src/app/ocenka/dlja-ipoteki/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaIpoteka } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка недвижимости для ипотеки | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка недвижимости для ипотеки',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/ipoteka.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-notariusa/page.tsx b/src/app/ocenka/dlja-notariusa/page.tsx
index c27ae90..075c94a 100644
--- a/src/app/ocenka/dlja-notariusa/page.tsx
+++ b/src/app/ocenka/dlja-notariusa/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaNotarius } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка для нотариуса | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка для нотариуса',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/notaruis.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-opeki/page.tsx b/src/app/ocenka/dlja-opeki/page.tsx
index a4fb219..d744a16 100644
--- a/src/app/ocenka/dlja-opeki/page.tsx
+++ b/src/app/ocenka/dlja-opeki/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaOpeka } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка для опеки | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка для опеки',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/opeka.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-opredelenija-stoimosti-ushherba/page.tsx b/src/app/ocenka/dlja-opredelenija-stoimosti-ushherba/page.tsx
index 30d5af8..3529e4b 100644
--- a/src/app/ocenka/dlja-opredelenija-stoimosti-ushherba/page.tsx
+++ b/src/app/ocenka/dlja-opredelenija-stoimosti-ushherba/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaUsherb } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка для определения стоимости ущерба | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка для определения стоимости ущерба',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/uscherb.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-sberbanka/page.tsx b/src/app/ocenka/dlja-sberbanka/page.tsx
index b8f7e34..1530e59 100644
--- a/src/app/ocenka/dlja-sberbanka/page.tsx
+++ b/src/app/ocenka/dlja-sberbanka/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaIpotekaSber } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка для ипотеки в Сбербанке | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка для ипотеки в Сбербанке',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/ipoteka/sber.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/dlja-strahovanija/page.tsx b/src/app/ocenka/dlja-strahovanija/page.tsx
index f98593e..eb9ef50 100644
--- a/src/app/ocenka/dlja-strahovanija/page.tsx
+++ b/src/app/ocenka/dlja-strahovanija/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaStrahovka } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка для страхования | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка для страхования',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/strahovka.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/garazha/page.tsx b/src/app/ocenka/garazha/page.tsx
index f19e34b..748f485 100644
--- a/src/app/ocenka/garazha/page.tsx
+++ b/src/app/ocenka/garazha/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaGarazh } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка гаража | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка гаража',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/residential/garazh.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/imushhestva-dlja-bankrotstva/page.tsx b/src/app/ocenka/imushhestva-dlja-bankrotstva/page.tsx
index 2829315..c3f0ebc 100644
--- a/src/app/ocenka/imushhestva-dlja-bankrotstva/page.tsx
+++ b/src/app/ocenka/imushhestva-dlja-bankrotstva/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaBankrot } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка имущества для банкротства | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка имущества для банкротства',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/bankrot.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/imushhestva-dlja-vnesenija-v-ustavnoj-kapital/page.tsx b/src/app/ocenka/imushhestva-dlja-vnesenija-v-ustavnoj-kapital/page.tsx
index 8c11f19..e03ecbb 100644
--- a/src/app/ocenka/imushhestva-dlja-vnesenija-v-ustavnoj-kapital/page.tsx
+++ b/src/app/ocenka/imushhestva-dlja-vnesenija-v-ustavnoj-kapital/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaUstavKapital } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка имущества для внесения в уставной капитал | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка имущества для внесения в уставной капитал',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/ustavnoi.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/imushhestva-dlja-vstuplenija-v-nasledstvo/page.tsx b/src/app/ocenka/imushhestva-dlja-vstuplenija-v-nasledstvo/page.tsx
index 9514db3..c30ec72 100644
--- a/src/app/ocenka/imushhestva-dlja-vstuplenija-v-nasledstvo/page.tsx
+++ b/src/app/ocenka/imushhestva-dlja-vstuplenija-v-nasledstvo/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaNasledstva } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка имущества для вступления в наследство | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка имущества для вступления в наследство',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/nasledstvo.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/jekspertiza-i-recenzirovanie-otcheta-ob-ocenke/page.tsx b/src/app/ocenka/jekspertiza-i-recenzirovanie-otcheta-ob-ocenke/page.tsx
index cc0bc09..f5de68d 100644
--- a/src/app/ocenka/jekspertiza-i-recenzirovanie-otcheta-ob-ocenke/page.tsx
+++ b/src/app/ocenka/jekspertiza-i-recenzirovanie-otcheta-ob-ocenke/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaRecenzia } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Экспертиза и рецензирование отчета об оценке | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Экспертиза и рецензирование отчета об оценке',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/property/recenzia.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/kvartiry/page.tsx b/src/app/ocenka/kvartiry/page.tsx
index 4e19c2c..aabe6fb 100644
--- a/src/app/ocenka/kvartiry/page.tsx
+++ b/src/app/ocenka/kvartiry/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaKvartiry } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка квартиры | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка квартиры',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/residential/kvartira.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/mashin-i-oborudovanija/page.tsx b/src/app/ocenka/mashin-i-oborudovanija/page.tsx
index 2b60bf0..d9b1e77 100644
--- a/src/app/ocenka/mashin-i-oborudovanija/page.tsx
+++ b/src/app/ocenka/mashin-i-oborudovanija/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaMashin } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка машин и оборудования | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка машин и оборудования',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/property/oborudov.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/morskih-i-rechnyh-sudov/page.tsx b/src/app/ocenka/morskih-i-rechnyh-sudov/page.tsx
index c6ac9cc..d60798b 100644
--- a/src/app/ocenka/morskih-i-rechnyh-sudov/page.tsx
+++ b/src/app/ocenka/morskih-i-rechnyh-sudov/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaPlavsredsvt } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка морских и речных судов | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка морских и речных судов',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/transport/sea-boats.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/motociklov-i-mototehniki/page.tsx b/src/app/ocenka/motociklov-i-mototehniki/page.tsx
index 6981261..7e7d048 100644
--- a/src/app/ocenka/motociklov-i-mototehniki/page.tsx
+++ b/src/app/ocenka/motociklov-i-mototehniki/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaMoto } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка мотоциклов и мототехники | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка мотоциклов и мототехники',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/transport/moto.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/nedvizhimosti-dlja-suda/page.tsx b/src/app/ocenka/nedvizhimosti-dlja-suda/page.tsx
index 703cf58..9011c65 100644
--- a/src/app/ocenka/nedvizhimosti-dlja-suda/page.tsx
+++ b/src/app/ocenka/nedvizhimosti-dlja-suda/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaNedvigaSud } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка недвижимости для суда | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка недвижимости для суда',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/nedvijimost-sud.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/nedvizhimosti/page.tsx b/src/app/ocenka/nedvizhimosti/page.tsx
index d8278e3..a0f735e 100644
--- a/src/app/ocenka/nedvizhimosti/page.tsx
+++ b/src/app/ocenka/nedvizhimosti/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaNedviga } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка недвижимости | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка недвижимости',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/property/nedviga.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/nematerialnyh-aktivov/page.tsx b/src/app/ocenka/nematerialnyh-aktivov/page.tsx
index 90ddf25..fd105e8 100644
--- a/src/app/ocenka/nematerialnyh-aktivov/page.tsx
+++ b/src/app/ocenka/nematerialnyh-aktivov/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaAktivov } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка нематериальных активов | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка нематериальных активов',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/property/nmt.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/nezavershennogo-stroitelstva/page.tsx b/src/app/ocenka/nezavershennogo-stroitelstva/page.tsx
index f5b436a..d6f4d6b 100644
--- a/src/app/ocenka/nezavershennogo-stroitelstva/page.tsx
+++ b/src/app/ocenka/nezavershennogo-stroitelstva/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaNezavStroit } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка незавершенного строительства | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка незавершенного строительства',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/commerce/nezavers.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/nezavisimaja/page.tsx b/src/app/ocenka/nezavisimaja/page.tsx
index 0d243f0..f57df04 100644
--- a/src/app/ocenka/nezavisimaja/page.tsx
+++ b/src/app/ocenka/nezavisimaja/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaNezavisim } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Независимая оценка | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Независимая оценка',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/nezavisim.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/nezhilogo-pomeshhenija/page.tsx b/src/app/ocenka/nezhilogo-pomeshhenija/page.tsx
index a195c79..44ef1f1 100644
--- a/src/app/ocenka/nezhilogo-pomeshhenija/page.tsx
+++ b/src/app/ocenka/nezhilogo-pomeshhenija/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaNezhilogo } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка нежилого помещения | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка нежилого помещения',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/commerce/commerce.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/ocenka-imushhestva-pri-razvode/page.tsx b/src/app/ocenka/ocenka-imushhestva-pri-razvode/page.tsx
index 6710f69..139d26e 100644
--- a/src/app/ocenka/ocenka-imushhestva-pri-razvode/page.tsx
+++ b/src/app/ocenka/ocenka-imushhestva-pri-razvode/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaRazvod } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка имущества при разводе | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка имущества при разводе',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/situation/razvod.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/ofisa/page.tsx b/src/app/ocenka/ofisa/page.tsx
index e4eaee1..7e86912 100644
--- a/src/app/ocenka/ofisa/page.tsx
+++ b/src/app/ocenka/ofisa/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaOffice } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка офиса | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка офиса',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/commerce/office.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/page.tsx b/src/app/ocenka/page.tsx
index c783653..0a3685b 100644
--- a/src/app/ocenka/page.tsx
+++ b/src/app/ocenka/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaCategory } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Услуги оценки | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Услуги оценки',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/main.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function OcenkaPage() {
return ;
}
diff --git a/src/app/ocenka/rynochnoj-stoimosti-avtomobilja/page.tsx b/src/app/ocenka/rynochnoj-stoimosti-avtomobilja/page.tsx
index e7ce218..9df750a 100644
--- a/src/app/ocenka/rynochnoj-stoimosti-avtomobilja/page.tsx
+++ b/src/app/ocenka/rynochnoj-stoimosti-avtomobilja/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaAutoRynok } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка рыночной стоимости автомобиля | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка рыночной стоимости автомобиля',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/transport/auto-rynok.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/sooruzhenij/page.tsx b/src/app/ocenka/sooruzhenij/page.tsx
index ee18eca..673bc0c 100644
--- a/src/app/ocenka/sooruzhenij/page.tsx
+++ b/src/app/ocenka/sooruzhenij/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaSooruzheniy } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка сооружений | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка сооружений',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/commerce/building.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/spectehniki/page.tsx b/src/app/ocenka/spectehniki/page.tsx
index ea4be60..b909cb3 100644
--- a/src/app/ocenka/spectehniki/page.tsx
+++ b/src/app/ocenka/spectehniki/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaSpecTech } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка спецтехники | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка спецтехники',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/property/spec-tehnika.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/stoimosti-arendnoj-stavki/page.tsx b/src/app/ocenka/stoimosti-arendnoj-stavki/page.tsx
index ab4da50..758bf0b 100644
--- a/src/app/ocenka/stoimosti-arendnoj-stavki/page.tsx
+++ b/src/app/ocenka/stoimosti-arendnoj-stavki/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaArenda } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка стоимости арендной ставки | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка стоимости арендной ставки',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/commerce/arenda.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/stoimosti-predprijatija-biznesa/page.tsx b/src/app/ocenka/stoimosti-predprijatija-biznesa/page.tsx
index 54ce97d..e743550 100644
--- a/src/app/ocenka/stoimosti-predprijatija-biznesa/page.tsx
+++ b/src/app/ocenka/stoimosti-predprijatija-biznesa/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaBusiness } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка стоимости предприятия (бизнеса) | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка стоимости предприятия (бизнеса)',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/property/business.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/ushherba-nedvizhimosti/page.tsx b/src/app/ocenka/ushherba-nedvizhimosti/page.tsx
index c9aca87..cd72254 100644
--- a/src/app/ocenka/ushherba-nedvizhimosti/page.tsx
+++ b/src/app/ocenka/ushherba-nedvizhimosti/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaUsherbNedvigi } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка ущерба недвижимости | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка ущерба недвижимости',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/residential/uscherb.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/ushherba-ot-pozhara/page.tsx b/src/app/ocenka/ushherba-ot-pozhara/page.tsx
index 967c253..81e20de 100644
--- a/src/app/ocenka/ushherba-ot-pozhara/page.tsx
+++ b/src/app/ocenka/ushherba-ot-pozhara/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaPozhar } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка ущерба от пожара | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка ущерба от пожара',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/residential/pojar.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/ushherba-ot-zaliva/page.tsx b/src/app/ocenka/ushherba-ot-zaliva/page.tsx
index fdcb996..f6cd562 100644
--- a/src/app/ocenka/ushherba-ot-zaliva/page.tsx
+++ b/src/app/ocenka/ushherba-ot-zaliva/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaZatoplenie } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка ущерба от залива | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка ущерба от залива',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/residential/zaliv.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/ushherba-v-dtp/page.tsx b/src/app/ocenka/ushherba-v-dtp/page.tsx
index 1ae3fb7..6f27a44 100644
--- a/src/app/ocenka/ushherba-v-dtp/page.tsx
+++ b/src/app/ocenka/ushherba-v-dtp/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaDTP } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка ущерба в ДТП | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка ущерба в ДТП',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/transport/dtp.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/uts-utraty-tovarnoj-stoimosti-avtomobilja/page.tsx b/src/app/ocenka/uts-utraty-tovarnoj-stoimosti-avtomobilja/page.tsx
index e03a6bd..c067b73 100644
--- a/src/app/ocenka/uts-utraty-tovarnoj-stoimosti-avtomobilja/page.tsx
+++ b/src/app/ocenka/uts-utraty-tovarnoj-stoimosti-avtomobilja/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaUTS } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка УТС – Утраты товарной стоимости автомобиля | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка УТС – Утраты товарной стоимости автомобиля',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/transport/uts.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/vozdushnyh-sudov-i-letatelnyh-apparatov/page.tsx b/src/app/ocenka/vozdushnyh-sudov-i-letatelnyh-apparatov/page.tsx
index 3210ebb..0d0ead1 100644
--- a/src/app/ocenka/vozdushnyh-sudov-i-letatelnyh-apparatov/page.tsx
+++ b/src/app/ocenka/vozdushnyh-sudov-i-letatelnyh-apparatov/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaVozdushSudna } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка воздушных судов и летательных аппаратов | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка воздушных судов и летательных аппаратов',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/transport/avia.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/zdanija/page.tsx b/src/app/ocenka/zdanija/page.tsx
index 9ed5885..969187f 100644
--- a/src/app/ocenka/zdanija/page.tsx
+++ b/src/app/ocenka/zdanija/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaZdaniya } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка здания | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка здания',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/commerce/zdanie.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/zemel/page.tsx b/src/app/ocenka/zemel/page.tsx
index 630e743..a39b7b9 100644
--- a/src/app/ocenka/zemel/page.tsx
+++ b/src/app/ocenka/zemel/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaZememel } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка земель | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка земель',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/commerce/zemlya.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/zemelnogo-uchastka/page.tsx b/src/app/ocenka/zemelnogo-uchastka/page.tsx
index b66d1c4..b650b2f 100644
--- a/src/app/ocenka/zemelnogo-uchastka/page.tsx
+++ b/src/app/ocenka/zemelnogo-uchastka/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaUchastok } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка земельного участка | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка земельного участка',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/residential/uchastok.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/ocenka/zhilogo-doma/page.tsx b/src/app/ocenka/zhilogo-doma/page.tsx
index fdca173..d095c0a 100644
--- a/src/app/ocenka/zhilogo-doma/page.tsx
+++ b/src/app/ocenka/zhilogo-doma/page.tsx
@@ -1,12 +1,33 @@
import { OcenkaDom } from '@/views';
import type { Metadata } from 'next';
+import { headers } from 'next/headers';
+import { metaInfo, phoneBeautify } from '@shared/lib';
+import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
-export const metadata: Metadata = {
- title: 'Оценка жилого дома | Компания ДИТРАСО',
- description:
- 'Услуги независимой оценки и судебной экспертизы в Сочи и Краснодаре. Тел. +7 (900) 241-34-34',
+const metainfo: TMetainfo = {
+ title: 'Оценка жилого дома',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
+ ogImageUrl: '/images/opengraph/ocenka/residential/cottage.png',
};
+export async function generateMetadata(): Promise {
+ const h = await headers();
+ const referer = h.get('referer') ?? '';
+ const host = h.get('host') ?? '';
+ const proto = h.get('x-forwarded-proto') ?? '';
+ const path = referer ? new URL(referer).pathname : '';
+
+ const metainfoExtended = Object.assign({}, metainfo, {
+ host: `${proto}://${host}`,
+ path: path,
+ });
+
+ return metaInfo(metainfoExtended);
+}
+
export default function Page() {
return ;
}
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 3bd60f1..e2af592 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,15 +1,15 @@
import { Home } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Независимая оценка и судебная экспертиза',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/app/privacy-policy/page.tsx b/src/app/privacy-policy/page.tsx
index 060bff5..56d33ae 100644
--- a/src/app/privacy-policy/page.tsx
+++ b/src/app/privacy-policy/page.tsx
@@ -1,15 +1,15 @@
import { PrivacyPolicy } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Политика конфиденциальности',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/public/robots.txt b/src/app/robots.txt
similarity index 86%
rename from public/robots.txt
rename to src/app/robots.txt
index 75abe0e..ba7f399 100644
--- a/public/robots.txt
+++ b/src/app/robots.txt
@@ -1,6 +1,6 @@
User-agent: *
Disallow: /api/
-Disallow: /cookie/
+Disallow: /cookies/
Disallow: /privacy-policy/
Disallow: /user-agreement/
Sitemap: https://ocenka-sochi.ru/sitemap.xml
\ No newline at end of file
diff --git a/src/app/sitemap.xml b/src/app/sitemap.xml
new file mode 100644
index 0000000..0b8c846
--- /dev/null
+++ b/src/app/sitemap.xml
@@ -0,0 +1,430 @@
+
+
+
+
+ https://ocenka-sochi.ru/
+ 2025-12-12T08:08:10+00:00
+ 1.00
+
+
+ https://ocenka-sochi.ru/ekspertiza
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/avtotehnicheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/trasologicheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/pozharno-tehnicheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/tovarovedcheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/recenzirovanie
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/dokumentov
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/buhgalterskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/finansovo-jekonomicheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/zemle-ustroitelnaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/kadastrovaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/stroitelno-tehnicheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/kompjuterno-tehnicheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/pocherkovedcheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/tehniko-kriminalisticheskaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/nezavisimaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-opeki
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-notariusa
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/imushhestva-dlja-vstuplenija-v-nasledstvo
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-strahovanija
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-opredelenija-stoimosti-ushherba
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/ocenka-imushhestva-pri-razvode
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/nedvizhimosti-dlja-suda
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/imushhestva-dlja-vnesenija-v-ustavnoj-kapital
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-ipoteki
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-banka
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/imushhestva-dlja-bankrotstva
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/kvartiry
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/zhilogo-doma
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/zemelnogo-uchastka
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/garazha
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/ushherba-nedvizhimosti
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/ushherba-ot-zaliva
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/ushherba-ot-pozhara
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/stoimosti-arendnoj-stavki
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/zdanija
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/zemel
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/nezhilogo-pomeshhenija
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/ofisa
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/sooruzhenij
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/nezavershennogo-stroitelstva
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/nedvizhimosti
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/mashin-i-oborudovanija
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/spectehniki
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/nematerialnyh-aktivov
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/stoimosti-predprijatija-biznesa
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/cennyh-bumag
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/jekspertiza-i-recenzirovanie-otcheta-ob-ocenke
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-sberbanka
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/dlja-banka-vtb
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/ushherba-v-dtp
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/uts-utraty-tovarnoj-stoimosti-avtomobilja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/rynochnoj-stoimosti-avtomobilja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/avtomobilja-dlja-suda
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/motociklov-i-mototehniki
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/morskih-i-rechnyh-sudov
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ocenka/vozdushnyh-sudov-i-letatelnyh-apparatov
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/strahovye-spory
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/zemelnye-i-imushhestvennye-spory
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/semejnye-i-nasledstvennye-spory
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/trudovye-spory
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/spory-po-dtp
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/soprovozhdenie-sdelok-sostavlenie-dogovorov-konsultaciya
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/predstavitelstvo-v-sude
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/bankrotstvo-fizicheskih-lic
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/vzyskanie-dolgov-s-juridicheskih-lic
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/pomoshh-dolzhnikam
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/jurist/vozvrat-strahovki-i-komissij-bankov
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/experts
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/contacts
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/ekspertiza/ocenochnaja
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/privacy-policy
+ 2025-12-12T08:08:10+00:00
+ 0.80
+
+
+ https://ocenka-sochi.ru/experts/jancen-jana-nikolaevna
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/kaminskij-dmitrij-olegovich
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/kolodij-aleksandr-sergeevich
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/mikova-inna-georgievna
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/polinov-andrej-vladimirovich
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/mitjaev-aleksej-aleksandrovich
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/borodin-vitalij-petrovich
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/volkova-goncharova-tatjana-anatolevna
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+ https://ocenka-sochi.ru/experts/gjulmamedov-javar-firmamed-ogly
+ 2025-12-12T08:08:10+00:00
+ 0.64
+
+
+
+
\ No newline at end of file
diff --git a/src/app/user-agreement/page.tsx b/src/app/user-agreement/page.tsx
index 25d6dea..9074813 100644
--- a/src/app/user-agreement/page.tsx
+++ b/src/app/user-agreement/page.tsx
@@ -1,15 +1,15 @@
import { UserAgreement } from '@/views';
import type { Metadata } from 'next';
-import { metaInfo } from '@shared/lib';
+import { metaInfo, phoneBeautify } from '@shared/lib';
import { headers } from 'next/headers';
import { TMetainfo } from '@shared/types/metainfo';
+import { CONTACTS } from '@shared/const/contacts';
const metainfo: TMetainfo = {
title: 'Согласие на обработку персональных данных',
- description:
- 'Услуги оценки имущества и проведение судебных экспертиз Тел.: +7 (900) 241-34-34. Предварительный анализ - бесплатно!',
- companyName: 'Компания ДИТРАСО',
- phone: '+7 (900) 241-34-34',
+ description: `Услуги оценки имущества и проведение судебных экспертиз Тел.: ${phoneBeautify(CONTACTS.PHONE)}. Предварительный анализ - бесплатно!`,
+ companyName: CONTACTS.COMPANY_FULL,
+ phone: phoneBeautify(CONTACTS.PHONE),
ogImageUrl: '/images/opengraph/main.png',
};
diff --git a/src/shared/const/contacts.ts b/src/shared/const/contacts.ts
index 9f3c404..94c40dd 100644
--- a/src/shared/const/contacts.ts
+++ b/src/shared/const/contacts.ts
@@ -1,5 +1,6 @@
export const CONTACTS = {
COMPANY: '«ООО ДИТРАСО»',
+ COMPANY_FULL: 'Компания «ДИТРАСО»',
WEB: 'ocenka-sochi.ru',
PHONE: '+79002413434',
EMAIL: 'spo-71@yandex.ru',
diff --git a/src/shared/lib/metaInfo/metaInfo.ts b/src/shared/lib/metaInfo/metaInfo.ts
index 458cd9f..bbae17f 100644
--- a/src/shared/lib/metaInfo/metaInfo.ts
+++ b/src/shared/lib/metaInfo/metaInfo.ts
@@ -31,14 +31,14 @@ function metaInfo({ ...props }: TMetaInfo): Metadata {
return {
title: `${title} | ${companyName}`,
- description: `${description} ${phone}`,
+ description: description,
openGraph: {
title: title,
description: description,
url: `${host}${path}`,
images: [
{
- url: `${host}/${ogImageUrl}`,
+ url: `${host}${ogImageUrl}`,
width: width,
height: height,
alt: `${title} - ${companyName}`,
@@ -51,11 +51,11 @@ function metaInfo({ ...props }: TMetaInfo): Metadata {
twitter: {
card: 'summary_large_image',
title: `${title} - ${companyName}`,
- description: `${description} ${phone}`,
+ description: description,
creator: creator,
images: [
{
- url: `${host}/${ogImageUrl}`,
+ url: `${host}${ogImageUrl}`,
width: width,
height: height,
alt: `${title} - ${companyName}`,
diff --git a/src/views/ocenka/category/model/links.ts b/src/views/ocenka/category/model/links.ts
index 22d54c8..581525b 100644
--- a/src/views/ocenka/category/model/links.ts
+++ b/src/views/ocenka/category/model/links.ts
@@ -37,7 +37,10 @@ export const linksData = [
{ name: 'Оценка жилого дома', link: ROUTES.OCENKA_DOM },
{ name: 'Оценка земельного участка', link: ROUTES.OCENKA_UCHASTOK },
{ name: 'Оценка гаража', link: ROUTES.OCENKA_GARAZH },
- { name: 'Оценка ущерба недвижимости', link: ROUTES.OCENKA_NEDVIGA },
+ {
+ name: 'Оценка ущерба недвижимости',
+ link: ROUTES.OCENKA_USCHERB_NEDVIGI,
+ },
{ name: 'Оценка ущерба от залива', link: ROUTES.OCENKA_ZATOPLENIE },
{ name: 'Оценка ущерба от пожара', link: ROUTES.OCENKA_POZHAR },
],