fix
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
// app/[locale]/about/page.tsx
|
||||
export const revalidate = 0;
|
||||
import { partner_api } from '@/features/about/lib/api';
|
||||
import { AboutContent } from '@/features/about/ui/AboutContent';
|
||||
import { AboutHero } from '@/features/about/ui/AboutHero';
|
||||
import { PartnershipForm } from '@/features/about/ui/AboutPage';
|
||||
import { BASE_URL } from '@/shared/config/api/URLs';
|
||||
import { Metadata } from 'next';
|
||||
import AboutSEO from './AboutSEO';
|
||||
|
||||
export const revalidate = 0;
|
||||
|
||||
function getImageUrl(image?: string | null): string {
|
||||
if (!image) return '/placeholder.svg';
|
||||
@@ -40,8 +38,8 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
|
||||
: banner.description_en;
|
||||
|
||||
return {
|
||||
title: title || 'Gastro Market',
|
||||
description: description || 'Gastro Market mahsulotlarini kashf eting',
|
||||
title: title,
|
||||
description: description,
|
||||
openGraph: {
|
||||
title,
|
||||
description,
|
||||
@@ -74,7 +72,6 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
|
||||
const AboutPage = async () => {
|
||||
return (
|
||||
<div className="custom-container">
|
||||
<AboutSEO /> {/* Client-side SEO */}
|
||||
<AboutHero />
|
||||
<AboutContent />
|
||||
<PartnershipForm />
|
||||
|
||||
Reference in New Issue
Block a user