v1-beta-tema #9
@@ -58,11 +58,9 @@ import {
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import {
|
import {
|
||||||
JsonLd,
|
JsonLd,
|
||||||
KATALOG_VERI_TARIHI,
|
|
||||||
faqPageJsonLd,
|
faqPageJsonLd,
|
||||||
softwareApplicationJsonLd,
|
softwareApplicationJsonLd,
|
||||||
} from "@/lib/seo";
|
} from "@/lib/seo";
|
||||||
import { KATALOG_TARIH_METNI } from "@/features/katalog/components/veri-kaynagi";
|
|
||||||
import { SiteFooter } from "@/components/site-footer";
|
import { SiteFooter } from "@/components/site-footer";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
@@ -257,27 +255,6 @@ export default function Home() {
|
|||||||
>
|
>
|
||||||
<HeroForm />
|
<HeroForm />
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-3 inline-flex items-center gap-2.5 rounded-lg border border-slate-200 bg-card px-3 py-2 text-left text-xs text-slate-700 shadow-xs">
|
|
||||||
<span>
|
|
||||||
<strong className="font-semibold text-slate-900">
|
|
||||||
Veri: YÖK Atlas
|
|
||||||
</strong>{" "}
|
|
||||||
· son güncelleme{" "}
|
|
||||||
<time dateTime={KATALOG_VERI_TARIHI}>
|
|
||||||
{KATALOG_TARIH_METNI}
|
|
||||||
</time>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{/* Markayı tek cümlede tanımlayan görünür metin: sitedeki SSS ve
|
|
||||||
/kosullar ifadelerinin toplamı, yeni vaat yok. Meta/OG'de zaten
|
|
||||||
var; yapay zekâ cevap motorları gövde metnini önceliklendirdiği
|
|
||||||
için burada da durur (docs/arastirma/2026-09-24-geo-seo). */}
|
|
||||||
<p className="mt-5 max-w-2xl text-sm leading-6 text-slate-600">
|
|
||||||
KolayTercih, YÖK Atlas'ın resmî yerleştirme verisiyle
|
|
||||||
sıralamana uygun 24 tercihlik dengeli liste kuran, yapay zekâ
|
|
||||||
destekli bir karar destek aracıdır. ÖSYM ya da YÖK ile bağlantılı
|
|
||||||
değildir; yerleşme garantisi vermez.
|
|
||||||
</p>
|
|
||||||
</Parallax>
|
</Parallax>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -20,11 +20,10 @@ import { authClient } from "@/lib/auth-client";
|
|||||||
import { olay, siraKovasi } from "@/lib/analitik";
|
import { olay, siraKovasi } from "@/lib/analitik";
|
||||||
import { onbellekliJsonGetir } from "@/lib/istek-cache";
|
import { onbellekliJsonGetir } from "@/lib/istek-cache";
|
||||||
import {
|
import {
|
||||||
profilDuzenlemeyiAc,
|
|
||||||
useTercihProfili,
|
useTercihProfili,
|
||||||
} from "@/features/liste/hooks/use-tercih-profili";
|
} from "@/features/liste/hooks/use-tercih-profili";
|
||||||
import type { SihirbazFacetleri } from "@/types/yokatlas";
|
import type { SihirbazFacetleri } from "@/types/yokatlas";
|
||||||
import { PUAN_TURU_ETIKET, sonucHref, type SihirbazSecimleri } from "@/features/sihirbaz/sihirbaz-sabitler";
|
import { sonucHref, type SihirbazSecimleri } from "@/features/sihirbaz/sihirbaz-sabitler";
|
||||||
import { tercihProfiliYaz } from "@/features/sihirbaz/sihirbaz-profil";
|
import { tercihProfiliYaz } from "@/features/sihirbaz/sihirbaz-profil";
|
||||||
|
|
||||||
// lib/db sunucu tarafı; etiketler client bundle'a sızmasın diye burada.
|
// lib/db sunucu tarafı; etiketler client bundle'a sızmasın diye burada.
|
||||||
@@ -105,8 +104,7 @@ export function HeroForm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Kayıtlı profil varsa sihirbazı atla, doğrudan sonuç sayfasına götür.
|
// Kayıtlı profil varsa sihirbazı atla, doğrudan sonuç sayfasına götür.
|
||||||
// "Farklı sıralama gir" navbar'daki Değiştir ile aynı düzenleme modalını
|
// Sıralamayı değiştirmek navbar'daki Değiştir'den yapılır.
|
||||||
// (TercihProfiliKapisi, layout'ta monte) açar.
|
|
||||||
if (kayitliProfil) {
|
if (kayitliProfil) {
|
||||||
return (
|
return (
|
||||||
<div className="flex w-full max-w-md flex-col items-center gap-3">
|
<div className="flex w-full max-w-md flex-col items-center gap-3">
|
||||||
@@ -120,18 +118,6 @@ export function HeroForm() {
|
|||||||
<ArrowRight className="size-4" aria-hidden />
|
<ArrowRight className="size-4" aria-hidden />
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
<p className="text-sm text-slate-600">
|
|
||||||
{kayitliProfil.sira.toLocaleString("tr-TR")} ·{" "}
|
|
||||||
{PUAN_TURU_ETIKET[kayitliProfil.tur] ?? kayitliProfil.tur} sıralamanla
|
|
||||||
devam edersin.{" "}
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
onClick={profilDuzenlemeyiAc}
|
|
||||||
className="cursor-pointer font-medium text-slate-900 underline underline-offset-2 hover:text-slate-700"
|
|
||||||
>
|
|
||||||
Farklı sıralama gir
|
|
||||||
</button>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user