HMS '24: Embed Twitch player and enable Donate button

main
Abner Coimbre 2024-11-20 00:59:59 -08:00
parent c14d236218
commit 7f99038c33
4 changed files with 23 additions and 10 deletions

View File

@ -53,11 +53,11 @@ banner:
icon: "fa fa-ticket pl-2"
class: "btn text-white seattle-bg"
button2:
enable: false
label: "Twitch"
link: "https://twitch.tv/abnercoimbre"
icon: "fab fa-twitch pl-2"
class: "btn bg-purple-700 dark:bg-purple-700 dark:text-white hover:bg-purple-800 mt-6 text-white"
enable: true
label: "Donate"
link: "https://donorbox.org/handmadecities"
icon: "fa fa-gift pl-2"
class: "btn bg-red-700 dark:bg-red-700 dark:text-white hover:bg-red-800 mt-6 text-white"
# Features
features:

View File

@ -30,11 +30,11 @@ banner:
icon: "fa fa-ticket pl-2"
class: "btn text-white seattle-bg"
button2:
enable: false
label: "Twitch"
link: "https://twitch.tv/abnercoimbre"
icon: "fab fa-twitch pl-2"
class: "btn bg-purple-700 dark:bg-purple-700 dark:text-white hover:bg-purple-800 mt-6 text-white"
enable: true
label: "Donate"
link: "https://donorbox.org/handmadecities"
icon: "fa fa-gift pl-2"
class: "btn bg-red-700 dark:bg-red-700 dark:text-white hover:bg-red-800 mt-6 text-white"
# Features
features:

View File

@ -16,6 +16,12 @@
</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" . }}

View File

@ -14,6 +14,13 @@
{{ 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 }}