|
1 | 1 | <script lang="ts"> |
2 | | - import { Columns } from "$lib/bulma/Columns"; |
3 | | - import { isColors, isSizes } from "$lib/bulma/common"; |
4 | | - import Container from "$lib/bulma/Container.svelte"; |
5 | | - import Content from "$lib/bulma/Content.svelte"; |
6 | | - import LinkButton from "$lib/bulma/LinkButton.svelte"; |
| 2 | + import { Columns } from '$lib/bulma/Columns'; |
| 3 | + import { isColors, isSizes } from '$lib/bulma/common'; |
| 4 | + import Container from '$lib/bulma/Container.svelte'; |
| 5 | + import Content from '$lib/bulma/Content.svelte'; |
| 6 | + import LinkButton from '$lib/bulma/LinkButton.svelte'; |
7 | 7 | </script> |
8 | 8 |
|
9 | 9 | <Content role="tabpanel"> |
|
12 | 12 | This <code>Tabs</code> component demonstrates hash routing on top of SvelteKit's built-in path routing. |
13 | 13 | </p> |
14 | 14 | <p> |
15 | | - Each one of these tabs, which are constructed using the <code>@svelte-router/core</code>'s <code><Link></code> |
| 15 | + Each one of these tabs, which are constructed using the <code>@svelte-router/core</code>'s |
| 16 | + <code><Link></code> |
16 | 17 | component, updates the hash path in the URL when clicked. |
17 | 18 | </p> |
18 | 19 | <p> |
|
23 | 24 | <Container> |
24 | 25 | <Columns.Root> |
25 | 26 | <Columns.Column size={2}> |
26 | | - <LinkButton isSize={isSizes.small} isColor={isColors.info} target="_blank" rel="noopener noreferrer" href="https://wjfe-n-savant.hashnode.space"> |
| 27 | + <LinkButton |
| 28 | + isSize={isSizes.small} |
| 29 | + isColor={isColors.info} |
| 30 | + target="_blank" |
| 31 | + rel="noopener noreferrer" |
| 32 | + href="https://wjfe-n-savant.hashnode.space" |
| 33 | + > |
27 | 34 | Online Docs |
28 | 35 | </LinkButton> |
29 | 36 | </Columns.Column> |
30 | 37 | <Columns.Column offset={3}> |
31 | | - <LinkButton isSize={isSizes.small} isColor={isColors.link} target="_blank" rel="noopener noreferrer" href="https://github.com/WJSoftware/svelte-router-kit"> |
32 | | - <i class="fab fa-github"></i> |
33 | | - GitHub Repository (extension package) |
| 38 | + <LinkButton |
| 39 | + isSize={isSizes.small} |
| 40 | + isColor={isColors.link} |
| 41 | + target="_blank" |
| 42 | + rel="noopener noreferrer" |
| 43 | + href="https://github.com/WJSoftware/svelte-router-kit" |
| 44 | + class="text-wrap" |
| 45 | + > |
| 46 | + <i class="fab fa-github"></i> GitHub Repository (extension package) |
34 | 47 | </LinkButton> |
35 | 48 | </Columns.Column> |
36 | 49 | <Columns.Column> |
37 | | - <LinkButton isSize={isSizes.small} isColor={isColors.link} target="_blank" rel="noopener noreferrer" href="https://github.com/WJSoftware/svelte-router"> |
38 | | - <i class="fab fa-github"></i> |
39 | | - GitHub Repository (core package) |
| 50 | + <LinkButton |
| 51 | + isSize={isSizes.small} |
| 52 | + isColor={isColors.link} |
| 53 | + target="_blank" |
| 54 | + rel="noopener noreferrer" |
| 55 | + href="https://github.com/WJSoftware/svelte-router" |
| 56 | + class="text-wrap" |
| 57 | + > |
| 58 | + <i class="fab fa-github"></i> GitHub Repository (core package) |
40 | 59 | </LinkButton> |
41 | 60 | </Columns.Column> |
42 | 61 | </Columns.Root> |
|
0 commit comments