update: transfe metadata

This commit is contained in:
khadiatullo 2025-05-03 16:13:26 +03:00
parent dd07b4c099
commit 79e354278c
8 changed files with 23 additions and 23 deletions

View File

@ -4,6 +4,11 @@ import { mainPageApi } from '@/features/pages/api/pages.api';
import { makeStore } from '@/shared/store'; import { makeStore } from '@/shared/store';
export const metadata = {
title: "О нас | GasNetwork - Сеть заправок в Таджикистане",
description: "Узнайте больше о нашей компании, истории и ценностях. Качественное топливо и отличный сервис.",
};
export default async function About() { export default async function About() {
const store = makeStore(); const store = makeStore();

View File

@ -4,6 +4,12 @@ import { mainPageApi } from '@/features/pages/api/pages.api';
import { makeStore } from '@/shared/store'; import { makeStore } from '@/shared/store';
export const metadata = {
title: 'Благотворительность | Ориё - Сеть заправок в Таджикистане',
description:
'Благотворительные проекты и инициативы Ориё. Мы помогаем обществу и заботимся о будущем.',
};
export default async function Charity() { export default async function Charity() {
const store = makeStore(); const store = makeStore();

View File

@ -1,5 +1,11 @@
import { LoyaltyPage } from '@/pages-templates/clients/loyalty'; import { LoyaltyPage } from '@/pages-templates/clients/loyalty';
export const metadata = {
title: 'Программа лояльности | Ориё - Сеть заправок в Таджикистане',
description:
'Программа лояльности Ориё: накапливайте баллы и получайте скидки на топливо и услуги.',
};
export default function Loyalty() { export default function Loyalty() {
return <LoyaltyPage />; return <LoyaltyPage />;
} }

View File

@ -1,5 +1,11 @@
import { ClientsPage } from "@/pages-templates/clients" import { ClientsPage } from "@/pages-templates/clients"
export const metadata = {
title: 'Клиентам | Ориё - Сеть заправок в Таджикистане',
description:
'Информация для клиентов: программа лояльности, топливные карты, сертификаты и способы оплаты.',
};
export default function Clients() { export default function Clients() {
return <ClientsPage />; return <ClientsPage />;
} }

View File

@ -16,11 +16,6 @@ import { CompanyTimeline } from '@/widgets/about-page/company-timeline';
import { StationGallery } from '@/widgets/about-page/station-gallery'; import { StationGallery } from '@/widgets/about-page/station-gallery';
import { CtaSection } from '@/widgets/cta-section'; import { CtaSection } from '@/widgets/cta-section';
export const metadata = {
title: 'about.metadata.title',
description: 'about.metadata.description',
};
export interface AboutPageProps { export interface AboutPageProps {
content: AboutUsPageData; content: AboutUsPageData;
} }

View File

@ -23,12 +23,6 @@ import {
import { CtaSection } from '@/widgets/cta-section'; import { CtaSection } from '@/widgets/cta-section';
export const metadata = {
title: 'Благотворительность | Ориё - Сеть заправок в Таджикистане',
description:
'Благотворительные проекты и инициативы Ориё. Мы помогаем обществу и заботимся о будущем.',
};
export interface CharityPageProps { export interface CharityPageProps {
content: CharityPageData; content: CharityPageData;
} }

View File

@ -9,12 +9,6 @@ import { BenefitsSection } from '@/widgets/clients/ui/benefits-section';
import { ServicesOverviewSection } from '@/widgets/clients/ui/services-overview-section'; import { ServicesOverviewSection } from '@/widgets/clients/ui/services-overview-section';
import { CtaSection } from '@/widgets/cta-section'; import { CtaSection } from '@/widgets/cta-section';
export const metadata = {
title: 'Клиентам | Ориё - Сеть заправок в Таджикистане',
description:
'Информация для клиентов: программа лояльности, топливные карты, сертификаты и способы оплаты.',
};
export function ClientsPage() { export function ClientsPage() {
const { t } = useTextController(); const { t } = useTextController();

View File

@ -11,12 +11,6 @@ import { CtaSection } from '@/widgets/cta-section';
import ProgrammImg from '../../../../public/clients/loyatly/03a771e7-5d76-4111-a516-801aa925659f.jpg'; import ProgrammImg from '../../../../public/clients/loyatly/03a771e7-5d76-4111-a516-801aa925659f.jpg';
export const metadata = {
title: 'Программа лояльности | Ориё - Сеть заправок в Таджикистане',
description:
'Программа лояльности Ориё: накапливайте баллы и получайте скидки на топливо и услуги.',
};
export function LoyaltyPage() { export function LoyaltyPage() {
const { t } = useTextController(); const { t } = useTextController();