From d2cd720a5b08a0ef6ce436e6bc7dc6fda2fd0e10 Mon Sep 17 00:00:00 2001 From: treamz Date: Sun, 22 Mar 2026 11:58:03 +0300 Subject: [PATCH] Landing: proper category icons, auth state in header, white cat-cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Category icons: images/code/web/utils have proper SVG (not empty rect) - Auth check: if logged in, show user name + Выйти instead of Войти/Регистрация - Cat-cards: white background (surface-800) --- public/landing.html | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/public/landing.html b/public/landing.html index 354c8a6..0d07ab1 100644 --- a/public/landing.html +++ b/public/landing.html @@ -426,7 +426,7 @@ gap: 8px; - background: var(--surface-700); + background: var(--surface-800); border: 1px solid var(--surface-600); @@ -582,7 +582,7 @@ .cat-card { - background: var(--surface-700); + background: var(--surface-800); border: 1px solid var(--surface-600); @@ -760,7 +760,7 @@ .adv-section { - background: var(--surface-700); + background: var(--surface-800); border-top: 1px solid var(--surface-600); @@ -1234,7 +1234,7 @@ - + @@ -1592,6 +1592,29 @@
+ @@ -1630,7 +1653,7 @@ const toolsList = cat.tools.map(t => '
  • ' + t.title + '
  • ').join(''); return '
    ' + '
    ' + - '' + + '' + ({images:'',code:'',web:'',utils:''}[cat.slug] || '') + '' + '
    ' + cat.title + '' + '' + cat.tools.length + ' инстр.
    ' + '

    ' + (cat.description || '') + '

    ' +