feat(site): a few loading optimizations (#193)

This commit is contained in:
Darius Cepulis
2025-11-18 11:25:47 -06:00
committed by GitHub
parent ec700e5ebd
commit 5a449832fd
20 changed files with 163 additions and 160 deletions
@@ -115,7 +115,7 @@ const jsonLdSchema = createTechArticleSchema({
"
>
<div class="lg:hidden" style="grid-area: selectors;">
<Selectors client:load currentFramework={framework} currentStyle={style} currentSlug={slug} />
<Selectors client:idle currentFramework={framework} currentStyle={style} currentSlug={slug} />
</div>
<div
class="sticky overflow-y-auto z-30"
@@ -145,7 +145,7 @@ const jsonLdSchema = createTechArticleSchema({
<H3 as="h1" class="mt-0 mb-2">{getDocTitle(doc, framework)}</H3>
<p class="@lg:font-medium">{doc.data.description}</p>
</div>
<CopyMarkdownButton client:load />
<CopyMarkdownButton client:idle />
</header>
<Content components={{ ...defaultMarkdownComponents }} />
</article>