diff --git a/public/learningjam2024/2024LJOpenGraph.png b/public/learningjam2024/2024LJOpenGraph.png new file mode 100644 index 00000000..3e0ced13 Binary files /dev/null and b/public/learningjam2024/2024LJOpenGraph.png differ diff --git a/public/learningjam2024/2024LJTwitterCard.png b/public/learningjam2024/2024LJTwitterCard.png new file mode 100644 index 00000000..c6615921 Binary files /dev/null and b/public/learningjam2024/2024LJTwitterCard.png differ diff --git a/src/templates/src/landing.html b/src/templates/src/landing.html index 73c4e25e..82cc0cc1 100644 --- a/src/templates/src/landing.html +++ b/src/templates/src/landing.html @@ -2,6 +2,7 @@ {{ define "extrahead" }} + {{ end }} {{ define "content" }} @@ -119,22 +120,27 @@ text-align: center; } + #jam-banner .jam-logo { + height: 7.25rem; + } + #jam-banner h3 { - font-family: 'MohaveHMN', sans-serif; - font-weight: normal; - font-size: 2.2rem; - line-height: 0.8; + font-family: 'Inter', sans-serif; + font-weight: 700; + font-size: 2.31rem; + /* line-height: 0.8; */ margin: 0; - text-transform: uppercase; } + #jam-title-container { + line-height: 1.25; + } + #jam-details { - font-family: 'MohaveHMN', sans-serif; - font-variant: small-caps; + font-family: 'Inter', sans-serif; font-size: 1.2rem; - line-height: 0.8; - margin-top: 0.6rem; - letter-spacing: 0.02rem; + /* line-height: 0.8; */ + margin-top: 0.2rem; } #jam-learn-more { @@ -146,28 +152,57 @@ text-align: left; } - #jam-title-container { - padding-top: 0.2rem; - } + #jam-banner h3 { + font-size: 2.2rem; + } + + #jam-banner .jam-logo { + height: 5.25rem; + } } - +
-

The Learning Jam

+

Learning Jam

- March 15 - March 24. - {{ if gt .JamDaysUntilEnd 0 }} - {{ if eq .JamDaysUntilStart 0 }} - Happening now. - {{ else if eq .JamDaysUntilStart 1 }} - Starting tomorrow. - {{ else }} - In {{ .JamDaysUntilStart }} days. - {{ end }} - {{ else }} - See the results. - {{ end }} +
+
+ March 15-17. March 22-24. +
+
+ {{ if gt .JamDaysUntilEnd 0 }} + {{ if eq .JamDaysUntilStart 0 }} + Happening now. + {{ else if eq .JamDaysUntilStart 1 }} + Starting tomorrow. + {{ else }} + In {{ .JamDaysUntilStart }} days. + {{ end }} + {{ else }} + See the results. + {{ end }} +
+
+
+
+ March 15-17. +
+
+ March 22-24. + {{ if gt .JamDaysUntilEnd 0 }} + {{ if eq .JamDaysUntilStart 0 }} + Happening now. + {{ else if eq .JamDaysUntilStart 1 }} + Starting tomorrow. + {{ else }} + In {{ .JamDaysUntilStart }} days. + {{ end }} + {{ else }} + See the results. + {{ end }} +
+
diff --git a/src/website/jam.go b/src/website/jam.go index e7b976d4..e9c142ca 100644 --- a/src/website/jam.go +++ b/src/website/jam.go @@ -53,8 +53,8 @@ func JamIndex2024_Learning(c *RequestContext) ResponseData { baseData.OpenGraphItems = []templates.OpenGraphItem{ {Property: "og:site_name", Value: "Handmade Network"}, {Property: "og:type", Value: "website"}, - {Property: "og:image", Value: hmnurl.BuildPublic("learningjam2024/opengraph.png", true)}, - {Property: "og:description", Value: "Need desc"}, + {Property: "og:image", Value: hmnurl.BuildPublic("learningjam2024/2024LJOpenGraph.png", true)}, + {Property: "og:description", Value: "A two-weekend jam where you dive deep into a topic, then teach it to the rest of the community."}, {Property: "og:url", Value: hmnurl.BuildJamIndex2024_Learning()}, }