Update routing in next.config.ts to redirect "/tercih-robotu" to the hero form, add simple-icons dependency in package.json, and enhance database indexing for improved query performance. Remove unused SVG files and update metadata across various pages for better SEO and clarity.
All checks were successful
Deploy / deploy (push) Successful in 14m14s

This commit is contained in:
bilalgursen
2026-08-01 17:28:38 +03:00
parent 569b9e5da2
commit 8cf0c3267d
76 changed files with 5050 additions and 255 deletions

View File

@@ -0,0 +1,57 @@
import { ArrowRight } from "lucide-react";
/**
* Programatik SEO sayfalarındaki funnel girişi: JS'siz düz GET formu,
* /sonuc?sira=&tur= akışına düşer. Client bileşen DEĞİL — sayfalar tamamen
* statik prerender edilir, form tarayıcının kendi submit'iyle çalışır.
*/
export function CtaSiraForm({ baslik }: { baslik?: string }) {
return (
<section className="rounded-2xl border border-primary/20 bg-primary/5 p-6 sm:p-8">
<h2 className="font-heading text-xl font-bold text-slate-900">
{baslik ?? "Sıralamanla nereye yerleşirsin? Saniyede gör."}
</h2>
<p className="mt-2 text-sm leading-6 text-slate-600">
YKS başarı sıralamanı gir; gerçek YÖK Atlas verisiyle sıralamana uygun
hayal, dengeli ve garanti dilimlerindeki programları anında listele.
Ücretsiz, üyelik gerekmez.
</p>
<form
action="/sonuc"
method="get"
className="mt-4 flex flex-col gap-3 sm:flex-row"
>
<input
type="number"
name="sira"
required
min={1}
max={4000000}
inputMode="numeric"
placeholder="Başarı sıralaman (ör. 85000)"
aria-label="YKS başarı sıralaması"
className="h-11 flex-1 rounded-lg border border-slate-300 bg-white px-4 text-sm text-slate-900 placeholder:text-slate-400 focus:border-primary focus:outline-none"
/>
<select
name="tur"
aria-label="Puan türü"
defaultValue="say"
className="h-11 rounded-lg border border-slate-300 bg-white px-3 text-sm text-slate-900 focus:border-primary focus:outline-none"
>
<option value="say">Sayısal</option>
<option value="ea">Eşit Ağırlık</option>
<option value="soz">Sözel</option>
<option value="dil">Dil</option>
<option value="tyt">TYT (2 yıllık)</option>
</select>
<button
type="submit"
className="inline-flex h-11 items-center justify-center gap-2 rounded-lg bg-primary px-6 text-sm font-semibold text-primary-foreground transition-colors hover:bg-primary/90"
>
Programları gör
<ArrowRight className="size-4" aria-hidden />
</button>
</form>
</section>
);
}