fix(paket): girişsiz ziyaretçide boş sayfa — kart gövdesi statik kabukta, yalnız CTA dinamik
Kök neden: React Flight ~3,2 KB'ı aşan dinamik parçayı ayrı satırlara bölüyor; PPR resume bunlara verdiği segment kimliğini kabukta geç tamamlanan sınırın (kök loading.tsx) kimliğiyle çakıştırıyor (S:3 iki kez) → HierarchyRequestError. Lokal prod build'de yeniden üretildi, düzeltmeden sonra 5/5 temiz. Girişsiz CTA metni: "ilk 3 tercihini ücretsiz gör" (sayılar sabitlerden). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -4,10 +4,7 @@ import type { Metadata } from "next";
|
||||
import { SectionEyebrow } from "@/components/pixel-decor";
|
||||
import { Parallax } from "@/components/parallax";
|
||||
import { SiteFooter } from "@/components/site-footer";
|
||||
import {
|
||||
PaketSatinAl,
|
||||
PaketSatinAlSkeleton,
|
||||
} from "@/features/odeme/components/paket-satinal";
|
||||
import { PaketSatinAl } from "@/features/odeme/components/paket-satinal";
|
||||
import { sayfaMetadata } from "@/lib/seo";
|
||||
|
||||
export const metadata: Metadata = sayfaMetadata({
|
||||
@@ -57,9 +54,9 @@ export default function PaketPage({
|
||||
</p>
|
||||
</Parallax>
|
||||
|
||||
<Suspense fallback={<PaketSatinAlSkeleton />}>
|
||||
<PaketSatinAl />
|
||||
</Suspense>
|
||||
{/* Kart gövdesi statik kabukta; yalnız CTA alanları içeride kendi
|
||||
Suspense sınırlarıyla istek anında gelir (bkz. paket-satinal.tsx). */}
|
||||
<PaketSatinAl />
|
||||
|
||||
<p className="mt-10 text-center text-xs leading-relaxed text-slate-500">
|
||||
KolayTercih bir karar destek aracıdır; öneriler resmî YÖK Atlas
|
||||
|
||||
Reference in New Issue
Block a user