From 3500bb3745ae8e73f252a3f9e5e20034fae313e8 Mon Sep 17 00:00:00 2001 From: bilalgursen Date: Thu, 24 Sep 2026 01:07:19 +0300 Subject: [PATCH] =?UTF-8?q?feat(tasarim):=20kalan=20k=C3=BC=C3=A7=C3=BCk?= =?UTF-8?q?=20ekranlar=20(rehber,=20s=C4=B1ralama,=20=C3=BCniversite=20lis?= =?UTF-8?q?tesi)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Türkiye sıralaması satırı §4.15: ad sarar, 16 px; satır hover'ı turuncu; Cal Sans sırada tabular-nums kalktı - Rehber yol satırı 14 px ve turuncu hover; üniversite dizini hover - Logo monogramı 10 → 12 px; arama kartındaki elle hex → slate-950 - Denetim: satırın tamamı link olduğunda group-hover mavi ad çifti de istisna sayılıyor Co-Authored-By: Claude Opus 5.5 --- scripts/tasarim-denetim.ts | 5 +++-- src/app/rehber/[slug]/page.tsx | 14 ++++++++++---- src/components/arama-funnel-karti.tsx | 2 +- src/components/uni-logo.tsx | 2 +- .../katalog/components/turkiye-siralamasi.tsx | 8 ++++---- .../katalog/components/universite-listesi.tsx | 2 +- 6 files changed, 20 insertions(+), 13 deletions(-) diff --git a/scripts/tasarim-denetim.ts b/scripts/tasarim-denetim.ts index 96dbabb..8737bc9 100644 --- a/scripts/tasarim-denetim.ts +++ b/scripts/tasarim-denetim.ts @@ -194,7 +194,8 @@ const KURALLAR: Kural[] = [ // §2.1 istisnası: §4.15 kanonik liste satırı adı (sarar, text-base // font-semibold leading-snug + hover:text-primary hover:underline) mavi // kalır. Eski truncate/text-sm adlar istisnaya girmez — önce §4.15'e - // çevrilir. (Bilal'in kararı, 24 Eyl 2026: istisna uyarı vermesin.) + // çevrilir. Satırın tamamı link olduğunda group-hover çifti de sayılır. + // (Bilal'in kararı, 24 Eyl 2026: istisna uyarı vermesin.) bul: (icerik) => regexKurali(/\b(?:group-)?hover:(?:text|border|shadow)-primary\b/)(icerik).filter((e) => { const bas = icerik.lastIndexOf("\n", e.index) + 1; @@ -202,7 +203,7 @@ const KURALLAR: Kural[] = [ const satir = icerik.slice(bas, son === -1 ? undefined : son); return !( /\btext-base font-semibold leading-snug\b/.test(satir) && - /\bhover:text-primary hover:underline\b/.test(satir) + /\b(?:group-)?hover:text-primary (?:group-)?hover:underline\b/.test(satir) ); }), }, diff --git a/src/app/rehber/[slug]/page.tsx b/src/app/rehber/[slug]/page.tsx index eb6ec53..f287e7c 100644 --- a/src/app/rehber/[slug]/page.tsx +++ b/src/app/rehber/[slug]/page.tsx @@ -29,13 +29,19 @@ export default function RehberYaziPage({
diff --git a/src/components/arama-funnel-karti.tsx b/src/components/arama-funnel-karti.tsx index 9979195..7fac0fe 100644 --- a/src/components/arama-funnel-karti.tsx +++ b/src/components/arama-funnel-karti.tsx @@ -102,7 +102,7 @@ export function AramaFunnelKarti({ onSec }: { onSec: () => void }) { return (
diff --git a/src/components/uni-logo.tsx b/src/components/uni-logo.tsx index 453163f..01819e8 100644 --- a/src/components/uni-logo.tsx +++ b/src/components/uni-logo.tsx @@ -17,7 +17,7 @@ const BOYUT: Record<"xs" | "sm" | "md" | "lg", string> = { }; const MONOGRAM_METIN: Record<"xs" | "sm" | "md" | "lg", string> = { - xs: "text-[10px]", + xs: "text-xs", sm: "text-xs", md: "text-sm", lg: "text-lg sm:text-xl", diff --git a/src/features/katalog/components/turkiye-siralamasi.tsx b/src/features/katalog/components/turkiye-siralamasi.tsx index be25374..3967a8d 100644 --- a/src/features/katalog/components/turkiye-siralamasi.tsx +++ b/src/features/katalog/components/turkiye-siralamasi.tsx @@ -73,18 +73,18 @@ export function TurkiyeSiralamasi() {
  • - + {u.sira} - + {ad} {alt ? ( - {alt} + {alt} ) : null} diff --git a/src/features/katalog/components/universite-listesi.tsx b/src/features/katalog/components/universite-listesi.tsx index 13c521f..70dd8a4 100644 --- a/src/features/katalog/components/universite-listesi.tsx +++ b/src/features/katalog/components/universite-listesi.tsx @@ -16,7 +16,7 @@ function UniLinkleri({ uniler }: { uniler: UniOzet[] }) {