feat: strengthen operator template and localized SEO UX

This commit is contained in:
pipeline
2026-07-21 04:01:15 +03:00
parent 363810024b
commit 14d616d1c9
18 changed files with 271 additions and 95 deletions
@@ -6,8 +6,9 @@
{{- $variant := .variant | default "full" -}}
{{- $brand := $page.Site.Data.brand -}}
{{- $locales := $page.Site.Data.locales -}}
{{- $currentLocale := $page.Language.LanguageCode | default $brand.defaultLocale -}}
{{- $default := "" -}}
{{- with where $locales "locale" $brand.defaultLocale -}}{{- $default = index . 0 -}}{{- end -}}
{{- with where $locales "locale" $currentLocale -}}{{- $default = index . 0 -}}{{- end -}}
{{- $age := $brand.ageRestrictionDefault -}}
{{- $orgName := "your national support service" -}}
{{- $orgUrl := "#" -}}
@@ -18,36 +19,33 @@
{{- end -}}
{{- if eq $variant "compact" -}}
<p>This site is intended for adults aged <span data-age-value>{{ $age }}</span>+ only. Gambling should be entertainment, never a way to make money.</p>
<p class="mt-2">Need help? Contact <a data-rg-link href="{{ $orgUrl }}" target="_blank" rel="noopener nofollow" class="font-semibold text-white underline"><span data-rg-name>{{ $orgName }}</span></a>.</p>
<p>{{ printf (i18n "rgCompactIntro") $age }}</p>
<p class="mt-2">{{ i18n "rgNeedHelp" }} <a data-rg-link href="{{ $orgUrl }}" target="_blank" rel="noopener nofollow" class="font-semibold text-white underline"><span data-rg-name>{{ $orgName }}</span></a>.</p>
{{- else -}}
<div class="prose-content">
<p>
Gambling must stay fun. This site is intended for adults aged
<strong><span data-age-value>{{ $age }}</span>+</strong> only. Never bet more than you can afford to
lose, never chase losses, and never gamble to escape stress or debt. If it stops being enjoyable,
it is time to stop.
{{ printf (i18n "rgFullIntro") $age }}
</p>
<h3>Tools to stay in control</h3>
<h3>{{ i18n "rgControlTools" }}</h3>
<ul>
<li><strong>Deposit limits</strong> &mdash; cap how much you can add to your account per day, week or month.</li>
<li><strong>Loss &amp; wager limits</strong> &mdash; set a ceiling on stakes or net losses over a period.</li>
<li><strong>Reality checks</strong> &mdash; on-screen reminders of how long you have been playing.</li>
<li><strong>Time-outs</strong> &mdash; lock yourself out for 24 hours up to several weeks.</li>
<li><strong>Self-exclusion</strong> &mdash; block access for months or years, including national schemes.</li>
<li>{{ i18n "rgDepositLimits" | safeHTML }}</li>
<li>{{ i18n "rgLossLimits" | safeHTML }}</li>
<li>{{ i18n "rgRealityChecks" | safeHTML }}</li>
<li>{{ i18n "rgTimeouts" | safeHTML }}</li>
<li>{{ i18n "rgSelfExclusion" | safeHTML }}</li>
</ul>
<h3>Find local support</h3>
<h3>{{ i18n "rgFindSupport" }}</h3>
<p>
Your currently selected region recommends
{{ i18n "rgRegionRecommends" }}
<a data-rg-link href="{{ $orgUrl }}" target="_blank" rel="noopener nofollow"><span data-rg-name>{{ $orgName }}</span></a>.
Support services for every market we cover are listed below &mdash; all offer free, confidential help.
{{ i18n "rgSupportIntro" }}
</p>
<div class="overflow-x-auto">
<table class="data-table">
<thead>
<tr><th scope="col">Region</th><th scope="col">Min. age</th><th scope="col">Support organisation</th></tr>
<tr><th scope="col">{{ i18n "region" }}</th><th scope="col">{{ i18n "minimumAge" }}</th><th scope="col">{{ i18n "supportOrganisation" }}</th></tr>
</thead>
<tbody>
{{- range $locales -}}