feat(tasarim): geniş yüzeyler masaüstünde 56 px squircle — rounded-5xl token'ı (→ 2.5.6)
Some checks failed
Deploy / deploy (push) Has been cancelled

Geniş kartta (1120 px duvar, 896 px karşılaştırma kabı) 32 px kavis düz köşe gibi
okunuyordu; Bilal gerçek boyutlu kıyasta 56'yı seçti ve 'her geniş yüzey' dedi.
--radius-5xl (56 px) eklendi, ≈600 px'ten geniş kart/kap/bant/çekmece/geniş modal
'rounded-2xl md:rounded-5xl' aldı (19 yer); telefonda 32/38 px kalır. Kısa satır
butonları ve küçük kartlar 32 px. --kt-kose eşlemesi md:rounded-5xl'i de tanır.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
bilalgursen
2026-10-27 00:54:39 +03:00
parent 80daf152fa
commit a46d887dc7
22 changed files with 41 additions and 25 deletions

View File

@@ -171,7 +171,7 @@ export function GeriBildirimFormu({ className = "" }: { className?: string }) {
</TypingAnimation>
</span>
</h2>
<div className="mt-5 rounded-2xl border border-slate-200 bg-card p-2 transition-colors duration-150 focus-within:border-primary focus-within:ring-3 focus-within:ring-ring/50">
<div className="mt-5 rounded-2xl md:rounded-5xl border border-slate-200 bg-card p-2 transition-colors duration-150 focus-within:border-primary focus-within:ring-3 focus-within:ring-ring/50">
<Textarea
id={GERI_BILDIRIM_KUTUSU}
aria-labelledby="geri-bildirim-baslik"

View File

@@ -172,7 +172,7 @@ export function BolumProgramListesi({
<>
<div
ref={listeRef}
className="scroll-mt-24 overflow-hidden rounded-2xl border border-slate-200 bg-card"
className="scroll-mt-24 overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card"
>
{/* Şişko ve sade (DESIGN.md §4.15): üniversite adı kesilmez, sarar;
satır butonları 44 px. 375 px'te yalnız ad + butonlar sütun

View File

@@ -400,7 +400,7 @@ export function KatalogArama({ rehberler }: { rehberler: RehberAramaKaydi[] }) {
event.preventDefault();
inputRef.current?.focus();
}}
className="max-h-[min(720px,calc(100dvh-2rem))] grid-cols-[minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)_auto] gap-0 overflow-hidden rounded-2xl bg-card p-0 duration-200 sm:max-w-2xl motion-reduce:data-open:zoom-in-100 motion-reduce:data-closed:zoom-out-100"
className="max-h-[min(720px,calc(100dvh-2rem))] grid-cols-[minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)_auto] gap-0 overflow-hidden rounded-2xl md:rounded-5xl bg-card p-0 duration-200 sm:max-w-2xl motion-reduce:data-open:zoom-in-100 motion-reduce:data-closed:zoom-out-100"
>
<DialogTitle className="sr-only">
Bölüm, üniversite ve rehber ara

View File

@@ -17,7 +17,7 @@ export function SehirYuzeyi({
harita: ReactNode;
}) {
return (
<section className="relative isolate mt-6 overflow-hidden rounded-3xl border border-slate-200 bg-card">
<section className="relative isolate mt-6 overflow-hidden rounded-3xl md:rounded-5xl border border-slate-200 bg-card">
{/* İki katlı mask: dış kat metnin tarafına doğru eritir (telefonda
yukarı, lg'de sola), iç kat dik yöndeki iki kenarı eritir — hiçbir
kenarda yarım kesilmiş kare kalmaz. */}

View File

@@ -69,7 +69,7 @@ export function UniversiteProgramTablosu({
<h2 className="mb-4 text-center font-heading text-xl font-bold text-slate-900 sm:text-2xl lg:text-left">
{fakulte}
</h2>
<div className="overflow-hidden rounded-2xl border border-slate-200 bg-card">
<div className="overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card">
<Table>
<TableHeader>
<TableRow className="hover:bg-transparent">

View File

@@ -109,7 +109,7 @@ export function DemoKumanda() {
const { sira, tur, yukleniyor, profilVar } = useDemo();
const turEtiket = PUAN_TURU_ETIKET[tur] ?? tur;
return (
<div className="rounded-2xl border border-primary/20 bg-primary/5 p-5">
<div className="rounded-2xl md:rounded-5xl border border-primary/20 bg-primary/5 p-5">
<p className="font-heading text-sm font-bold text-slate-900">
{profilVar
? "Görseller senin sıralamana göre hesaplandı"

View File

@@ -256,7 +256,7 @@ function YiginKarti({
ref={kartRef}
data-yigin-kart=""
data-sahne-karti=""
className="flex origin-top flex-col overflow-hidden rounded-2xl border border-slate-200 bg-card shadow-sm transition-colors duration-300 hover:border-orange-500 lg:grid lg:grid-cols-[minmax(0,5fr)_minmax(0,7fr)]"
className="flex origin-top flex-col overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card shadow-sm transition-colors duration-300 hover:border-orange-500 lg:grid lg:grid-cols-[minmax(0,5fr)_minmax(0,7fr)]"
style={{
minHeight: "var(--kart-h)",
// Örtülen kartın üst şeridi görünsün diye her kart biraz aşağıda

View File

@@ -264,7 +264,7 @@ export function ListeUretici({
// Paketli kullanıcıya paket satma: onun ürünü top-up. Liste ve sohbet
// geçmişi kalıcı; kredi yükleyince kaldığı yerden devam eder.
return (
<section className="mx-auto w-full max-w-2xl rounded-2xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<Lock className="mx-auto size-8 text-slate-400" aria-hidden />
<h1 className="mt-4 font-heading text-xl font-bold">
Kredin bu liste için yetmiyor
@@ -290,7 +290,7 @@ export function ListeUretici({
if (durum.ad === "hata") {
return (
<section className="mx-auto w-full max-w-2xl rounded-2xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<h1 className="font-heading text-xl font-bold">Liste kurulamadı</h1>
<p className="mx-auto mt-2 max-w-md text-sm text-slate-600">
{durum.mesaj}
@@ -341,7 +341,7 @@ function SunucuYokEkrani() {
}
return (
<section className="mx-auto w-full max-w-2xl rounded-2xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<h1 className="font-heading text-xl font-bold">
Listen hazır, sunucuya şu an ulaşamıyoruz
</h1>
@@ -373,7 +373,7 @@ function SunucuYokEkrani() {
* "Tekrar dene" yok: tekrar taze requestId üretip ikinci üretimi başlatırdı. */
function SuruyorEkrani() {
return (
<section className="mx-auto w-full max-w-2xl rounded-2xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<h1 className="font-heading text-xl font-bold">Listen zaten hazırlanıyor</h1>
<p className="mx-auto mt-2 max-w-md text-sm text-slate-600">
Bunu başka bir sekmede başlatmışsın. İki kez kurmayalım — kredin bu
@@ -448,7 +448,7 @@ function UretimGovdesi({ uzunSurdu }: { uzunSurdu: boolean }) {
gördüğü ilk şey danışmanın çalıştığı olsun. */}
<aside
aria-label="Danışman paneli — listen hazırlanıyor"
className="flex flex-col overflow-hidden rounded-2xl border border-slate-200 bg-card max-lg:order-first lg:sticky lg:top-28"
className="flex flex-col overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card max-lg:order-first lg:sticky lg:top-28"
>
{/* SohbetClient başlığıyla aynı ibare/stil: üretim bitince panel
yerini sohbete bırakırken başlık değişmez. */}

View File

@@ -477,7 +477,7 @@ export function ListemGovde({
<section
ref={kilitKartRef}
className="overflow-hidden rounded-2xl border border-slate-200 bg-card shadow-sm max-lg:order-last"
className="overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card shadow-sm max-lg:order-last"
>
<div className="border-b border-slate-100 p-6">
<h3 className="font-heading text-xl font-bold tracking-tight">

View File

@@ -201,7 +201,7 @@ export function ListemIcerikSkeleton() {
<Skeleton key={i} className="h-16 w-full rounded-xl" />
))}
</div>
<Skeleton className="h-[480px] w-full rounded-2xl" />
<Skeleton className="h-[480px] w-full rounded-2xl md:rounded-5xl" />
</div>
</main>
);

View File

@@ -413,7 +413,7 @@ export function RaporListesi({
{/* Kapsam ve tek şehir uyarıları burada çizilmez: danışman sohbetinin
açılışında "Danışman uyarısı" olarak verilir (liste-uyarilari.ts). */}
<div className="mt-4 overflow-hidden rounded-2xl border border-slate-200 bg-card">
<div className="mt-4 overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card">
<Table>
<TableHeader>
<TableRow className="hover:bg-transparent">

View File

@@ -745,7 +745,7 @@ export function SohbetClient({
// Yükseklik: sınıftan (dar hâl); genişletilince satır içi stil
// (genisligiDegistir) sınıfı ezer, daraltılınca kaldırılır.
className={cn(
"flex flex-col overflow-hidden rounded-2xl border border-slate-200 bg-card",
"flex flex-col overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card",
className ?? SOHBET_DAR_BOY,
)}
>

View File

@@ -166,7 +166,7 @@ export function TadimlikSatiri({
aria-labelledby="tadimlik-baslik"
className="mt-10 min-w-0"
>
<div className="overflow-hidden rounded-2xl border border-slate-200 bg-card shadow-sm">
<div className="overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card shadow-sm">
<div className="grid lg:grid-cols-[minmax(0,21rem)_minmax(0,1fr)] lg:grid-rows-[1fr_auto]">
{/* Sol üst: öğrencinin sırasına bağlı başlık + üç kanıt.
Sayı kahraman (§1.1): sıra başlıkta mavi vurguyla. */}

View File

@@ -373,7 +373,7 @@ export function CtaSiraForm({
<section
aria-labelledby={baslikId}
className={cn(
"relative isolate overflow-hidden rounded-2xl border px-5 py-4 text-left transition-colors duration-200 sm:py-5",
"relative isolate overflow-hidden rounded-2xl md:rounded-5xl border px-5 py-4 text-left transition-colors duration-200 sm:py-5",
profil ? "border-transparent bg-primary text-white" : "border-slate-200 bg-card",
)}
>