revert(tasarim): squircle kaldırıldı, köşeler eski ölçülerine döndü (→ 2.5.12)
All checks were successful
Deploy / deploy (push) Successful in 11m30s

Bilal: "tarayıcı desteği olmadığı için mobilde çok kötü oluyor". Safari ve Firefox
corner-shape çizmiyor; squircle'ı taklit etmek için büyütülen köşeler (kart 32,
geniş yüzey 56 px, logo %44) telefonda şişkin, logo neredeyse daire görünüyordu.
- globals.css: @supports corner-shape bloğu, .kt-squircle ve --radius-5xl silindi;
  --radius-2xl/3xl/4xl 18/22/26 px'e döndü.
- md:/lg:rounded-5xl ve md:rounded-t-5xl 19 dosyadan kalktı; gösterge kareleri
  rounded-3xl, keşfet kartı rounded-2xl, program çekmecesi KOSE 24.
- Logo KOSE 25 → 13; morf anahtar karelerinden cornerShape kalktı; Piksel gövdesi
  (piksel-blob logoKaresi) düz daire yayı, k = 13/28.
- Akordeon karosu 18 px, kt-squircle sınıfı kalktı.
- İç içe köşe kuralı (rounded-ic-*, --kt-kose) korundu. DESIGN §4.4, §4.34, §7, §11.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bilalgursen
2026-10-27 08:30:27 +03:00
parent d0b05e32f7
commit 41d256bcf5
29 changed files with 85 additions and 134 deletions

View File

@@ -171,7 +171,7 @@ export function GeriBildirimFormu({ className = "" }: { className?: string }) {
</TypingAnimation>
</span>
</h2>
<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">
<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">
<Textarea
id={GERI_BILDIRIM_KUTUSU}
aria-labelledby="geri-bildirim-baslik"

View File

@@ -93,7 +93,7 @@ function MezunIstihdami({
}) {
const ort = ISTIHDAM_ORTALAMA[duzey];
const kare =
"flex flex-col items-center justify-center rounded-5xl px-3 text-white";
"flex flex-col items-center justify-center rounded-3xl px-3 text-white";
const etiket = "text-sm font-bold text-white/90";
const devSayi =
"font-heading text-5xl font-bold leading-none tracking-tight";

View File

@@ -172,7 +172,7 @@ export function BolumProgramListesi({
<>
<div
ref={listeRef}
className="scroll-mt-24 overflow-hidden rounded-2xl md:rounded-5xl border border-slate-200 bg-card"
className="scroll-mt-24 overflow-hidden rounded-2xl 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 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"
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"
>
<DialogTitle className="sr-only">
Bölüm, üniversite ve rehber ara
@@ -685,7 +685,7 @@ function KesfetLinki({
<Link
href={href}
onClick={onSec}
className="group/kesfet flex cursor-pointer flex-col overflow-hidden rounded-4xl border border-slate-200 bg-card transition-transform duration-150 ease-out active:scale-[0.97]"
className="group/kesfet flex cursor-pointer flex-col overflow-hidden rounded-2xl border border-slate-200 bg-card transition-transform duration-150 ease-out active:scale-[0.97]"
>
{/* Mini tarayıcı — sekme içinde tek büyük ikon, alta doğru maske ile solar */}
<div

View File

@@ -475,12 +475,12 @@ function KontenjanGovde({ k }: { k: KontenjanTurleri }) {
// Gösterge karesi (DESIGN.md §4.11) — akademik göstergelerdeki karelerle aynı
// sınıf seti; burada kare bir düğmedir.
const KARE = "flex flex-col items-center justify-center rounded-5xl px-3 text-white";
const KARE = "flex flex-col items-center justify-center rounded-3xl px-3 text-white";
const KARE_ETIKET = "text-sm font-bold text-white/90";
const KARE_DEV_SAYI = "font-heading text-5xl font-bold leading-none tracking-tight";
const KARE_ORTA_SAYI = "font-heading text-3xl font-bold leading-none";
const KARE_VURGU = "text-base font-bold text-white/90";
const KOSE = 56; // rounded-5xl (--radius-5xl, globals.css); motion köşeyi ölçek sırasında düzeltsin diye stilde
const KOSE = 24; // rounded-3xl; motion köşeyi ölçek sırasında düzeltsin diye stilde
type KutuAnahtari = "kontenjan" | "netler" | "istihdam";
type Kutu = {
@@ -633,7 +633,7 @@ function BolumKutulari({ veri }: { veri: ProgramAyrintisi }) {
<div
key={x.anahtar}
data-kare={LOGO_SLOTLARI[kutular.indexOf(x)]}
className="rounded-5xl"
className="rounded-3xl"
>
<motion.button
ref={(el) => {

View File

@@ -17,7 +17,7 @@ export function SehirYuzeyi({
harita: ReactNode;
}) {
return (
<section className="relative isolate mt-6 overflow-hidden rounded-3xl md:rounded-5xl border border-slate-200 bg-card">
<section className="relative isolate mt-6 overflow-hidden rounded-3xl 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

@@ -196,7 +196,7 @@ function AkademikGostergeler({ uni }: { uni: UniDetay }) {
// data-* işaretleri açılış koreografisinin sözleşmesi (akademik-ayrinti.tsx,
// AcilisSahnesi).
const kare =
"flex flex-col items-center justify-center rounded-5xl px-3 text-white";
"flex flex-col items-center justify-center rounded-3xl px-3 text-white";
const etiket = "text-sm font-bold text-white/90";
const devSayi =
"font-heading text-5xl font-bold leading-none tracking-tight";

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 md:rounded-5xl border border-slate-200 bg-card">
<div className="overflow-hidden rounded-2xl 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 md:rounded-5xl border border-primary/20 bg-primary/5 p-5">
<div className="rounded-2xl 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 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)]"
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)]"
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 md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl 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 md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl 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 md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl 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 md:rounded-5xl border border-slate-200 bg-card p-8 text-center sm:p-12">
<section className="mx-auto w-full max-w-2xl rounded-2xl 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 md:rounded-5xl border border-slate-200 bg-card max-lg:order-first lg:sticky lg:top-28"
className="flex flex-col overflow-hidden rounded-2xl 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 md:rounded-5xl border border-slate-200 bg-card shadow-sm max-lg:order-last"
className="overflow-hidden rounded-2xl 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 md:rounded-5xl" />
<Skeleton className="h-[480px] w-full rounded-2xl" />
</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 md:rounded-5xl border border-slate-200 bg-card">
<div className="mt-4 overflow-hidden rounded-2xl 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 md:rounded-5xl border border-slate-200 bg-card",
"flex flex-col overflow-hidden rounded-2xl 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 md:rounded-5xl border border-slate-200 bg-card shadow-sm">
<div className="overflow-hidden rounded-2xl 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

@@ -422,7 +422,7 @@ export function CtaSiraForm({
<section
aria-labelledby={baslikId}
className={cn(
"relative isolate overflow-hidden rounded-2xl md:rounded-5xl border px-5 py-4 text-left transition-colors duration-200 sm:py-5",
"relative isolate overflow-hidden rounded-2xl 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",
)}
>