feat: strengthen operator template and localized SEO UX
This commit is contained in:
+18
-7
@@ -9,10 +9,10 @@
|
||||
<h1 class="mt-2 text-4xl font-extrabold leading-tight tracking-tight sm:text-5xl">{{ .Params.h1 | default .Title }}</h1>
|
||||
<p class="mt-4 max-w-xl text-lg text-white/90">{{ .Params.description | default $brand.tagline }}</p>
|
||||
<div class="mt-8 flex flex-wrap gap-3">
|
||||
{{ partial "cta-button.html" (dict "page" . "text" "Play Now" "size" "lg") }}
|
||||
{{ with site.GetPage "bonuses" }}<a href="{{ .RelPermalink }}" class="btn border-2 border-white/80 text-white hover:bg-white hover:text-secondary">See bonuses</a>{{ end }}
|
||||
{{ partial "cta-button.html" (dict "page" . "text" (i18n "playNow") "size" "lg") }}
|
||||
{{ with site.GetPage "bonuses" }}<a href="{{ .RelPermalink }}" class="btn border-2 border-white/80 text-white hover:bg-white hover:text-secondary">{{ i18n "seeBonuses" }}</a>{{ end }}
|
||||
</div>
|
||||
<p class="mt-5 text-sm text-white/70"><span data-age-value>{{ $brand.ageRestrictionDefault }}</span>+ only • T&Cs apply • Please gamble responsibly</p>
|
||||
<p class="mt-5 text-sm text-white/70"><span data-age-value>{{ $brand.ageRestrictionDefault }}</span>+ {{ i18n "termsResponsible" }}</p>
|
||||
</div>
|
||||
<div class="relative">
|
||||
{{ $hero := resources.Get "images/hero.png" }}
|
||||
@@ -57,16 +57,27 @@
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{/* The homepage uses the same accessible FAQ source and accordion as /faq/. */}}
|
||||
<section class="site-container section pt-0" aria-labelledby="home-faq-heading">
|
||||
<div class="mb-6 max-w-3xl">
|
||||
<p class="eyebrow">{{ i18n "playerHelp" }}</p>
|
||||
<h2 id="home-faq-heading" class="mt-2 text-2xl font-bold">{{ i18n "frequentlyAskedQuestions" }}</h2>
|
||||
<p class="mt-2 text-secondary/70">{{ i18n "faqIntro" }}</p>
|
||||
</div>
|
||||
{{ partial "faq-accordion.html" . }}
|
||||
{{ with site.GetPage "faq" }}<p class="mt-5 text-center"><a href="{{ .RelPermalink }}" class="font-semibold text-primary">{{ i18n "viewAllFaq" }} →</a></p>{{ end }}
|
||||
</section>
|
||||
|
||||
{{/* Quick shortcuts */}}
|
||||
<section class="site-container section pt-0">
|
||||
<h2 class="mb-6 text-2xl font-bold">Start here</h2>
|
||||
<h2 class="mb-6 text-2xl font-bold">{{ i18n "startHere" }}</h2>
|
||||
<div class="grid gap-4 sm:grid-cols-3">
|
||||
{{- range slice "registration" "slots" "bonuses" -}}
|
||||
{{ with site.GetPage . }}
|
||||
<a href="{{ .RelPermalink }}" class="card card-hover block no-underline">
|
||||
<span class="badge-primary">{{ .LinkTitle }}</span>
|
||||
<p class="mt-2 text-secondary/70">{{ .Params.description | truncate 90 }}</p>
|
||||
<span class="mt-3 inline-block font-semibold text-primary">Explore →</span>
|
||||
<span class="mt-3 inline-block font-semibold text-primary">{{ i18n "explore" }} →</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
@@ -78,8 +89,8 @@
|
||||
{{ with $featured }}
|
||||
<section class="site-container section pt-0">
|
||||
<div class="mb-6 flex items-end justify-between">
|
||||
<h2 class="text-2xl font-bold">Featured games</h2>
|
||||
{{ with site.GetPage "slots" }}<a href="{{ .RelPermalink }}" class="font-semibold text-primary">All games →</a>{{ end }}
|
||||
<h2 class="text-2xl font-bold">{{ i18n "featuredGames" }}</h2>
|
||||
{{ with site.GetPage "slots" }}<a href="{{ .RelPermalink }}" class="font-semibold text-primary">{{ i18n "allGames" }} →</a>{{ end }}
|
||||
</div>
|
||||
<div class="grid gap-5 sm:grid-cols-2 lg:grid-cols-4">
|
||||
{{- range first 4 . -}}
|
||||
|
||||
Reference in New Issue
Block a user