~/talk

Bring Content from Anywhere with Astro's Content Layer Loaders

Talkat CodeWord Conf 2024 · on Thursday, 2024-09-26· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Builds a custom Astro Content Layer loader that pulls content from Strapi, fetches the live schema, and generate Zod schema dynamically so API responses are type-checked at build time. The loader pattern requires three parts: a name, a load function that calls the Strapi API, and a schema supplier; the demo uses those to expose a Strapi loader collection that returns typed items. Pages render blocks (media, quote, rich text, slider) via a block renderer component and the example works end-to-end.

AI-written summary · about

  1. 0:00Introduction to Astro
  2. 1:04Hardcoding data in Astro
  3. 2:07Markdown content in Astro
  4. 2:49Content layer API basics
  5. 4:34Headless CMS benefits
  6. 6:20Custom loaders overview
  7. 7:23Creating a custom loader
  8. 9:30Rendering dynamic content
  9. 10:32Flexibility of Astro loaders
  10. 11:15Q&A and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.