diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 73b9f5c..e3d7b1e 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -81,7 +81,7 @@ .frontpage-stream-container { max-height: calc(75vh); - min-height: 36rem; + min-height: 34rem; aspect-ratio: 16 / 9; } diff --git a/content/english/_index.md b/content/english/_index.md index 7ff90d3..a2faaea 100644 --- a/content/english/_index.md +++ b/content/english/_index.md @@ -19,9 +19,12 @@ banner: buttons_class: "p-2 px-3" buttons_row_class: "mt-4 text-white gap-4" buttons: - - title: "Join Private Chat" - link: "https://chat.handmadecities.com" + - title: " Tickets" + link: "/tickets" class: "btn seattle-bg" + - title: " Donate" + link: "https://donorbox.org/handmadecities" + class: "btn bg-red-700" - title: "Twitch" link: "https://twitch.tv/abnercoimbre" class: "btn meetups-bg" diff --git a/content/english/media/seattle-2023/eon.md b/content/english/media/seattle-2023/eon.md index a5d5313..819fcc1 100644 --- a/content/english/media/seattle-2023/eon.md +++ b/content/english/media/seattle-2023/eon.md @@ -4,7 +4,7 @@ mediatype="chat" conference="seattle-2023" date="2023-11-15T11:00:00-08:00" description="What can we learn from demo groups trying to coax 40yo hardware into doing things its designers never imagined?" -thumbnail="/images/thumbnails/2023HMSEon.png" +thumbnail="/images/image-placeholder.png" [[videos]] title="Eon: An Amiga 500 Demo" diff --git a/content/english/seattle/index.md b/content/english/seattle/index.md index 639872e..65f0019 100644 --- a/content/english/seattle/index.md +++ b/content/english/seattle/index.md @@ -7,6 +7,34 @@ draft: false layout: year_page banner: title: "Handmade Seattle 2024" + live_banner: + enable: true + use_twitch: true + use_youtube: false + title: "Handmade Seattle 2024" + title_class: "text-white mb-4" + twitch_channel: "abnercoimbre" + youtube_channel_id: "UCkiOutDcOG0KRLQc71Pd-Fg" # found at: https://www.youtube.com/account_advanced, is currently yt/handmadecities + section_class: "pb-36 row" + buttons_class: "p-2 px-3" + buttons_row_class: "mt-4 text-white gap-4" + buttons: + - title: " Tickets" + link: "/tickets" + class: "btn seattle-bg" + - title: " Donate" + link: "https://donorbox.org/handmadecities" + class: "btn bg-red-700" + - title: "Twitch" + link: "https://twitch.tv/abnercoimbre" + class: "btn meetups-bg" + icon_only: true + icon: "fa-brands fa-twitch" + - title: "YouTube" + link: "https://youtube.com/handmadecities" + class: "btn bg-[#ff0000]" + icon_only: true + icon: "fa-brands fa-youtube" content: "We are the largest indie conferences for low-level programmers.
Proud to be __Fully Hybrid__.
" content_bottom: "**Seattle Center**
Nesholm Family Lecture Hall

**Nov 20th - 22nd, 2024**
Private Hangouts on Friday, Nov 22nd" content_bottom_class: "mt-20 mb-20 text-white" @@ -17,6 +45,8 @@ banner: bg_class: "z-0 bg-[rgba(0,0,0,0.5)]" image: "/images/hms/seattle-dark-mode.svg" hide_banner_img: true + hide_title_after_banner: true + section_class: "bg-black pb-0" transition: end: "/images/transition2.svg" end_class: "transform -scale-y-100 -scale-x-100" @@ -24,13 +54,13 @@ banner: end_dark: "/images/transition2.svg" end_dark_color: "#150e31" button: - enable: true + enable: false label: "Tickets" link: "/tickets" icon: "fa fa-ticket pl-2" class: "btn text-white seattle-bg" button2: - enable: true + enable: false label: "Donate" link: "https://donorbox.org/handmadecities" icon: "fa fa-gift pl-2" diff --git a/layouts/_default/year_page.html b/layouts/_default/year_page.html index bfed565..94e4aea 100644 --- a/layouts/_default/year_page.html +++ b/layouts/_default/year_page.html @@ -9,28 +9,28 @@ {{ end }}
+ {{ if .live_banner }} + {{ partial "components/live_banner.html" . }} + {{ end }} +
{{ if not .hide_banner_img }}
{{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }}
{{ end }} - - {{ if .triple_section }} {{ partial "components/triple_section.html" . }} {{ end }}
+ {{ if not .hide_title_after_banner }}

{{ .title | markdownify }}

+

Devon was here

+ {{ end }}

{{ .content | markdownify }}

diff --git a/layouts/index.html b/layouts/index.html index 6eef959..d938855 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,18 +9,15 @@ {{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }}
{{ end }} + + {{ if .live_banner }} + {{ partial "components/live_banner.html" . }} + {{ end }} {{ if .triple_section}} {{ partial "components/triple_section" . }} {{ end }} - -

{{ .title | markdownify }} diff --git a/layouts/partials/components/live_banner.html b/layouts/partials/components/live_banner.html index aa038dd..927f358 100644 --- a/layouts/partials/components/live_banner.html +++ b/layouts/partials/components/live_banner.html @@ -35,6 +35,7 @@ {{ $button_global_class := .buttons_class }} {{ $buttons_row_class := .buttons_row_class }} {{ if .buttons }} +
{{ range $i, $button := .buttons }} {{