mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs: prefetch links
This commit is contained in:
parent
3fa388bd3d
commit
5eebd49037
2 changed files with 9 additions and 1 deletions
|
@ -64,6 +64,7 @@
|
|||
<SideNavLink
|
||||
text="Getting Started"
|
||||
href="getting-started"
|
||||
rel="prefetch"
|
||||
isSelected={segment === 'getting-started'} />
|
||||
<SideNavMenu
|
||||
text="Components"
|
||||
|
@ -72,10 +73,12 @@
|
|||
<SideNavMenuItem
|
||||
text="Index"
|
||||
href="components"
|
||||
rel="prefetch"
|
||||
isSelected={segment === 'components' && $tail && $tail.slug === 'index'} />
|
||||
<SideNavMenuItem
|
||||
text="Button"
|
||||
href="components/button"
|
||||
rel="prefetch"
|
||||
isSelected={segment === 'components' && $tail && $tail.slug === 'button'} />
|
||||
</SideNavMenu>
|
||||
</SideNavItems>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue