chore: clean up scratch files and apply remaining updates
This commit is contained in:
@@ -1,11 +1,33 @@
|
||||
import { getTranslations, setRequestLocale } from 'next-intl/server'
|
||||
import { Link } from '@/i18n/routing'
|
||||
import { CheckCircle, ShieldAlert, Award, Star } from 'lucide-react'
|
||||
import type { Metadata } from 'next'
|
||||
import { basicMetadata } from '@/lib/seo'
|
||||
|
||||
interface AboutPageProps {
|
||||
params: Promise<{ locale: string }>
|
||||
}
|
||||
|
||||
export async function generateMetadata({ params }: AboutPageProps): Promise<Metadata> {
|
||||
const { locale } = await params
|
||||
|
||||
const title =
|
||||
locale === 'en'
|
||||
? 'About Us — Marmaris Local'
|
||||
: locale === 'ru'
|
||||
? 'О нас — Marmaris Local'
|
||||
: 'Hakkımızda — Marmaris Local'
|
||||
|
||||
const description =
|
||||
locale === 'en'
|
||||
? 'Learn what the Marmaris Local approval seal means and how we curate the guide.'
|
||||
: locale === 'ru'
|
||||
? 'Узнайте, что означает знак одобрения Marmaris Local и как мы составляем гид.'
|
||||
: "Marmaris Local yerel onay mührünün ne anlama geldiğini ve rehberi nasıl kürasyonladığımızı öğrenin."
|
||||
|
||||
return basicMetadata(title, description)
|
||||
}
|
||||
|
||||
export default async function AboutPage({ params }: AboutPageProps) {
|
||||
const { locale } = await params
|
||||
setRequestLocale(locale)
|
||||
|
||||
Reference in New Issue
Block a user