feat: strengthen operator template and localized SEO UX
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{{- /* footer.html — appears on every page. Includes (per spec): affiliate
|
||||
disclosure link, licence/authority text (from data/brand.yaml),
|
||||
{{- /* footer.html — appears on every page. Includes licence/authority text,
|
||||
responsible-gambling links, cookie policy link, an "18+ Gamble
|
||||
Responsibly" badge and a dynamic copyright year. */ -}}
|
||||
{{- $brand := .Site.Data.brand -}}
|
||||
@@ -37,7 +36,7 @@
|
||||
</div>
|
||||
|
||||
{{/* Explore */}}
|
||||
<nav aria-label="Footer">
|
||||
<nav aria-label="{{ i18n "footerExplore" }}">
|
||||
<h2 class="text-sm font-semibold uppercase tracking-wider text-white/60">{{ i18n "footerExplore" }}</h2>
|
||||
<ul class="mt-3 space-y-2 text-sm">
|
||||
{{- range $primary -}}
|
||||
@@ -47,7 +46,7 @@
|
||||
</nav>
|
||||
|
||||
{{/* Legal & safety */}}
|
||||
<nav aria-label="Legal and safety">
|
||||
<nav aria-label="{{ i18n "footerLegal" }}">
|
||||
<h2 class="text-sm font-semibold uppercase tracking-wider text-white/60">{{ i18n "footerLegal" }}</h2>
|
||||
<ul class="mt-3 space-y-2 text-sm">
|
||||
{{- range $legal -}}
|
||||
@@ -74,12 +73,11 @@
|
||||
<div class="border-t border-white/10">
|
||||
<div class="site-container flex flex-col gap-3 py-6 text-xs text-white/60 md:flex-row md:items-center md:justify-between">
|
||||
<p>
|
||||
<span class="mr-2 inline-flex items-center rounded bg-white/10 px-2 py-1 font-bold text-white"><span data-age-value>{{ $brand.ageRestrictionDefault }}</span>+ Gamble Responsibly</span>
|
||||
{{ $brand.legalOperatorName }} is licensed and regulated by the {{ $brand.licenseAuthority }} (Licence No. {{ $brand.licenseNumber }}).
|
||||
<span class="mr-2 inline-flex items-center rounded bg-white/10 px-2 py-1 font-bold text-white"><span data-age-value>{{ $brand.ageRestrictionDefault }}</span>+ {{ i18n "gambleResponsibly" }}</span>
|
||||
{{ printf (i18n "licenceStatement") $brand.legalOperatorName $brand.licenseAuthority $brand.licenseNumber }}
|
||||
</p>
|
||||
<p>
|
||||
© {{ now.Year }} {{ $brand.name }}. {{ i18n "allRightsReserved" }}
|
||||
{{ with site.GetPage "affiliate-disclosure" }}<a href="{{ .RelPermalink }}" class="ml-2 text-white/80 underline hover:text-white">{{ i18n "affiliateDisclosure" }}</a>{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user