|
2 | 2 |
|
3 | 3 | {{ define "extrahead" }} |
4 | 4 | <style> |
5 | | - #cover { |
6 | | - background: linear-gradient(to bottom, #5B0559B8, #04002DB5); |
7 | | - } |
8 | | - |
9 | | - #titles { |
10 | | - text-shadow: #30152f 0 0 15px; |
11 | | - } |
12 | | - |
13 | 5 | @media screen and (min-width: 35em) { |
14 | 6 | #pizza-bio { |
15 | 7 | max-width: 400px; |
|
18 | 10 | </style> |
19 | 11 | {{ end }} |
20 | 12 |
|
21 | | -{{ define "content" }} |
22 | | -<div class="h6-ns cover bg-center relative flex flex-column" style="background-image: url(/public/expos/skyline-1920.jpg)"> |
23 | | - <div id="cover" class="absolute absolute--fill"></div> |
24 | | - <div class="ph3 pv5 flex-grow-1 flex flex-column g3 justify-center items-center relative z-1"> |
25 | | - <div id="titles" class="flex flex-column g2 tc"> |
26 | | - <h1 class="f2 f1-ns" style="line-height: 1.1">Handmade Network Expo</h1> |
27 | | - <p>One day of demos, brainstorming, and socializing in Vancouver, BC. June 6, 2026.</p> |
28 | | - </div> |
29 | | - <div class="flex g3"> |
30 | | - {{ if .ViewTicketUrl }} |
31 | | - <a class="btn btn-primary" href="{{ .ViewTicketUrl }}">View your ticket</a> |
32 | | - {{ else if .ContinuePurchaseUrl }} |
33 | | - <a class="btn btn-primary" href="{{ .ContinuePurchaseUrl }}">Continue your purchase</a> |
34 | | - {{ else if .SoldOut }} |
35 | | - <div class="btn btn-primary disabled">Sold out!</div> |
36 | | - {{ else }} |
37 | | - <a class="btn btn-primary" href="{{ .BuyTicketUrl }}">Get your ticket</a> |
38 | | - {{ end }} |
39 | | - </div> |
| 13 | +{{ define "expo-2026-header-content" }} |
| 14 | +<div class="ph3 pv5 flex-grow-1 flex flex-column g3 justify-center items-center relative z-1"> |
| 15 | + <div id="titles" class="flex flex-column g2 tc"> |
| 16 | + <h1 class="f2 f1-ns" style="line-height: 1.1">Handmade Network Expo</h1> |
| 17 | + <p>One day of demos, brainstorming, and socializing in Vancouver, BC. June 6, 2026.</p> |
| 18 | + </div> |
| 19 | + <div class="flex g3"> |
| 20 | + {{ if .ViewTicketUrl }} |
| 21 | + <a class="btn btn-primary" href="{{ .ViewTicketUrl }}">View your ticket</a> |
| 22 | + {{ else if .ContinuePurchaseUrl }} |
| 23 | + <a class="btn btn-primary" href="{{ .ContinuePurchaseUrl }}">Continue your purchase</a> |
| 24 | + {{ else if .SoldOut }} |
| 25 | + <div class="btn btn-primary disabled">Sold out!</div> |
| 26 | + {{ else }} |
| 27 | + <a class="btn btn-primary" href="{{ .BuyTicketUrl }}">Get your ticket</a> |
| 28 | + {{ end }} |
40 | 29 | </div> |
41 | 30 | </div> |
| 31 | +{{ end }} |
| 32 | + |
| 33 | +{{ define "content" }} |
| 34 | +{{ template "expo-2026-header" . }} |
42 | 35 | <div class="flex justify-center"> |
43 | 36 | <div class="ph3 pv4 w-100 mw-site post-content"> |
44 | 37 | <h3>It's time to meet up again.</h3> |
|
0 commit comments