Files
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

87 lines
3.0 KiB
HTML
Executable File

<!-- Footer -->
{{ $data := index .Site.Data .Site.Language.Lang }}
<footer id="footer">
{{ with $data.contactinfo.contactformaction }}
<section>
<form method="post" action="{{ . }}">
<div class="fields">
<div class="field">
<label for="name">{{ i18n "CONTACT_FORM_FIELD_NAME" . }}</label>
<input type="text" name="name" id="name" />
</div>
<div class="field">
<label for="email">{{ i18n "CONTACT_FORM_FIELD_EMAIL" . }}</label>
<input type="email" name="email" id="email" />
</div>
<div class="field">
<label for="message">{{ i18n "CONTACT_FORM_FIELD_MESSAGE" . }}</label>
<textarea name="message" id="message" rows="3"></textarea>
</div>
</div>
<ul class="actions">
<li><input type="submit" value='{{ i18n "CONTACT_FORM_SUBMIT_SEND_MESSAGE" . }}' /></li>
</ul>
</form>
</section>
{{ end }}
<section class="split contact">
{{ with $data.contactinfo.address }}
<section class="alt">
<h3>{{ i18n "CONTACT_ADDRESS" . }}</h3>
<p>
{{ range $i, $e := . }}
{{ if $i }} <br/> {{ end }} {{ .line }}
{{ end }}
</p>
</section>
{{ end }}
{{ with $data.contactinfo.phone }}
<section>
<h3>{{ i18n "CONTACT_PHONE" . }}</h3>
<p><a href="tel:{{ . }}">{{ . }}</a></p>
</section>
{{ end }}
{{ with $data.social }}
<section>
<ul class="footer-nav-links">
{{ with .home}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-home"></i>
<span>Главная</span>
</a></li>
{{ end }}
{{ with .plan}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-calendar-o"></i>
<span>Хочу поехать</span>
</a></li>
{{ end }}
{{ with .map}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-map-o"></i>
<span>Маршруты</span>
</a></li>
{{ end }}
{{ with .ask}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-question-circle-o"></i>
<span>Спросить</span>
</a></li>
{{ end }}
{{ with .gallery}}
<li><a href="{{ . }}" class="footer-nav-link">
<i class="icon fa-picture-o"></i>
<span>Галерея</span>
</a></li>
{{ end }}
</ul>
</section>
{{ end }}
</section>
<!-- Seasonal Background Info -->
<div style="text-align: center; padding: 10px; font-size: 0.8em; color: rgba(255,255,255,0.85);">
{{ partial "current-season.html" . }}
</div>
</footer>