<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Components on John's Blog</title><link>https://portfolio.hugo-themes.com/tags/components/</link><description>Recent content in Components on John's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 02 Nov 2026 14:00:00 +0600</lastBuildDate><atom:link href="https://portfolio.hugo-themes.com/tags/components/rss.xml" rel="self" type="application/rss+xml"/><item><title>Rich Media, Mermaid Diagrams, and Nested Sections</title><link>https://portfolio.hugo-themes.com/posts/diagrams-media-and-embeds/</link><pubDate>Mon, 02 Nov 2026 14:00:00 +0600</pubDate><guid>https://portfolio.hugo-themes.com/posts/diagrams-media-and-embeds/</guid><description>&lt;p&gt;Instead of maintaining deep folder trees on disk, posts stay flat while front-matter &lt;code&gt;categories&lt;/code&gt; and &lt;code&gt;subcategories&lt;/code&gt; organize navigation into an expandable hierarchy (&lt;code&gt;Authoring -&amp;gt; Rich Media&lt;/code&gt;) with matching breadcrumbs above.&lt;/p&gt;
&lt;h2 id="architecture-diagrams-with-mermaid"&gt;Architecture diagrams with Mermaid&lt;/h2&gt;
&lt;p&gt;When &lt;code&gt;mermaid: true&lt;/code&gt; is set (or a &lt;code&gt;mermaid&lt;/code&gt; shortcode is present), &lt;code&gt;blog/post-assets.html&lt;/code&gt; bundles Mermaid diagram rendering exclusively for pages that use it.&lt;/p&gt;
&lt;h3 id="request-pipeline-flowchart"&gt;Request pipeline flowchart&lt;/h3&gt;
&lt;pre class="modern-mermaid" data-align="center"&gt;
flowchart LR
A[Markdown &amp; Front Matter] --&gt; B[Hugo Content Tree]
B --&gt; C{Modern Blog Feature?}
C --&gt;|Yes| D[Modern Archive &amp; Reader]
C --&gt;|No| E[Legacy Bootstrap Layout]
&lt;/pre&gt;
&lt;h3 id="search-sequence-diagram"&gt;Search sequence diagram&lt;/h3&gt;
&lt;pre class="modern-mermaid" data-align="center"&gt;
sequenceDiagram
participant Reader
participant Dialog as Search Dialog
participant Index as Scoped JSON Index
Reader-&gt;&gt;Dialog: Press Cmd+K / Click Search
Dialog-&gt;&gt;Index: Lazy fetch language index
Index--&gt;&gt;Dialog: Matching posts &amp; snippets
Reader-&gt;&gt;Dialog: Arrow keys / Enter -&gt; Navigate
&lt;/pre&gt;
&lt;h2 id="co-located-media-bundles--html5-video"&gt;Co-located media bundles &amp;amp; HTML5 video&lt;/h2&gt;
&lt;p&gt;Images inside nested &lt;code&gt;images/&lt;/code&gt; subdirectories resolve cleanly via bundle resource URLs:&lt;/p&gt;</description></item><item><title>Modern Components, Callouts, and Responsive Images</title><link>https://portfolio.hugo-themes.com/posts/components-and-callouts/</link><pubDate>Sat, 24 Oct 2026 11:30:00 +0600</pubDate><guid>https://portfolio.hugo-themes.com/posts/components-and-callouts/</guid><description>&lt;p&gt;Enabled modern blog pages unlock Toha&amp;rsquo;s semantic component shortcodes alongside classic theme shortcodes, sharing exact visual tokens across light and dark modes.&lt;/p&gt;
&lt;h2 id="callouts--legacy-alert-compatibility"&gt;Callouts &amp;amp; legacy alert compatibility&lt;/h2&gt;
&lt;p&gt;Modern callouts communicate status clearly without heavy visual noise. Use &lt;code&gt;{{&amp;lt; callout &amp;gt;}}&lt;/code&gt; with &lt;code&gt;info&lt;/code&gt;, &lt;code&gt;success&lt;/code&gt;, &lt;code&gt;warning&lt;/code&gt;, or &lt;code&gt;danger&lt;/code&gt; tones, or pair them with inline &lt;code&gt;badge&lt;/code&gt; chips: &lt;span class="not-prose inline-flex items-center rounded-md border px-2 py-0.5 text-xs font-medium border-primary/20 bg-primary/10 text-link"&gt;Modern UI&lt;/span&gt;
&lt;span class="not-prose inline-flex items-center rounded-md border px-2 py-0.5 text-xs font-medium border-border bg-muted text-muted-foreground"&gt;Zero Bootstrap&lt;/span&gt;
.&lt;/p&gt;</description></item></channel></rss>