Commit Graph

83 Commits

Author SHA1 Message Date
Telegram Bot 2842bffeaa Удалена поездка через бот (2026-04-15 22:52) 2026-04-15 22:52:46 +03:00
Telegram Bot 1f6d485f32 Добавлена новая поездка через бот (2026-04-15 22:51) 2026-04-15 22:52:00 +03:00
Kirik 1696f47fe9 Redesign typography, add image rounding and smooth loading
- Global headings: drop ALL CAPS, use sentence case + weight 700
- Post cards: refined date (small/uppercase/muted), cleaner title hierarchy
- Single post: date metadata style, subtitle no-italic, body line-height 1.75
- Logo frame (#header .logo): border-radius 12px
- All images: border-radius 8px (posts), 6px (gallery)
- Smooth lazy-load: CSS fadeIn animation + JS fallback (image-fade.js)
- Cache-busting: typography CSS with Hugo timestamp query string
- Trip card: replace broken gallery link with direct Elbrus S3 image URL

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 23:38:59 +02:00
Kirik 4ec5473ab1 Center date, title and description in all post cards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 21:38:00 +01:00
Kirik 971cfe4e10 Center first pinned post on all screen sizes (not just mobile)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 01:10:52 +01:00
Kirik 41de9ea642 Fix date decoration lines, remove post card hover border, use filled nav icons
- Remove ::before/::after decorative horizontal lines on post date
- Remove blue inset box-shadow from post card hover state
- Switch nav icons from outline (-o) to filled variants

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 01:06:23 +01:00
Kirik 2ca1d2c2e7 Add gallery-lazy.js for background image lazy loading
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:59:33 +01:00
Kirik 6047914d2c Merge remote-tracking branch 'github/main' 2026-03-24 00:50:40 +01:00
Kirik da5b40d168 Mobile: center pinned post, pagination fixes, minor layout tweaks
- First (pinned) post on mobile: title and image centered
- Pagination: restored page counter on mobile, buttons above footer
- Typography and layout minor improvements

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:50:35 +01:00
Kirik 3de138ff41 UX overhaul: glassmorphism nav/footer, forms redesign, mobile fixes
Navigation:
- Nav bar pill shape (border-radius: 100px), dark glass style
- Icons added to all nav items (FA4 outline variants, fixed-width alignment)
- Footer hidden on all devices (nav panel covers mobile)
- Footer nav icons + text added before removal

Forms (ask.md, plan.md):
- Full glassmorphism redesign: rounded card, blur backdrop
- Input borders visible (#b8c4ce), focus ring, proper placeholder colors
- Select: self-contained CSS, no backdrop-filter conflict, arrow fixed
- Submit button: gradient with shadow
- File upload button: .file-btn class, fa-arrow-down icon
- form-note styled as info callout with left border + ⓘ icon
- Footnotes sup.fn: circular badge, baseline positioning (no line-height jump)
- Footnote ¹ on both consent checkboxes, accordion = full legal text
- Dark mode: opaque dark card (rgba 22,26,34,0.88), proper contrast
- Dark mode success/error messages adapted
- Double checkmark bug fixed (removed ::after overlay)
- Italic removed from privacy-details text

Layout:
- #main rounded corners (20px all sides) + margin for visibility
- Post card images rounded (border-radius: 10px)
- Page titles: uppercase removed, font-weight 900, left-aligned
- "Подробнее" button hidden on post cards
- iOS background-attachment: fixed bug fixed (scroll on mobile)
- Pagination mobile: counter restored, buttons above footer

Content:
- Page titles uncommented in front matter (gallery, map, ask, plan)
- Duplicate rawhtml title blocks removed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:44:57 +01:00
Telegram Bot 441e091505 Добавлена новая поездка через бот (2026-03-22 23:40) 2026-03-22 23:40:41 +03:00
Telegram Bot b45f940689 Удалена поездка через бот (2026-03-15 10:12) 2026-03-15 10:12:36 +03:00
Telegram Bot dae4e84621 Добавлена новая поездка через бот (2026-01-20 22:36) 2026-01-20 22:36:57 +03:00
Telegram Bot 150ba48902 Удалена поездка через бот (2026-01-20 22:32) 2026-01-20 22:32:57 +03:00
Telegram Bot e3f1b76f23 Удалена поездка через бот (2026-01-16 20:21) 2026-01-16 20:21:18 +03:00
Telegram Bot 3d01a1d434 Добавлена новая поездка через бот (2026-01-16 20:20) 2026-01-16 20:20:31 +03:00
Telegram Bot 4bc7eeb0f0 Синхронизация репозитория 2026-01-15 22:24:06 +03:00
Kirik b9931fe705 Change trip description to Moscow region 2026-01-14 21:28:34 +01:00
Kirik 75594b7b25 Update upcoming trips: leave only January 2026 trip
- Remove November 2025, December trips
- Add single January 2026 trip with Zakrytie sezona photo
- Update meta information
2026-01-14 21:26:49 +01:00
Kirik 689fb97b47 Add two December trips: "Открытка на снегу" and "Закрытие сезона 2025"
Replaced single December trip with two separate events:
- December 20-21: "Открытка на снегу" (Snow Postcard)
- December 27-28: "Закрытие сезона 2025" (Season Closing 2025)

Both trips are for regular participants only with 5-day advance registration cutoff.
2025-12-16 09:47:51 +01:00
Kirik 292cba06f0 Fix formatting: remove dot before date in December trip 2025-12-04 19:59:58 +01:00
Kirik e771f02a68 Update trip descriptions: keep only Vladimir region
- Remove Moscow and Tver regions from November trip
- Remove Tver region from December trip (keep only Vladimir)
- Keep December 13 date
2025-12-04 19:58:54 +01:00
Kirik 662538a3c1 Make December 13 date bold in trip description 2025-11-28 11:31:18 +01:00
Kirik f0ed4373d4 Add December 13 date to upcoming trip 2025-11-27 19:08:54 +01:00
Kirik c6f909a042 Fix accessibility: Improve footer contrast and text visibility
- Add explicit white color and bold weight to footer navigation spans
- Increase seasonal info opacity from 50% to 85% for better contrast
- Ensures footer text meets WCAG accessibility standards
- Improves readability for users with low vision
2025-11-12 20:56:04 +01:00
Kirik d7c8f87b64 Use mobile4.webp for mobile devices background
- Converted mobile4.jpeg to mobile4.webp (1.4 MB, 2224x6140)
- Better aspect ratio and composition for mobile screens
- Desktop continues to use desktop.webp (716 KB, 2732x1535)
2025-11-12 20:22:24 +01:00
Kirik d76fa752cb Use mobile2.webp for mobile devices background
- Converted mobile2.jpg to mobile2.webp (517 KB, 1106x3070)
- Perfect aspect ratio for mobile screens
- Desktop continues to use desktop.webp (716 KB, 2732x1535)
2025-11-12 20:16:16 +01:00
Kirik 86c69883b8 Revert to desktop.webp for mobile - troubleshoot missing background
- mobile2.jpg path seems to cause issues
- Reverting to desktop.webp for both mobile and desktop
- Will investigate mobile2.jpg issue separately
2025-11-12 20:15:23 +01:00
Kirik 28f262d163 Use mobile2.jpg for mobile devices background
- Mobile devices now use mobile2.jpg (1106x3070, 1.6 MB)
- Desktop continues to use desktop.webp
- Better composition for mobile screen aspect ratio
2025-11-12 20:14:03 +01:00
Kirik 2d6c391866 Increase mobile background zoom to 800% for wider view
- Changed from 300% to 800% for better mobile composition
- Image appears even more zoomed out on mobile devices
- Better visibility of full scene without extreme cropping
2025-11-12 20:10:59 +01:00
Kirik 9727ff5dc0 Zoom out mobile background 3x for better composition
- Change background-size from cover to 300% on mobile devices
- Makes the image appear 3x further away
- Better composition and less cropped view of the scene
2025-11-12 20:08:30 +01:00
Kirik a6ee115908 Use same desktop.webp for all devices - simpler and cleaner
- Remove separate mobile image (was causing file bloat and complexity)
- Use desktop.webp (716 KB) for all screen sizes via media query
- Browser's background-size: cover handles responsive display
- Simplify preload-images.html to single image preload
- Cleaner CSS without unnecessary file duplication
2025-11-12 20:06:59 +01:00
Kirik 82ad87dbfc Replace mobile.webp with high quality version using cwebp compression
- Converted from mobile3.webp with cwebp -q 88 -m 6
- Resized to 556x316 (optimized for mobile)
- File size: 69 KB with excellent quality (3.22 bpp)
- Much sharper than ImageMagick resize version
2025-11-12 20:04:47 +01:00
Kirik bc57c51b44 Replace mobile.webp with higher quality version from mobile3 resize
- Resized mobile3.webp (5418x3070) to mobile dimensions (556x315)
- Quality: 85% WebP compression for better image clarity
- File size: 126 KB -> 66 KB (still lighter, much better quality)
- Now using consistent aspect ratio with desktop version
2025-11-12 20:02:47 +01:00
Kirik 6269d3323c Implement adaptive background images for mobile and desktop
- Add desktop.webp (2732x1535) for desktop devices and mobile.webp (556x1535) for mobile
- Create adaptive-background.css with media queries (max-width: 736px for mobile)
- Update config.toml to use desktop.webp as default background
- Modify htmlhead.html to include adaptive-background.css
- Update preload-images.html for responsive image preloading
- Optimize background loading based on device screen width

Both images include overlay.png and gradient overlay for consistent design.
Mobile version (124 KB) is 5.8x lighter than desktop version (716 KB).
2025-11-12 19:53:54 +01:00
Kirik 2510dc9110 Update plan page: remove Moscow region, simplify conditions, update text
- Remove 'Московскую область' from trip description
- Replace intro text with 'Хотите присоединится к поездке?...'
- Remove 'Поездки без дронов' section and custom trip proposal text
- Keep only 'Дронослёты' section with 5-day deadline
- Add consent header in explanations section
2025-11-10 20:58:19 +01:00
Kirik 48b8bc3285 Fix December trip image URL to S3 link 2025-11-10 19:41:36 +01:00
Kirik b08063eb1b Update December flights form and trip data
- Update form fields: Change 'Имя' to 'Фамилия, имя', add required phone field
- Add PDF upload for drone registration notice (BVS notice)
- Update trip conditions: Change 'Поездки с полетами дронов' to 'Дронослёты'
- Update submission deadline from 7 days to 5 days for drone flights
- Add detailed time departure info with location dependency
- Update privacy consent text and add centered consent header
- Hide November 2025 flights (set active: false)
- Update December 2025 flights image to winter drone photo
- Add backend validation for phone field and PDF file upload (max 5MB, PDF only)
- Update email notification function for consistent handling
2025-11-10 19:10:07 +01:00
Kirik 5a68ee77b6 Remove 'Предложить свое' option from trip selection dropdown 2025-11-05 16:43:35 +01:00
Kirik a187cd3bf3 Add 'Предложить свое' option to trip selection dropdown 2025-11-05 15:30:07 +01:00
Kirik 2cf7237167 Remove 'Свой вариант без БВС' option from trip selection dropdown
This option was displayed in the form dropdown, but users can still suggest custom trips through the 'bvs_number' textarea field.
2025-11-05 14:28:10 +01:00
Kirik 873c397b61 Update calendar to Nov/Dec 2025 and migrate to sleeptrip.ru
- Replace September/October trips with November/December 2025
- Update config.toml baseURL to sleeptrip.ru
- Form options will load dynamically from updated JSON
2025-10-29 00:22:02 +01:00
Kirik 92fd2c18a7 Optimize bg-winter.webp: 2.6MB → ~500KB (1920px width, quality 75) 2025-10-27 17:07:13 +01:00
Kirik e0eb2f61f8 Перемещен send_plan_simple.php в правильную папку
- Переместили из /static/api/ в /forms/
- Удален тестовый файл из /static/api/
- Теперь PHP файл будет в той же папке что send_ask.php на сервере
- Hugo /static/ не выполняет PHP код
2025-09-03 15:27:08 +02:00
Kirik f02f7bc27c Переделан send_plan_simple.php по образцу рабочего send_ask.php
- Убраны эмодзи из заголовков на странице plan
- Упрощена структура PHP скрипта как в send_ask.php
- Убрана вся сложная отладка и проверки
- Используется стандартный redirect с параметрами success/error
- Возвращена форма на send_plan_simple.php
2025-09-03 15:25:09 +02:00
Kirik f1e03c20f8 Добавлен тестовый PHP скрипт для диагностики
- test.php - простейший скрипт без зависимостей
- Временно переключена форма на test.php
- Покажет работает ли PHP, структуру файлов и POST данные
- Поможет диагностировать проблему с send_plan_simple.php
2025-09-03 15:19:48 +02:00
Kirik bf1c7e5d02 Улучшена отладка send_plan_simple.php
- Добавлен вывод текущей директории и списка файлов
- Более подробные сообщения об ошибках с контекстом
- Логирование в error_log для диагностики на сервере
- Помогает понять структуру файлов на VPS
2025-09-03 15:14:39 +02:00
Kirik 2957d152a6 Исправлены пути к файлам в send_plan_simple.php
- forms_helper.php и .env находятся в той же папке /api/
- Изменены пути с ../forms/ на ./
- Исправлена ошибка 'forms_helper.php не найден'
2025-09-03 13:21:07 +02:00
Kirik 71fdcb3d76 Добавлена отладка для диагностики проблем формы
- Подробные логи в JavaScript консоли браузера
- Проверка существования файлов в PHP
- Отладочные сообщения в error_log
- Обработка случаев когда сервер возвращает не JSON
2025-09-03 13:16:02 +02:00
Kirik 29bb69f3e4 Интеграция формы с существующей инфраструктурой
- send_plan_simple.php теперь использует forms_helper.php
- Подключение к .env файлу с настройками Telegram
- Убран дублированный код для отправки в Telegram
- Использует готовые функции из forms_helper
2025-09-03 13:07:09 +02:00