Sms Rehber eklemesi,Mobil uyumluluk ayarları,iletişim sayfası düzenlemeler vb.

This commit is contained in:
2026-01-30 00:09:16 +03:00
parent 5fdb7592e7
commit d320787df6
20 changed files with 800 additions and 101 deletions

View File

@@ -2,6 +2,7 @@
import { createClient } from "@/lib/supabase-server"
import { Card, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"
import { Button } from "@/components/ui/button"
import Link from "next/link"
import Image from "next/image"
@@ -57,14 +58,20 @@ export default async function ProductsPage() {
<div className="w-full">
<div className="flex justify-between items-center w-full">
<span className="text-xs font-medium text-slate-500 uppercase tracking-wider">{product.category}</span>
<span className="font-bold text-lg text-primary">{product.price}</span>
{product.product_code && (
<span className="text-xs font-semibold text-slate-400">#{product.product_code}</span>
)}
</div>
<CardTitle className="text-lg mt-1">{product.name}</CardTitle>
</div>
</div>
</CardHeader>
<CardFooter className="p-4 pt-0">
<Button className="w-full" variant="outline">Detayları İncele</Button>
<Button className="w-full" variant="outline" asChild>
<Link href={`/products/${product.id}`}>
Detayları İncele
</Link>
</Button>
</CardFooter>
</Card>
))