c6f909a042
- 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
87 lines
3.0 KiB
HTML
87 lines
3.0 KiB
HTML
<!-- 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="text" 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"></i>
|
|
<span>Хочу поехать</span>
|
|
</a></li>
|
|
{{ end }}
|
|
{{ with .map}}
|
|
<li><a href="{{ . }}" class="footer-nav-link">
|
|
<i class="icon fa-map"></i>
|
|
<span>Маршруты</span>
|
|
</a></li>
|
|
{{ end }}
|
|
{{ with .ask}}
|
|
<li><a href="{{ . }}" class="footer-nav-link">
|
|
<i class="icon fa-question"></i>
|
|
<span>Спросить</span>
|
|
</a></li>
|
|
{{ end }}
|
|
{{ with .gallery}}
|
|
<li><a href="{{ . }}" class="footer-nav-link">
|
|
<i class="icon fa-image"></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>
|