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
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:
@@ -51,6 +51,10 @@
|
||||
--radius-2xl: calc(var(--radius) * 3.2);
|
||||
--radius-3xl: calc(var(--radius) * 3.8);
|
||||
--radius-4xl: calc(var(--radius) * 4.4);
|
||||
/* Geniş yüzey (≈600 px'ten geniş kart, kap, bant, çekmece): 56 px. 27 Eki 2026,
|
||||
Bilal gerçek boyutlu kıyasta seçti — geniş yüzeyde 32 px kavis düz köşe gibi
|
||||
okunuyordu. Kullanım: `rounded-2xl md:rounded-5xl` (telefonda dar, 32 px). */
|
||||
--radius-5xl: calc(var(--radius) * 5.6);
|
||||
}
|
||||
|
||||
:root {
|
||||
@@ -386,6 +390,10 @@
|
||||
.rounded-2xl, .rounded-t-2xl, .rounded-b-2xl { --kt-kose: var(--radius-2xl); }
|
||||
.rounded-3xl, .rounded-t-3xl, .rounded-b-3xl { --kt-kose: var(--radius-3xl); }
|
||||
.rounded-4xl, .rounded-t-4xl, .rounded-b-4xl { --kt-kose: var(--radius-4xl); }
|
||||
.rounded-5xl, .rounded-t-5xl, .rounded-b-5xl { --kt-kose: var(--radius-5xl); }
|
||||
@media (width >= 48rem) {
|
||||
.md\:rounded-5xl, .md\:rounded-t-5xl { --kt-kose: var(--radius-5xl); }
|
||||
}
|
||||
}
|
||||
|
||||
@utility rounded-ic-* {
|
||||
|
||||
@@ -518,7 +518,7 @@ export default function Home() {
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div className="hidden overflow-hidden rounded-2xl border border-slate-200/70 bg-card shadow-sm lg:block">
|
||||
<div className="hidden overflow-hidden rounded-2xl border border-slate-200/70 bg-card shadow-sm lg:block lg:rounded-5xl">
|
||||
<Table>
|
||||
<TableHeader>
|
||||
<TableRow className="bg-slate-50 hover:bg-slate-50">
|
||||
@@ -703,7 +703,7 @@ export default function Home() {
|
||||
<Accordion
|
||||
type="single"
|
||||
collapsible
|
||||
className="mt-12 rounded-2xl border border-slate-200/70 bg-card px-6 shadow-sm sm:mt-16"
|
||||
className="mt-12 rounded-2xl border border-slate-200/70 bg-card px-6 shadow-sm sm:mt-16 md:rounded-5xl"
|
||||
>
|
||||
{faqs.map((faq) => (
|
||||
<AccordionItem
|
||||
|
||||
@@ -34,6 +34,14 @@ type Surum = {
|
||||
};
|
||||
|
||||
const SURUMLER: Surum[] = [
|
||||
{
|
||||
surum: "2.5.6",
|
||||
tarih: "27 Ekim 2026",
|
||||
maddeler: [],
|
||||
arayuz: [
|
||||
"Geniş kartlar ve kutular (ana sayfadaki üç duvar, karşılaştırma tablosu, turuncu çağrı bandı, şehir ve üniversite sayfalarının üst kutusu, arama penceresi, liste ekranındaki kutular) masaüstünde daha iri ve dolgun köşeli; dar kutular ve telefon görünümü aynı kaldı.",
|
||||
],
|
||||
},
|
||||
{
|
||||
surum: "2.5.5",
|
||||
tarih: "27 Ekim 2026",
|
||||
|
||||
@@ -45,7 +45,7 @@ export function CtaBandi({
|
||||
<Etiket
|
||||
ref={ref as Ref<HTMLDivElement>}
|
||||
className={cn(
|
||||
"relative isolate overflow-hidden rounded-2xl",
|
||||
"relative isolate overflow-hidden rounded-2xl md:rounded-5xl",
|
||||
ton === "beyaz"
|
||||
? "border border-slate-200 bg-card text-slate-900"
|
||||
: "bg-primary text-white",
|
||||
|
||||
@@ -38,7 +38,7 @@ export function PikselCtaYuzeyi({
|
||||
onFocusCapture={(e) => setTamamla(hedefMi(e.target))}
|
||||
onBlurCapture={() => setTamamla(false)}
|
||||
className={cn(
|
||||
"kt-koyu-yuzey relative isolate overflow-hidden rounded-3xl border border-blue-400/20 bg-slate-950 text-white shadow-xl shadow-slate-900/10",
|
||||
"kt-koyu-yuzey relative isolate overflow-hidden rounded-3xl md:rounded-5xl border border-blue-400/20 bg-slate-950 text-white shadow-xl shadow-slate-900/10",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -582,7 +582,7 @@ function Sayfa({
|
||||
data-slot="alt-sayfa"
|
||||
className={cn(
|
||||
// `after`: kenarın altına uzanan yüzey — yukarı esnemede sayfanın altında boşluk görünmez.
|
||||
"group/alt-sayfa fixed inset-x-0 bottom-0 z-50 mx-auto flex w-full flex-col rounded-t-3xl border border-b-0 border-slate-200 bg-card text-slate-900 shadow-2xl outline-none will-change-transform after:pointer-events-none after:absolute after:inset-x-0 after:top-full after:h-40 after:bg-card data-[state=closed]:pointer-events-none! sm:max-w-2xl",
|
||||
"group/alt-sayfa fixed inset-x-0 bottom-0 z-50 mx-auto flex w-full flex-col rounded-t-3xl md:rounded-t-5xl border border-b-0 border-slate-200 bg-card text-slate-900 shadow-2xl outline-none will-change-transform after:pointer-events-none after:absolute after:inset-x-0 after:top-full after:h-40 after:bg-card data-[state=closed]:pointer-events-none! sm:max-w-2xl",
|
||||
className,
|
||||
)}
|
||||
style={{ y, opacity: varlik, maxHeight: `${kesirler[ust] * 100}dvh` }}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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. */}
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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ı"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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. */}
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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,
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -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. */}
|
||||
|
||||
@@ -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",
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user