AR 15 M4
|
6c5b571884
|
feat(sprint4): add cards page — DoctorCard, NewsCard, ReviewCard, PriceCard, ServiceCard, badges/tags/alerts
- /components/cards — new page with 5 card types + badges/tags/alerts + LLM block v1.0
- DoctorCard: photo 110×160px placeholder, name, specialty, experience, outline button
- NewsCard: hover bg #eef4d1 + box-shadow (matches real site CSS), CSS class .bb-news-card
- ReviewCard: star rating 1-5 (SVG), text 4-line clamp, bg #eef4d1
- PriceCard: service + price + description + button, highlighted variant (blue border/bg)
- ServiceCard: emoji icon 48×48px, title, description, link
- Badges: 6 color variants (primary/success/warning/danger/neutral/outline)
- Tags: default/active state filters
- Alerts: 4 types (info/success/warning/error) with icons
- globals.css: .bb-news-card:hover, .bb-service-card:hover CSS rules (Sprint 4)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
1 week ago |
AR 15 M4
|
77c9733144
|
fix(forms): update form controls to match real site oclinica.ru styling
- .bb-input: height 50px, padding 10px 12px, border 1px solid #ccc, border-radius 4px
(matches entityform input[type=text] from perm.oclinica.ru)
- .bb-select: height 50px, padding 10px with arrow, same border/radius
- .bb-textarea: same border 1px #ccc, border-radius 4px (was 8px/1.5px teal)
- forms/page.tsx v2.0: added "Контекст применения" section with
where-used table and realistic form mockup (bg #b8e6ed as on site),
added "CSS с сайта" code block, updated LLM block to v2.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
1 week ago |
AR 15 M4
|
c1731615ab
|
fix(buttons): переделаны кнопки под реальный сайт oclinica.ru
Анализ CSS сайта (style.css темы clinic_bootstrap_mobile) выявил
4 реальных типа кнопок — заменены ранее придуманные варианты:
- primary → коралловый #FFA39C + shadow (форм-сабмит «Запишите меня!»)
- outline → белый + бежевая рамка #BF9975 («Записаться на прием»)
- teal → бирюзовый #60959c («Позвонить»)
- pill → кремовый #e9e4d4 + radius 25px («Заказать звонок»)
Удалены: secondary, ghost, danger (не существуют на реальном сайте)
Добавлен раздел «CSS с сайта» с точными значениями
Добавлена таблица «Где применяется» с реальными CSS-классами сайта
LLM-блок обновлён до v2.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
1 week ago |
AR 15 M4
|
0855892643
|
feat(sprint3): кнопки, форм-контролы, LLM-блоки — Sprint 3 v0.3.0
- components/ui/Button.tsx — компонент Button (primary/secondary/ghost/danger, sm/md/lg, loading/disabled)
- components/ui/CodeCopy.tsx — компонент копирования кода (clipboard API)
- components/ui/Toggle.tsx — тумблер (client component, bb-toggle-track/thumb)
- globals.css — CSS-классы: bb-btn, bb-input/textarea/select, bb-checkbox/radio, bb-toggle, @keyframes bb-spin
- app/components/buttons/page.tsx — страница «Кнопки» (варианты, размеры, состояния, code copy, LLM-блок)
- app/components/forms/page.tsx — страница «Форм-контролы» (Input/Textarea/Select/Checkbox/Radio/Toggle, LLM-блок)
- foundation/logo/page.tsx — добавлен LLM-блок v1.0
- Sidebar: убраны «скоро» с Кнопок и Форм-контролов, версия Sprint 3 · v0.3.0
- docs/LLM_CONTEXT.md → версия 3.0, добавлена секция 9a с компонентами
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
1 week ago |