feat(tasarim): geniş ekranda liste satırları ince
- Tür/il/süre satırı sm'den itibaren adla aynı satırda (SATIR_GRUP) - lg'de hücre dolgusu bir kademe az, satır düğmeleri 36 px (§8) - 1280 px ölçüm: bölüm listesi 83 → 61 px; /sonuc 68 px (uzun adda 92) - Telefonda değişiklik yok (44 px düğme, alt alta düzen) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,8 @@ import {
|
||||
SATIR_BUTON_BASLIK,
|
||||
SATIR_BUTON_HUCRE,
|
||||
SATIR_CIP,
|
||||
SATIR_DUGME_BOYU,
|
||||
SATIR_GRUP,
|
||||
SATIR_IKINCIL_LINK,
|
||||
SATIR_META,
|
||||
SATIR_MOBIL_SAYI,
|
||||
@@ -220,7 +222,7 @@ export function RaporListesi({
|
||||
className="kt-cv-satir cursor-pointer"
|
||||
>
|
||||
<TableCell className="pl-4 pr-0 align-top sm:pl-5">
|
||||
<span className="mt-4 flex size-8 items-center justify-center rounded-full bg-slate-100 font-heading text-sm font-bold text-slate-900">
|
||||
<span className="mt-4 flex size-8 items-center justify-center rounded-full bg-slate-100 font-heading text-sm font-bold text-slate-900 lg:mt-3">
|
||||
{t.sira}
|
||||
</span>
|
||||
</TableCell>
|
||||
@@ -246,25 +248,27 @@ export function RaporListesi({
|
||||
) : (
|
||||
<span className={SATIR_AD_DUZ}>{t.programId}</span>
|
||||
)}
|
||||
{p?.universite ? (
|
||||
<span className={SATIR_ALT_AD}>
|
||||
<Link
|
||||
href={`/universite/${uniSayfaSlug(p.universite)}`}
|
||||
className={SATIR_IKINCIL_LINK}
|
||||
title={`${p.universite} taban puanları sayfası`}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
{trBaslikDuzeni(p.universite)}
|
||||
</Link>
|
||||
<span className={SATIR_GRUP}>
|
||||
{p?.universite ? (
|
||||
<span className={SATIR_ALT_AD}>
|
||||
<Link
|
||||
href={`/universite/${uniSayfaSlug(p.universite)}`}
|
||||
className={SATIR_IKINCIL_LINK}
|
||||
title={`${p.universite} taban puanları sayfası`}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
{trBaslikDuzeni(p.universite)}
|
||||
</Link>
|
||||
</span>
|
||||
) : null}
|
||||
<span className={SATIR_META}>
|
||||
{p?.unitur ? (
|
||||
<span className={SATIR_CIP}>{devlet ? "Devlet" : "Vakıf"}</span>
|
||||
) : null}
|
||||
{p?.il ? (
|
||||
<span className="shrink-0">{trBaslikDuzeni(p.il)}</span>
|
||||
) : null}
|
||||
</span>
|
||||
) : null}
|
||||
<span className={SATIR_META}>
|
||||
{p?.unitur ? (
|
||||
<span className={SATIR_CIP}>{devlet ? "Devlet" : "Vakıf"}</span>
|
||||
) : null}
|
||||
{p?.il ? (
|
||||
<span className="shrink-0">{trBaslikDuzeni(p.il)}</span>
|
||||
) : null}
|
||||
</span>
|
||||
<span className={SATIR_MOBIL_SAYI}>
|
||||
{riskHucresi}
|
||||
@@ -298,7 +302,7 @@ export function RaporListesi({
|
||||
e.stopPropagation();
|
||||
tiklandi(t.sira);
|
||||
}}
|
||||
className="inline-flex size-11 cursor-pointer items-center justify-center rounded-full border border-slate-200 bg-white text-slate-500 transition-[background-color,border-color,color,transform] duration-150 hover:border-orange-500 hover:bg-orange-50/60 hover:text-orange-500 active:scale-[0.92] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
||||
className={`inline-flex ${SATIR_DUGME_BOYU} cursor-pointer items-center justify-center rounded-full border border-slate-200 bg-white text-slate-500 transition-[background-color,border-color,color,transform] duration-150 hover:border-orange-500 hover:bg-orange-50/60 hover:text-orange-500 active:scale-[0.92] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring`}
|
||||
>
|
||||
<ChevronDown
|
||||
className={`size-4 transition-transform duration-200 ${acikMi ? "rotate-180" : ""}`}
|
||||
|
||||
@@ -29,6 +29,7 @@ import {
|
||||
SATIR_ALT_AD,
|
||||
SATIR_AD_DUZ,
|
||||
SATIR_CIP,
|
||||
SATIR_GRUP,
|
||||
SATIR_META,
|
||||
} from "@/components/liste-satiri";
|
||||
import { listemUretHref, PROFIL_DEGISTI_EVENT } from "@/features/sihirbaz/sihirbaz-sabitler";
|
||||
@@ -156,16 +157,18 @@ export function TadimlikSatiri({
|
||||
<UniLogo ad={p.universite} boy="sm" />
|
||||
<span className="min-w-0 flex-1">
|
||||
<span className={SATIR_AD_DUZ}>{p.isim}</span>
|
||||
<span className={SATIR_ALT_AD}>
|
||||
{trBaslikDuzeni(p.universite)}
|
||||
</span>
|
||||
<span className={SATIR_META}>
|
||||
{p.unitur ? (
|
||||
<span className={SATIR_CIP}>{devlet ? "Devlet" : "Vakıf"}</span>
|
||||
) : null}
|
||||
{p.il ? (
|
||||
<span className="shrink-0">{trBaslikDuzeni(p.il)}</span>
|
||||
) : null}
|
||||
<span className={SATIR_GRUP}>
|
||||
<span className={SATIR_ALT_AD}>
|
||||
{trBaslikDuzeni(p.universite)}
|
||||
</span>
|
||||
<span className={SATIR_META}>
|
||||
{p.unitur ? (
|
||||
<span className={SATIR_CIP}>{devlet ? "Devlet" : "Vakıf"}</span>
|
||||
) : null}
|
||||
{p.il ? (
|
||||
<span className="shrink-0">{trBaslikDuzeni(p.il)}</span>
|
||||
) : null}
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<span className="hidden text-right md:inline-flex">
|
||||
|
||||
Reference in New Issue
Block a user