mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): a few loading optimizations (#193)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user