Commit Graph

9 Commits

Author SHA1 Message Date
treamz
d2cd720a5b Landing: proper category icons, auth state in header, white cat-cards
- 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)
2026-03-22 11:58:03 +03:00
treamz
f16a2ac32d Add Yandex Metrika to all 19 pages, clean dashboard about stats 2026-03-22 11:56:07 +03:00
treamz
47f40f4466 UI fixes: remove sidebar dupes from editor.css, remove features section, divider 100%, tile bg
- editor.css: removed duplicate sidebar CSS + :root vars (shared.css handles it)
- Landing: removed features/advantages section
- Removed Возможности link from all menus (landing, login, register, status, dashboard)
- Sidebar divider: width 100%
- Dashboard tiles: white bg (surface-800), lighter shadow on hover
2026-03-22 11:53:43 +03:00
treamz
27ad078e07 Unified header: same top-header across landing, login, register, status
- Landing: replaced custom landing-nav with standard top-header
- Removed scroll listener for nav (no longer needed)
- Header CSS moved to shared.css (single source)
- Removed duplicate header CSS from login, register, status
- All 4 public pages now have identical header with theme toggle
2026-03-22 00:49:52 +03:00
treamz
a048e84f26 Fix: landing nav uses CSS variables instead of hardcoded dark rgba 2026-03-22 00:11:33 +03:00
treamz
69ec8f4ede UI: light theme default, remove free mentions, fix scroll animation
- Default theme: light (was dark)
- Removed all бесплатно/free/навсегда mentions across all pages
- Landing: title, hero badge, hero text, CTA button, advantages, footer CTA
- Dashboard: hero text, about section, stats
- Register: subtitle
- Fixed scroll-hint animation (was bouncing infinitely, now static)
- Removed class=dark from all 18 HTML files (theme managed by JS)
2026-03-22 00:10:12 +03:00
treamz
e8aef7aa28 Dynamic content: landing and dashboard load texts from DB via API
- Landing hero texts (headline, description, badge) from settings table
- Landing categories from /api/tools (dynamic from DB)
- Landing advantages from /api/content/advantages
- Dashboard about block from /api/content/dashboard
- Static HTML remains as fallback if API fails
- All editable via AdminJS admin panel
2026-03-21 23:53:37 +03:00
treamz
d9202d2821 Landing: visible navbar with page links, remove price from dashboard
- Nav background visible immediately (semi-transparent dark with blur)
- Added Инструменты and Возможности links in nav (hidden on mobile)
- Added id=features to advantages section for smooth scroll
- Replaced 0₽ with Free label on dashboard about section
2026-03-21 23:21:03 +03:00
treamz
f8616e32b4 Auth + Landing + Categories
- Local auth: registration/login with email+password (bcrypt, MariaDB)
- Landing page: marketing page at / with hero, categories, advantages, CTA
- Tool categories: Images (4), Code (3), Web (3), Utilities (2)
- Sidebar: category dividers, user avatar with logout
- Protected routes: all tools require auth, landing/login/register public
- New files: lib/db.js, routes/auth.js, login.html, register.html, landing.html
- Dependencies: bcrypt, mysql2
2026-03-21 22:54:31 +03:00