mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore(ui-shell): rename slot to "skip-to-content"
This commit is contained in:
parent
4f2251b5e1
commit
8225a0869e
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@
|
||||||
<svelte:window bind:innerWidth={winWidth} />
|
<svelte:window bind:innerWidth={winWidth} />
|
||||||
|
|
||||||
<header role="banner" aria-label={ariaLabel} class:bx--header={true}>
|
<header role="banner" aria-label={ariaLabel} class:bx--header={true}>
|
||||||
<slot name="skip-to-main-content" />
|
<slot name="skip-to-content" />
|
||||||
{#if winWidth < 1056}
|
{#if winWidth < 1056}
|
||||||
<HamburgerMenu bind:isOpen={isSideNavOpen} />
|
<HamburgerMenu bind:isOpen={isSideNavOpen} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
|
|
||||||
{#if story === 'header'}
|
{#if story === 'header'}
|
||||||
<Header {...$$props} company={undefined}>
|
<Header {...$$props} company={undefined}>
|
||||||
<div slot="skip-to-main-content">
|
<div slot="skip-to-content">
|
||||||
<SkipToContent />
|
<SkipToContent />
|
||||||
</div>
|
</div>
|
||||||
<span slot="platform" class="platform-name">
|
<span slot="platform" class="platform-name">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue