chore: clean up scratch files and apply remaining updates

This commit is contained in:
AyrisAI
2026-07-13 14:17:57 +03:00
parent 9866413511
commit 53cbee0841
28 changed files with 986 additions and 284 deletions
+20 -5
View File
@@ -2,12 +2,27 @@ import { mockDb } from '@/lib/mockDb'
import { Link } from '@/i18n/routing'
import { getTranslations } from 'next-intl/server'
import { Calendar, Tag } from 'lucide-react'
import type { Metadata } from 'next'
import { basicMetadata } from '@/lib/seo'
export async function generateMetadata() {
return {
title: 'Marmaris Local Blog — Yerel Lezzet ve Gezi Rehberi',
description: 'Marmaris\'i bir yerel gibi keşfetmeniz için rehberler, nerede ne yenir tavsiyeleri ve gizli yerler.'
}
export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }): Promise<Metadata> {
const { locale } = await params
const title =
locale === 'en'
? 'Marmaris Local Blog — Local Food & Travel Guides'
: locale === 'ru'
? 'Блог Marmaris Local — Гид по еде и путешествиям'
: 'Marmaris Local Blog — Yerel Lezzet ve Gezi Rehberi'
const description =
locale === 'en'
? 'Guides to explore Marmaris like a local — where to eat, hidden spots and travel tips.'
: locale === 'ru'
? 'Гиды, чтобы открыть Мармарис как местный житель — где поесть, скрытые места и советы путешественникам.'
: "Marmaris'i bir yerel gibi keşfetmeniz için rehberler, nerede ne yenir tavsiyeleri ve gizli yerler."
return basicMetadata(title, description)
}
export default async function BlogIndexPage({ params }: { params: Promise<{ locale: string }> }) {