From 649dfcb0e8f912b28b1de9d4e9a32ec06cdc4778 Mon Sep 17 00:00:00 2001 From: Abner Coimbre Date: Wed, 6 Nov 2024 16:58:48 -0800 Subject: [PATCH] Add HMS logo to conference page :) --- content/english/seattle/index.md | 3 ++- layouts/partials/components/features.html | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/content/english/seattle/index.md b/content/english/seattle/index.md index 4ffaf91..308c2f0 100644 --- a/content/english/seattle/index.md +++ b/content/english/seattle/index.md @@ -15,6 +15,7 @@ banner: parallax: false img: "/images/seattle_skyline.webp" bg_class: "z-0 bg-[rgba(0,0,0,0.5)]" + image: "/images/hms/seattle-dark-mode.svg" hide_banner_img: true transition: end: "/images/transition2.svg" @@ -39,7 +40,7 @@ banner: features: - title: "This Year’s Stars" title_class: "text-white mb-8 text-center" - image: "" + image: "/images/hms/seattle-dark-mode.svg" side: "center" bg_img: parallax: true diff --git a/layouts/partials/components/features.html b/layouts/partials/components/features.html index 12de0a8..c3fe3d1 100644 --- a/layouts/partials/components/features.html +++ b/layouts/partials/components/features.html @@ -35,6 +35,11 @@ {{ if .subtitle }}

{{ .subtitle }}

{{ end }} + {{ if .image }} +
+ {{ partial "image" (dict "Src" .image "Alt" "Banner" "Class" "w-1/3 h-1/3" ) }} +
+ {{ end }}

{{ .title | markdownify }}