Skip to content

Commit 75a73df

Browse files
committed
Contribution guide subdivided
1 parent cbb90c4 commit 75a73df

File tree

6 files changed

+365
-346
lines changed

6 files changed

+365
-346
lines changed

src/docs/DocsNavigation/DocsSidebar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646
4747
// Reactive
48-
$: classesActive = (href: string) => ($storeCurrentUrl === href ? '!bg-primary-500' : '');
48+
$: classesActive = (href: string) => ($storeCurrentUrl?.includes(href) ? '!bg-primary-500' : '');
4949
</script>
5050

5151
<div class="m-4 mb-20 {$$props.class ?? ''}">

src/docs/DocsNavigation/links.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const menuNavLinks: any = [
1717
list: [
1818
{ href: '/docs/why', label: 'Why Skeleton' },
1919
{ href: '/docs/comparisons', label: 'Comparisons' },
20-
{ href: '/docs/features', label: 'Features', badge: 'New!' },
20+
{ href: '/docs/features', label: 'Features' },
2121
{ href: '/docs/scaffold', label: 'Scaffold a Project' },
2222
{ href: '/docs/contributions', label: 'Contributions' }
2323
]

src/routes/(inner)/components/tabs/+page.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
['<kbd>Shift + Tab</kbd> ', 'Moves focus to the previous focusable Tab.'],
5050
['<kbd>Home</kbd>', 'Moves focus to the first tab.'],
5151
['<kbd>End</kbd>', 'Moves focus to the last tab.'],
52-
['<kbd>Space</kbd> or <kbd>Enter</kbd>', 'Activates the tab if it was not activated automatically on focus.'],
52+
['<kbd>Space</kbd> or <kbd>Enter</kbd>', 'Activates the tab if it was not activated automatically on focus.']
5353
]
5454
};
5555
</script>
@@ -134,7 +134,9 @@
134134
<h2>Usage</h2>
135135
<CodeBlock
136136
language="typescript"
137-
code={`import type { Writable } from "svelte/store";
137+
code={`
138+
import { writable, type Writable } from "svelte/store";
139+
138140
let storeTab: Writable<string> = writable('a');`}
139141
/>
140142
<CodeBlock

0 commit comments

Comments
 (0)