feat(tasarim): liste satırı üniversite logosu 36 → 48 px

Bilal (24 Eyl 2026): listelerde üni logoları çok küçük kalmış. UniLogo
sm boyu size-12 rounded-xl (bölüm sayfası, /sonuc, rapor, tadımlık,
üniversite listeleri tek yerden); md 56 px. Çekmecedeki xs değişmedi.
DESIGN.md §4.15.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
bilalgursen
2026-09-24 12:39:38 +03:00
parent 613d9e012a
commit 286a9f432b
2 changed files with 11 additions and 6 deletions

View File

@@ -9,17 +9,19 @@ import { turkishSlugify } from "@/lib/slug";
* kapsayıcı hem şeffaf hem beyaz arka planlı logolarda tutarlı görünür.
*/
// sm = liste satırı logosu. 36 px'ten 48 px'e (Bilal, 24 Eyl 2026:
// "listelerde üni logoları çok küçük kalmış"); md bir kademe üstü.
const BOYUT: Record<"xs" | "sm" | "md" | "lg", string> = {
xs: "size-7 rounded-md p-0.5",
sm: "size-9 rounded-lg p-1",
md: "size-12 rounded-xl p-1.5",
sm: "size-12 rounded-xl p-1.5",
md: "size-14 rounded-xl p-1.5",
lg: "size-16 rounded-2xl p-2 sm:size-20",
};
const MONOGRAM_METIN: Record<"xs" | "sm" | "md" | "lg", string> = {
xs: "text-xs",
sm: "text-xs",
md: "text-sm",
sm: "text-sm",
md: "text-base",
lg: "text-lg sm:text-xl",
};
@@ -73,7 +75,7 @@ export function UniLogo({
const anahtar =
slug ?? turkishSlugify(ad.replace(/\s*\([^)]*\)\s*$/, "").trim());
const yol = uniLogoYolu(anahtar);
const px = boy === "lg" ? 80 : boy === "md" ? 48 : boy === "sm" ? 36 : 28;
const px = boy === "lg" ? 80 : boy === "md" ? 56 : boy === "sm" ? 48 : 28;
if (!yol) {
const h = tonu(anahtar);