diff --git a/assets/scss/utilities.scss b/assets/scss/utilities.scss index 154570e..7629ca9 100644 --- a/assets/scss/utilities.scss +++ b/assets/scss/utilities.scss @@ -18,3 +18,8 @@ .shadow { box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.05); } + +/* This was supposed to be in tailwind, but whatever... */ +.flex-shrink-0 { + flex-shrink: 0; +} diff --git a/content/english/media/_index.md b/content/english/media/_index.md new file mode 100644 index 0000000..69463d3 --- /dev/null +++ b/content/english/media/_index.md @@ -0,0 +1,3 @@ ++++ +title="Media" ++++ diff --git a/content/english/media/boston-2023/_index.md b/content/english/media/boston-2023/_index.md new file mode 100644 index 0000000..1f6a8b7 --- /dev/null +++ b/content/english/media/boston-2023/_index.md @@ -0,0 +1,5 @@ ++++ +title="Handmade Boston 2023" +date="2023-07-03T09:00:00-04:00" +enddate="2023-07-04T17:00:00-04:00" ++++ diff --git a/content/english/media/seattle-2023/_index.md b/content/english/media/seattle-2023/_index.md new file mode 100644 index 0000000..0ffcc11 --- /dev/null +++ b/content/english/media/seattle-2023/_index.md @@ -0,0 +1,5 @@ ++++ +title="Handmade Seattle 2023" +date="2023-11-15T09:00:00-08:00" +enddate="2023-11-17T17:00:00-08:00" ++++ diff --git a/content/english/tickets/index.md b/content/english/tickets/index.md index e519edb..0f39cdc 100644 --- a/content/english/tickets/index.md +++ b/content/english/tickets/index.md @@ -7,7 +7,7 @@ layout: "tickets" features: - title: "Tickets" - title_class: "text-center text-white mt-16" + title_class: "text-center text-white mt-8" side: "center" content_class: "mt-16 pt-0 pb-0 text-white" image: "/images/hmc/cities-light-mode.svg" @@ -16,10 +16,12 @@ features: img: "/images/devon_starfield.png" end_img: "/images/software-15.png" end_img_class: "relative h-96 bg-contain bg-bottom bg-repeat-x" + description: | + Handmade Seattle is a fully hybrid conference, and both physical and online tickets are available. Buying a ticket supports the conference and gains you access to the private chat server used for speaker Q&A, the virtual job fair, and more. tickets: - title: "Physical Track" title_class: "text-white" - subtitle: "Status: Early Bird" + subtitle: "Available now" subtitle_class: "text-white" section_class: "text-white" options: @@ -114,7 +116,7 @@ features: tickets: - title: "Online Track" title_class: "text-black dark:text-white" - subtitle: "Status: Early Bird" + subtitle: "Available now" subtitle_class: "text-black dark:text-white" section_class: "text-black dark:text-white" options: @@ -230,17 +232,20 @@ features: title: "Bravo all, looking forward to next time!" link: "https://twitter.com/QuadeZaban/status/1593991041430196225" avatar: "/images/people/quade.jpg" - content: "Has been a joy watching this conference grow, and this one may have been the best so far in my books!" + content: | + Has been a joy watching this conference grow, and this one may have been the best so far in my books! - name: "Hadjar Homaei, CTO [@compdem](https://twitter.com/compdem)" title: "Huge thanks to Abner Coimbre for making this possible! We appreciate you!" link: "https://twitter.com/xeegeex/status/1594056776508637184" avatar: "/images/people/hadjar.jpg" - content: "I had such a wonderful time at Handmade Seattle this week connecting with an amazing community of people who passionately love the craft of software development!" + content: | + I had such a wonderful time at Handmade Seattle this week connecting with an amazing community of people who passionately love the craft of software development! - name: "Alasdair Monk, VP of Design ▲ [@vercel](https://twitter.com/vercel)" title: "My first Handmade Seattle was so great." link: "https://twitter.com/almonk/status/1593439527351484416" avatar: "/images/people/alasdair.jpg" - content: "Abner Coimbre is a fantastic host & organiser with an important vision for building better software that benefits all of us, in his words: “reclaiming user value" + content: | + Abner Coimbre is a fantastic host & organiser with an important vision for building better software that benefits all of us, in his words: "reclaiming user value" --- \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4b1246b..6b72c62 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,7 +16,7 @@ - + {{ if hugo.IsProduction }} {{ partialCached "preloader.html" . }} @@ -39,7 +39,7 @@ {{ partial "search-modal.html" (dict "Context" . ) }} -
+
{{ block "main" . }}{{ end }}
diff --git a/layouts/media/section.html b/layouts/media/section.html new file mode 100644 index 0000000..abca1db --- /dev/null +++ b/layouts/media/section.html @@ -0,0 +1,22 @@ +{{ define "main" }} +
+
+ {{ $sections := slice . }} + {{ if .Sections }} + {{ $sections = .Sections.ByDate.Reverse }} + {{ end }} + {{ range $sections }} +
+
+

{{ .Title }}

+
+
+ {{ range .RegularPages.ByDate }} + {{ .Title }} + {{ end }} +
+
+ {{ end }} +
+
+{{ end }} diff --git a/layouts/partials/components/testimonials.html b/layouts/partials/components/testimonials.html index a792ddd..5b871cd 100644 --- a/layouts/partials/components/testimonials.html +++ b/layouts/partials/components/testimonials.html @@ -1,15 +1,15 @@ {{ if .testimonials }} -
+
{{ range $index, $testimonial := .testimonials }}
+ class="flex-shrink-0 mr-6 w-24 lg:w-32 object-cover rounded-lg"> {{ $img := resources.Get $testimonial.avatar }} - + -
+

"{{ $testimonial.title }}"

{{ $testimonial.content | markdownify }}

- {{ $testimonial.name | markdownify }} diff --git a/layouts/partials/components/ticket_list.html b/layouts/partials/components/ticket_list.html index 04432ab..3b168f8 100644 --- a/layouts/partials/components/ticket_list.html +++ b/layouts/partials/components/ticket_list.html @@ -1,13 +1,18 @@ {{ if .tickets }} -
+
+ {{ with .description }} +
+ {{ . | markdownify }} +
+ {{ end }} {{ $tickets := .tickets }} {{ range $index, $ticket := $tickets }} -

{{ $ticket.title }}

+

{{ $ticket.title }}

{{ $ticket.subtitle }}

{{/*
*/}}
+ class="grid grid-cols-1 gap-4 leading-7 text-gray-900 border-0 border-gray-200 py-4 sm:gap-6 md:gap-4 lg:grid-cols-2 {{ $ticket.section_class }}"> {{ range $option_index, $option := $ticket.options }} @@ -34,24 +39,34 @@
*/}} -
+

{{ $option.name | markdownify }}

{{ $option.title | markdownify }}

-
+
+ {{ $original_styles := "box-border text-light line-through text-2xl font-semibold leading-none border-solid" }} {{ if $option.original_price }} -

+

{{ $option.original_price | markdownify }}

{{ end }} -

$

-

- {{ $option.price | markdownify }} +

+

$

+

+ {{ $option.price | markdownify }} +

+
+ + {{/* to center the overall content */}} + {{ if $option.original_price }} + + {{ end }}
    {{ range $feature_index, $feature := $option.features }}