diff --git a/sites/ainsley-clark/assets/scss/pages/home.scss b/sites/ainsley-clark/assets/scss/pages/home.scss index 39df8065..99d34857 100644 --- a/sites/ainsley-clark/assets/scss/pages/home.scss +++ b/sites/ainsley-clark/assets/scss/pages/home.scss @@ -31,8 +31,20 @@ @include media-mob { .card:first-child { - border-top: var(--card-border); margin: 0; + padding-top: 0; + } + } +} + +#media { + + // The vertical label scrolls with the section below desktop, in line + // with the surrounding content. + @include media-desk-down { + + [data-scroll-speed] { + transform: none !important; } } } diff --git a/sites/ainsley-clark/config/_default/menu.yaml b/sites/ainsley-clark/config/_default/menu.yaml index e7b2b031..84231dc2 100644 --- a/sites/ainsley-clark/config/_default/menu.yaml +++ b/sites/ainsley-clark/config/_default/menu.yaml @@ -5,7 +5,7 @@ navMain: weight: 10 - identifier: media name: Media - url: "/#media" + url: /media/ weight: 20 - identifier: skills name: Skills @@ -26,7 +26,7 @@ footer: weight: 10 - identifier: media name: Media - url: "/#media" + url: /media/ weight: 20 - identifier: skills name: Skills @@ -62,6 +62,10 @@ schema: name: Home url: / weight: 10 + - identifier: media + name: Media + url: /media/ + weight: 15 - identifier: insights name: Insights url: /insights/ diff --git a/sites/ainsley-clark/content/conferences/gophercon-uk-2026/index.md b/sites/ainsley-clark/content/conferences/gophercon-uk-2026/index.md index 1fd09df0..db546784 100644 --- a/sites/ainsley-clark/content/conferences/gophercon-uk-2026/index.md +++ b/sites/ainsley-clark/content/conferences/gophercon-uk-2026/index.md @@ -3,7 +3,7 @@ title: How to Stay Passionate in Tech in the Age of AI description: How AI tooling is reshaping our sense of accomplishment as engineers, and nine practical ways to reclaim your passion and craft in this new era. heading: GopherCon UK 2026 talkTitle: How to Stay Passionate in Tech in the Age of AI -lead: The lines between human and AI labour are becoming increasingly blurred. This talk explores how AI tooling is quietly reshaping our sense of accomplishment as engineers, what the research says about effort, ownership and craft, and nine practical ways to reclaim your passion in this new era. +lead: This talk explores how AI tooling is quietly reshaping our sense of accomplishment as engineers, and practical ways to reclaim your passion in this new era. weight: 1 publishdate: 2026-07-21 pageColour: white diff --git a/sites/ainsley-clark/content/media/_index.md b/sites/ainsley-clark/content/media/_index.md new file mode 100644 index 00000000..c72277a5 --- /dev/null +++ b/sites/ainsley-clark/content/media/_index.md @@ -0,0 +1,9 @@ +--- +title: Media & Conference Talks +heading: Media +breadcrumbs: Media +lead: From GopherCon UK to London Gophers — a collection of conference talks, meetups and appearances on Go, platform engineering and building a lasting career in tech. +description: Conference talks, meetups and media appearances from Ainsley Clark — covering Go, microservices, platform engineering and careers in software. +sitemap: + priority: 0.8 +--- diff --git a/sites/ainsley-clark/layouts/conferences/single.html b/sites/ainsley-clark/layouts/conferences/single.html index 8178a601..e6d3e3c1 100644 --- a/sites/ainsley-clark/layouts/conferences/single.html +++ b/sites/ainsley-clark/layouts/conferences/single.html @@ -12,7 +12,7 @@ ===================== -->
- +
+
+ {{ partial "components/all-articles.html" (dict + "link" "/media/" + "text" "All media" + "title" "View all conference talks" + "largeSubText" "Latest Talks" + "smallSubText" "Latest Talks" + "border" true + )}} +
{{ range . }} {{ .Render "card" }} diff --git a/sites/ainsley-clark/layouts/media/list.html b/sites/ainsley-clark/layouts/media/list.html new file mode 100644 index 00000000..d5cc8463 --- /dev/null +++ b/sites/ainsley-clark/layouts/media/list.html @@ -0,0 +1,57 @@ +{{ define "main" }} + + {{ $media := where site.RegularPages "Section" "in" (slice "conferences") }} +
+
+
+
+ + {{ with .Params.heading -}} +

+ {{ . | safeHTML }} +

+ {{- else -}} + {{ warnf "No heading param provided to page: %s" .RelPermalink }} + {{- end }} + + {{ with .Params.lead -}} +

+ {{ . }} +

+ {{- end }} +
+
+
+
+ + {{ $paginator := .Paginate $media.ByDate.Reverse 14 -}} + {{ if $paginator.Pages -}} +
+
+ +
+ {{ range $paginator.Pages -}} +
+ {{ .Render "card" }} +
+ {{- end }} +
+ +
+
+ {{ partial "components/pagination.html" (dict + "prev" $paginator.Prev + "next" $paginator.Next + )}} +
+
+
+
+ {{- end }} +{{ end }} diff --git a/vercel.json b/vercel.json index 66d202d7..ae449531 100644 --- a/vercel.json +++ b/vercel.json @@ -80,6 +80,12 @@ "permanent": true, "has": [{"type": "host", "value": "ainsley\\.dev"}] }, + { + "source": "/conferences/", + "destination": "/media/", + "permanent": true, + "has": [{"type": "host", "value": "ainsleyclark\\.com"}] + }, { "source": ",/:path((?!compatible).*)", "has": [