This commit is contained in:
Devon (tek256)
2024-11-20 03:02:32 -08:00
parent 7f99038c33
commit 106b515c12
7 changed files with 51 additions and 20 deletions

View File

@@ -9,28 +9,28 @@
{{ end }}
<div class="container relative mx-auto" style="z-index: 12;">
{{ if .live_banner }}
{{ partial "components/live_banner.html" . }}
{{ end }}
<div class="row justify-center">
{{ if not .hide_banner_img }}
<div class="col-12">
{{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }}
</div>
{{ end }}
<iframe
src="https://player.twitch.tv/?channel=abnercoimbre&parent=handmadecities.com"
height="480"
width="854"
allowfullscreen
></iframe>
{{ if .triple_section }}
{{ partial "components/triple_section.html" . }}
{{ end }}
<div class="lg:col-7 md:col-9 mb-8 text-center">
{{ if not .hide_title_after_banner }}
<h1 class="mb-8 text-h2 lg:-texth2">
{{ .title | markdownify }}
</h1>
<p> Devon was here </p>
{{ end }}
<p class="mb-8 text-white">
{{ .content | markdownify }}
</p>

View File

@@ -9,18 +9,15 @@
{{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }}
</div>
{{ end }}
{{ if .live_banner }}
{{ partial "components/live_banner.html" . }}
{{ end }}
{{ if .triple_section}}
{{ partial "components/triple_section" . }}
{{ end }}
<iframe
src="https://player.twitch.tv/?channel=abnercoimbre&parent=handmadecities.com"
height="480"
width="854"
allowfullscreen
></iframe>
<div class="lg:col-7 md:col-9 mb-8 text-center">
<h1 class="mb-8 mt-10 text-h3 lg:-texth1">
{{ .title | markdownify }}

View File

@@ -35,6 +35,7 @@
{{ $button_global_class := .buttons_class }}
{{ $buttons_row_class := .buttons_row_class }}
{{ if .buttons }}
<div class="col-1"></div>
<div class="col-10 {{ $buttons_row_class }}">
{{ range $i, $button := .buttons }}
<a href="{{ $button.link }}" class="{{ $button.class }} {{ $button_global_class }}" title="{{ $button.title }}">{{