- Bu sunumda ilan bulunmuyor. -
+Bu sunumda ilan bulunmuyor.
+diff --git a/src/app/sunum/[token]/page.tsx b/src/app/sunum/[token]/page.tsx index 9cb4108..f99ebdf 100644 --- a/src/app/sunum/[token]/page.tsx +++ b/src/app/sunum/[token]/page.tsx @@ -1,5 +1,6 @@ import { notFound } from "next/navigation"; import { Query } from "node-appwrite"; +import { Building2, MapPin, Home } from "lucide-react"; import { DATABASE_ID, TABLES, type Presentation, type Property } from "@/lib/appwrite/schema"; import { createAdminClient } from "@/lib/appwrite/server"; @@ -31,16 +32,18 @@ export default async function SunumPage({ params }: Props) { if (presentation.expiresAt && new Date(presentation.expiresAt) < new Date()) { return ( -
Bu sunum artık geçerli değil.
+Bu sunum bağlantısı artık geçerli değil.
{presentation.notes}
- )} -{properties.length} ilan
++ {presentation.notes} +
+ )} +- Bu sunumda ilan bulunmuyor. -
+Bu sunumda ilan bulunmuyor.
+- {[p.neighborhood, p.district, p.city].filter(Boolean).join(", ")} -
- -- {p.price.toLocaleString("tr-TR")} {p.currency ?? "TRY"} -
+ {/* Price — pushed to bottom */} ++ {p.price.toLocaleString("tr-TR")} + {p.currency ?? "TRY"} +
+{p.description}
+{p.description}
)} {p.mapLat != null && p.mapLng != null && ( @@ -150,9 +207,10 @@ function PropertyCard({ property: p }: { property: Property }) { href={`https://www.google.com/maps?q=${p.mapLat},${p.mapLng}`} target="_blank" rel="noopener noreferrer" - className="inline-flex items-center gap-1 text-xs text-blue-600 hover:underline" + className="mt-1 inline-flex items-center gap-1.5 text-xs font-medium text-blue-600 hover:text-blue-700 transition-colors" > - 📍 Haritada gör +