{{ define "main" }} {{ $brand := .Site.Data.brand }} {{/* Hero */}}

{{ $brand.name }}

{{ .Params.h1 | default .Title }}

{{ .Params.description | default $brand.tagline }}

{{ partial "cta-button.html" (dict "page" . "text" (i18n "playNow") "size" "lg") }} {{ with site.GetPage "bonuses" }}{{ i18n "seeBonuses" }}{{ end }}

{{ $brand.ageRestrictionDefault }}+ {{ i18n "termsResponsible" }}

{{ $hero := resources.Get "images/hero.png" }}
{{ partial "responsive-image.html" (dict "resource" $hero "alt" (printf "%s highlights" $brand.name) "loading" "eager" "class" "w-full" "widths" (slice 600 900 1200) "sizes" "(min-width:1024px) 50vw, 100vw") }}
{{/* USP blocks */}} {{ with .Params.usps }}
{{- range . -}}
{{- if .icon -}} {{- else -}} {{- end -}}

{{ .title }}

{{ .text }}

{{- end -}}
{{ end }} {{/* Editorial intro (from _index.md body) */}} {{ with .Content }}
{{ . }}
{{ end }} {{/* The homepage uses the same accessible FAQ source and accordion as /faq/. */}}

{{ i18n "playerHelp" }}

{{ i18n "frequentlyAskedQuestions" }}

{{ i18n "faqIntro" }}

{{ partial "faq-accordion.html" . }} {{ with site.GetPage "faq" }}

{{ i18n "viewAllFaq" }} →

{{ end }}
{{/* Quick shortcuts */}}

{{ i18n "startHere" }}

{{- range slice "registration" "slots" "bonuses" -}} {{ with site.GetPage . }} {{ .LinkTitle }}

{{ .Params.description | truncate 90 }}

{{ i18n "explore" }} →
{{ end }} {{- end -}}
{{/* Featured games */}} {{ $featured := where (where .Site.RegularPages "Section" "slots") "Params.featured" true }} {{ with $featured }}

{{ i18n "featuredGames" }}

{{ with site.GetPage "slots" }}{{ i18n "allGames" }} →{{ end }}
{{- range first 4 . -}} {{ $img := .Resources.GetMatch "thumb.*" }}
{{ partial "responsive-image.html" (dict "resource" $img "alt" .Title "class" "h-full w-full object-cover" "widths" (slice 300 600)) }}
{{ .Params.provider }}

{{ .Title }}

{{- end -}}
{{ end }} {{ partial "related-pages.html" . }} {{ end }}