feat: strengthen operator template and localized SEO UX
This commit is contained in:
@@ -10,19 +10,19 @@
|
||||
{{ with .Content }}<div class="prose-content max-w-3xl">{{ . }}</div>{{ end }}
|
||||
|
||||
{{ $games := sort (where .Site.RegularPages "Section" "slots") "Title" }}
|
||||
<section class="mt-10" aria-label="Game library">
|
||||
<section class="mt-10" aria-label="{{ i18n "gameLibrary" }}">
|
||||
{{ if $games }}
|
||||
{{ partial "games-filter.html" (dict "page" . "games" $games) }}
|
||||
{{ else }}
|
||||
<p class="rounded-lg bg-secondary/5 p-6 text-secondary/70">No games have been added yet. Add page bundles under <code>content/slots/games/<slug>/index.md</code>.</p>
|
||||
<p class="rounded-lg bg-secondary/5 p-6 text-secondary/70">{{ i18n "noGames" }}</p>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ if not .Params.hideCta }}
|
||||
<div class="mt-12 max-w-3xl rounded-2xl border border-primary/20 bg-primary/5 p-6">
|
||||
<h2 class="text-xl font-bold">Ready to spin?</h2>
|
||||
<p class="mt-1 text-secondary/70"><span data-age-value>{{ .Site.Data.brand.ageRestrictionDefault }}</span>+ only. T&Cs apply. Please gamble responsibly.</p>
|
||||
<div class="mt-4">{{ partial "cta-button.html" (dict "page" . "text" "Play the Slots" "size" "lg") }}</div>
|
||||
<h2 class="text-xl font-bold">{{ i18n "readyToPlay" }}</h2>
|
||||
<p class="mt-1 text-secondary/70"><span data-age-value>{{ .Site.Data.brand.ageRestrictionDefault }}</span>+ {{ i18n "termsResponsible" }}</p>
|
||||
<div class="mt-4">{{ partial "cta-button.html" (dict "page" . "text" (i18n "playSlots") "size" "lg") }}</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user