Skip to content

Conversation

@ubmit
Copy link
Owner

@ubmit ubmit commented Jan 25, 2026

Summary

  • Add talks content collection w/ schema for event, slides, recording
  • Create /talks list page & dynamic routing
  • Create Talk.astro layout (similar to BlogPost but w/ talk-specific metadata)
  • Move FP intro post from blog → talks
  • Add talks section to homepage

Test plan

  • Build passes (astro check)
  • /talks page renders list
  • /talks/introduction-to-functional-programming-in-javascript renders properly
  • Homepage shows talks section
  • Talk layout displays metadata correctly

🤖 Generated with Claude Code

- add talks content collection
- create /talks page & routing
- create Talk layout component
- move FP post from blog to talks
- add talks section to homepage

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 25, 2026

Deploying ubmit-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: a740f6a
Status: ✅  Deploy successful!
Preview URL: https://afa0c6f1.ubmit-dev.pages.dev
Branch Preview URL: https://gui-add-talks-section.ubmit-dev.pages.dev

View logs

ubmit and others added 7 commits January 25, 2026 10:10
- install mermaid lib
- create MermaidInit component
- add to BlogPost & Talk layouts
- add prose styles for diagrams
- convert text diagrams to mermaid in prompts talk

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- remove bold from code snippets in prose
- replace emojis with text symbols (+ - * !)
- use rehype-mermaid for proper diagram rendering
- remove client-side mermaid init (build-time rendering)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add explicit generateId to talks glob loader to prevent
dev-time duplicate ID warnings.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Reorder: Figma MCP → agent-browser → json-render
- Update intro list to match new order
- Update key takeaways section
- Fix generateId to prevent duplicate warnings

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
claude and others added 4 commits January 28, 2026 17:50
Add rehype-mermaid plugin to render Mermaid diagrams as inline SVGs
at build time. This fixes the issue where Mermaid code blocks were
displayed as raw code instead of being rendered as diagrams.
@ubmit ubmit force-pushed the gui/add-talks-section branch from 94ba82c to 2fb698b Compare January 28, 2026 17:53
@ubmit ubmit force-pushed the gui/add-talks-section branch from 7b8a1d0 to b58406c Compare January 28, 2026 19:07
ubmit added 4 commits January 28, 2026 19:32
rehype-mermaid runs after Shiki syntax highlighting, causing Mermaid code blocks to be treated as regular code instead of diagrams. remark-mermaidjs runs earlier in the pipeline (on markdown AST) before Shiki, properly converting diagrams to SVG.
- Center diagrams using flexbox on parent paragraph
- Add light mode colors using gray-200 fills with gray-700 strokes
- Add dark mode colors using gray-300 fills with gray-600 strokes
- Text uses gray-1200 (light) and gray-1100 (dark) for readability
- Diagrams now adapt to system color scheme preference
@ubmit ubmit force-pushed the gui/add-talks-section branch from b58406c to 0cd0823 Compare January 28, 2026 19:55
@ubmit ubmit merged commit d14fb01 into main Jan 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants