feat: Implement Phase 2 features including blog, collections, saved listings, manifest, and api cron sync

This commit is contained in:
AyrisAI
2026-07-12 20:49:41 +03:00
parent 862544b5a1
commit f696d359b0
29 changed files with 3066 additions and 194 deletions
+25
View File
@@ -0,0 +1,25 @@
import { Suspense } from 'react'
import { mockDb } from '@/lib/mockDb'
import SavedClient from './SavedClient'
export async function generateMetadata() {
return {
title: 'Kaydedilen Yerler — Marmaris Local',
description: 'Marmaris rehberinde kaydettiğiniz ve beğendiğiniz tüm yerel adresler.'
}
}
export default async function SavedPage({ params }: { params: Promise<{ locale: string }> }) {
const { locale } = await params
const allListings = await mockDb.getListings()
return (
<div className="bg-stone min-h-screen py-10 px-4 sm:px-6 lg:px-8 font-sans">
<div className="max-w-5xl mx-auto">
<Suspense fallback={<div className="text-xs font-mono py-12 text-center text-shutter">yükleniyor...</div>}>
<SavedClient allListings={allListings} locale={locale} />
</Suspense>
</div>
</div>
)
}