@hyvor/design 0.0.67 → 0.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ActionList/ActionList.svelte +2 -7
- package/dist/components/ActionList/ActionListGroup.svelte +24 -29
- package/dist/components/ActionList/ActionListItem.svelte +86 -88
- package/dist/components/ActionList/Selected.svelte +17 -20
- package/dist/components/Avatar/Avatar.svelte +7 -11
- package/dist/components/Avatar/AvatarStack.svelte +16 -20
- package/dist/components/Base/Base.svelte +3 -3
- package/dist/components/Box/Box.svelte +8 -8
- package/dist/components/Button/Button.svelte +33 -42
- package/dist/components/Button/ButtonGroup.svelte +6 -6
- package/dist/components/Callout/Callout.svelte +88 -86
- package/dist/components/Callout/Callout.svelte.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.svelte +113 -121
- package/dist/components/CodeBlock/CodeBlock.svelte +26 -23
- package/dist/components/CodeBlock/getCode.js +6 -6
- package/dist/components/CodeBlock/hljs.scss +189 -191
- package/dist/components/CodeBlock/prism.scss +370 -7
- package/dist/components/ColorPicker/ColorPicker.svelte +42 -42
- package/dist/components/Dark/DarkProvider.svelte +9 -9
- package/dist/components/Dark/DarkToggle.svelte +7 -10
- package/dist/components/Divider/Divider.svelte +6 -7
- package/dist/components/Dropdown/Dropdown.svelte +33 -108
- package/dist/components/Dropdown/DropdownContent.svelte +120 -0
- package/dist/components/Dropdown/DropdownContent.svelte.d.ts +24 -0
- package/dist/components/FormControl/Caption.svelte +9 -9
- package/dist/components/FormControl/FormControl.svelte +18 -18
- package/dist/components/FormControl/InputGroup.svelte +7 -8
- package/dist/components/FormControl/Label.svelte +5 -5
- package/dist/components/FormControl/Validation.svelte +18 -16
- package/dist/components/FormControl/Validation.svelte.d.ts +1 -1
- package/dist/components/HyvorBar/BarProducts.svelte +52 -0
- package/dist/components/HyvorBar/BarProducts.svelte.d.ts +39 -0
- package/dist/components/HyvorBar/BarSupport.svelte +119 -0
- package/dist/components/HyvorBar/BarSupport.svelte.d.ts +19 -0
- package/dist/components/HyvorBar/BarUpdates.svelte +58 -0
- package/dist/components/HyvorBar/BarUpdates.svelte.d.ts +18 -0
- package/dist/components/HyvorBar/BarUpdatesList.svelte +134 -0
- package/dist/components/HyvorBar/BarUpdatesList.svelte.d.ts +18 -0
- package/dist/components/HyvorBar/BarUser.svelte +60 -0
- package/dist/components/HyvorBar/BarUser.svelte.d.ts +16 -0
- package/dist/components/HyvorBar/BarUserPreview.svelte +42 -0
- package/dist/components/HyvorBar/BarUserPreview.svelte.d.ts +14 -0
- package/dist/components/HyvorBar/HyvorBar.svelte +150 -0
- package/dist/components/HyvorBar/HyvorBar.svelte.d.ts +19 -0
- package/dist/components/HyvorBar/bar.d.ts +33 -0
- package/dist/components/HyvorBar/bar.js +74 -0
- package/dist/components/HyvorBar/img/G2.svelte +9 -0
- package/dist/components/HyvorBar/img/G2.svelte.d.ts +23 -0
- package/dist/components/HyvorBar/img/Trustpilot.svelte +11 -0
- package/dist/components/HyvorBar/img/Trustpilot.svelte.d.ts +23 -0
- package/dist/components/IconButton/IconButton.svelte +19 -23
- package/dist/components/IconMessage/IconMessage.svelte +89 -38
- package/dist/components/IconMessage/IconMessage.svelte.d.ts +9 -1
- package/dist/components/Internationalization/InternationalizationProvider.svelte +2 -2
- package/dist/components/Internationalization/InternationalizationProvider.svelte.d.ts +1 -1
- package/dist/components/Internationalization/LanguageToggle.svelte +33 -36
- package/dist/components/Internationalization/LanguageToggle.svelte.d.ts +2 -2
- package/dist/components/Internationalization/T.svelte.d.ts +3 -3
- package/dist/components/Internationalization/i18n.d.ts +4 -4
- package/dist/components/Internationalization/i18n.js +13 -11
- package/dist/components/Internationalization/t.d.ts +3 -3
- package/dist/components/Internationalization/t.js +4 -4
- package/dist/components/Internationalization/types.d.ts +1 -1
- package/dist/components/Link/Link.svelte +53 -58
- package/dist/components/Loader/LoadButton.svelte +15 -29
- package/dist/components/Loader/Loader.svelte +56 -69
- package/dist/components/Modal/ConfirmModalProvider.svelte +18 -36
- package/dist/components/Modal/Modal.svelte +134 -164
- package/dist/components/Modal/ModalFooter.svelte +23 -26
- package/dist/components/Modal/confirm.d.ts +1 -1
- package/dist/components/Modal/confirm.js +4 -4
- package/dist/components/Modal/modal-types.d.ts +2 -2
- package/dist/components/NavLink/NavLink.svelte +78 -86
- package/dist/components/Radio/Radio.svelte +23 -31
- package/dist/components/Slider/Slider.svelte +71 -79
- package/dist/components/SplitControl/SplitControl.svelte +28 -42
- package/dist/components/Switch/Switch.svelte +60 -65
- package/dist/components/TabNav/TabNav.svelte +6 -10
- package/dist/components/TabNav/TabNavItem.svelte +36 -43
- package/dist/components/Table/Table.svelte +7 -4
- package/dist/components/Table/TableRow.svelte +23 -23
- package/dist/components/Tag/Tag.svelte +28 -36
- package/dist/components/Text/Text.svelte +15 -22
- package/dist/components/TextInput/TextInput.svelte +26 -26
- package/dist/components/Textarea/Textarea.svelte +38 -38
- package/dist/components/Toast/ToastIcon.svelte +29 -31
- package/dist/components/Toast/ToastMessage.svelte +33 -39
- package/dist/components/Toast/ToastProvider.svelte +16 -16
- package/dist/components/Toast/cleaner.js +5 -5
- package/dist/components/Toast/toast.d.ts +2 -2
- package/dist/components/Toast/toast.js +10 -10
- package/dist/components/Tooltip/Tooltip.svelte +82 -83
- package/dist/components/directives/clickOutside.js +4 -4
- package/dist/components/directives/debounce.d.ts +1 -0
- package/dist/components/directives/debounce.js +8 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/index.css +31 -33
- package/dist/marketing/Container/Container.svelte +8 -8
- package/dist/marketing/Docs/Content/Content.svelte +8 -7
- package/dist/marketing/Docs/Content/DocsImage.svelte +52 -62
- package/dist/marketing/Docs/Docs.svelte +21 -24
- package/dist/marketing/Docs/Nav/Nav.svelte +21 -22
- package/dist/marketing/Docs/Nav/NavCategory.svelte +28 -28
- package/dist/marketing/Docs/Nav/NavItem.svelte +21 -24
- package/dist/marketing/Docs/Sidebar/Sidebar.svelte +22 -25
- package/dist/marketing/Docs/Toc.svelte +17 -19
- package/dist/marketing/Document/Document.svelte +5 -5
- package/dist/marketing/Document/DocumentTitle.svelte +49 -49
- package/dist/marketing/Footer/Footer.svelte +111 -119
- package/dist/marketing/Footer/FooterLinkList.svelte +24 -26
- package/dist/marketing/Header/Header.svelte +7 -15
- package/dist/marketing/Logo/LogoBlogs.svelte +41 -0
- package/dist/marketing/Logo/LogoBlogs.svelte.d.ts +16 -0
- package/dist/marketing/Logo/LogoCore.svelte +41 -0
- package/dist/marketing/Logo/LogoCore.svelte.d.ts +16 -0
- package/dist/marketing/Logo/LogoFortguard.svelte +49 -0
- package/dist/marketing/Logo/LogoFortguard.svelte.d.ts +16 -0
- package/dist/marketing/Logo/LogoTalk.svelte +27 -0
- package/dist/marketing/Logo/LogoTalk.svelte.d.ts +16 -0
- package/dist/stores/dark.js +8 -8
- package/dist/variables.scss +41 -48
- package/package.json +59 -58
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
</script>
|
|
3
3
|
|
|
4
4
|
<div class="nav-category">
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
<div class="name">
|
|
6
|
+
<span class="button-content">
|
|
7
|
+
{#if $$slots.start}
|
|
8
|
+
<span class="slot start"><slot name="start" /></span>
|
|
9
|
+
{/if}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
{#if $$slots.end}
|
|
12
|
+
<span class="slot end"><slot name="end" /></span>
|
|
13
|
+
{/if}
|
|
14
|
+
</span>
|
|
15
|
+
{name}
|
|
16
|
+
</div>
|
|
17
|
+
<div class="nav-items">
|
|
18
|
+
<slot />
|
|
19
|
+
</div>
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
22
|
<style>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
.nav-category {
|
|
24
|
+
margin-bottom: 20px;
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
.name {
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
padding: 10px 25px;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
.slot.start {
|
|
35
|
+
margin-right: 5px;
|
|
36
|
+
margin-left: 0;
|
|
37
|
+
display: flex;
|
|
38
|
+
}
|
|
39
39
|
</style>
|
|
@@ -2,33 +2,30 @@
|
|
|
2
2
|
export let href;
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
aria-current={href === $page.url.pathname ? "page" : undefined}
|
|
5
|
+
<a
|
|
6
|
+
{href}
|
|
7
|
+
class:active={href === $page.url.pathname}
|
|
8
|
+
aria-current={href === $page.url.pathname ? 'page' : undefined}
|
|
10
9
|
>
|
|
11
|
-
|
|
10
|
+
<slot />
|
|
12
11
|
</a>
|
|
13
12
|
|
|
14
13
|
<style>
|
|
14
|
+
a {
|
|
15
|
+
display: block;
|
|
16
|
+
padding: 4px 25px;
|
|
17
|
+
color: var(--text-light);
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
letter-spacing: 0.3px;
|
|
20
|
+
border-left: 3px solid transparent;
|
|
21
|
+
}
|
|
15
22
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
color: var(--text-light);
|
|
20
|
-
font-size: 14px;
|
|
21
|
-
letter-spacing: .3px;
|
|
22
|
-
border-left: 3px solid transparent;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
a:hover {
|
|
26
|
-
background-color: var(--hover);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
a.active {
|
|
30
|
-
background-color: var(--accent-lightest);
|
|
31
|
-
border-left: 3px solid var(--accent);
|
|
32
|
-
}
|
|
23
|
+
a:hover {
|
|
24
|
+
background-color: var(--hover);
|
|
25
|
+
}
|
|
33
26
|
|
|
34
|
-
|
|
27
|
+
a.active {
|
|
28
|
+
background-color: var(--accent-lightest);
|
|
29
|
+
border-left: 3px solid var(--accent);
|
|
30
|
+
}
|
|
31
|
+
</style>
|
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import Toc from '../Toc.svelte';
|
|
4
3
|
</script>
|
|
4
|
+
|
|
5
5
|
<div class="sidebar">
|
|
6
|
-
|
|
6
|
+
<Toc />
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
<style>
|
|
10
|
+
.sidebar {
|
|
11
|
+
width: 220px;
|
|
12
|
+
top: var(--header-height, 0);
|
|
13
|
+
padding: 25px 0;
|
|
14
|
+
position: sticky;
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
align-self: flex-start;
|
|
17
|
+
}
|
|
11
18
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
order: 1;
|
|
24
|
-
position: relative;
|
|
25
|
-
top: initial;
|
|
26
|
-
padding: 0 15px;
|
|
27
|
-
margin-bottom: 20px;
|
|
28
|
-
width: 100%;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
</style>
|
|
19
|
+
@media (max-width: 992px) {
|
|
20
|
+
.sidebar {
|
|
21
|
+
order: 1;
|
|
22
|
+
position: relative;
|
|
23
|
+
top: initial;
|
|
24
|
+
padding: 0 15px;
|
|
25
|
+
margin-bottom: 20px;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
</style>
|
|
@@ -35,24 +35,22 @@ function handleMobileClick(e) {
|
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
37
|
<div class="wrap hds-box">
|
|
38
|
+
<div class="mobile">
|
|
39
|
+
<Button color="input" on:click={handleMobileClick}>
|
|
40
|
+
Table of Contents
|
|
41
|
+
<svelte:fragment slot="end">
|
|
42
|
+
{#if mobileShown}
|
|
43
|
+
<IconCaretDown size={14} />
|
|
44
|
+
{:else}
|
|
45
|
+
<IconCaretRight size={14} />
|
|
46
|
+
{/if}
|
|
47
|
+
</svelte:fragment>
|
|
48
|
+
</Button>
|
|
49
|
+
</div>
|
|
38
50
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
<svelte:fragment slot="end">
|
|
43
|
-
{#if mobileShown}
|
|
44
|
-
<IconCaretDown size={14} />
|
|
45
|
-
{:else}
|
|
46
|
-
<IconCaretRight size={14} />
|
|
47
|
-
{/if}
|
|
48
|
-
</svelte:fragment>
|
|
49
|
-
</Button>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
<div class="toc-wrap" bind:this={tocElement}>
|
|
53
|
-
<Loader block padding={30} size="small" />
|
|
54
|
-
</div>
|
|
55
|
-
|
|
51
|
+
<div class="toc-wrap" bind:this={tocElement}>
|
|
52
|
+
<Loader block padding={30} size="small" />
|
|
53
|
+
</div>
|
|
56
54
|
</div>
|
|
57
55
|
|
|
58
56
|
<style>.wrap {
|
|
@@ -112,7 +110,7 @@ function handleMobileClick(e) {
|
|
|
112
110
|
font-weight: 700;
|
|
113
111
|
}
|
|
114
112
|
.toc-wrap :global(.toc-link::before) {
|
|
115
|
-
background-color: #
|
|
113
|
+
background-color: #eee;
|
|
116
114
|
content: " ";
|
|
117
115
|
display: inline-block;
|
|
118
116
|
height: inherit;
|
|
@@ -146,4 +144,4 @@ function handleMobileClick(e) {
|
|
|
146
144
|
:global(.is-active-link::before) {
|
|
147
145
|
background-color: #eee !important;
|
|
148
146
|
}
|
|
149
|
-
}</style>
|
|
147
|
+
}</style>
|
|
@@ -4,11 +4,11 @@ export let subtitle;
|
|
|
4
4
|
</script>
|
|
5
5
|
|
|
6
6
|
<section>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
<div class="hds-container container">
|
|
8
|
+
<FeatureSectionTitle {title} />
|
|
9
|
+
<div class="date">{subtitle}</div>
|
|
10
|
+
<content><slot /></content>
|
|
11
|
+
</div>
|
|
12
12
|
</section>
|
|
13
13
|
|
|
14
14
|
<style>* {
|
|
@@ -6,58 +6,58 @@ export let wrapStyle = void 0;
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<div class="wrap document-title" style={wrapStyle}>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
<h2 style={h2Style}>
|
|
10
|
+
{title}
|
|
11
|
+
{#if icon}
|
|
12
|
+
<div class="img-wrap">
|
|
13
|
+
<img src={icon} alt={title} />
|
|
14
|
+
</div>
|
|
15
|
+
{/if}
|
|
16
|
+
</h2>
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
{#if subtitle}
|
|
19
|
+
<h3>{@html subtitle}</h3>
|
|
20
|
+
{/if}
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
23
|
<style>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
24
|
+
.wrap {
|
|
25
|
+
margin-top: 100px;
|
|
26
|
+
}
|
|
27
|
+
h2 {
|
|
28
|
+
font-size: 38px;
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
margin-bottom: 10px;
|
|
31
|
+
margin-top: 20px;
|
|
32
|
+
text-align: center;
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
}
|
|
37
|
+
h3 {
|
|
38
|
+
font-size: 20px;
|
|
39
|
+
width: 650px;
|
|
40
|
+
max-width: 100%;
|
|
41
|
+
margin: 0 auto;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
line-height: 1.4;
|
|
44
|
+
text-align: center;
|
|
45
|
+
}
|
|
46
|
+
.img-wrap {
|
|
47
|
+
text-align: center;
|
|
48
|
+
margin-left: 20px;
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
}
|
|
52
|
+
img {
|
|
53
|
+
width: 85px;
|
|
54
|
+
height: 85px;
|
|
55
|
+
}
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
@media (max-width: 992px) {
|
|
58
|
+
h2 {
|
|
59
|
+
flex-direction: column-reverse;
|
|
60
|
+
gap: 15px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
63
|
</style>
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
<script>import Container from "../Container/Container.svelte";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
IconCopy,
|
|
4
|
+
IconDiscord,
|
|
5
|
+
IconEnvelope,
|
|
6
|
+
IconGithub,
|
|
7
|
+
IconLinkedin,
|
|
8
|
+
IconTwitterX,
|
|
9
|
+
IconYoutube
|
|
10
|
+
} from "@hyvor/icons";
|
|
3
11
|
import Link from "../../components/Link/Link.svelte";
|
|
4
12
|
import IconButton from "../../components/IconButton/IconButton.svelte";
|
|
5
13
|
import Tooltip from "../../components/Tooltip/Tooltip.svelte";
|
|
@@ -28,132 +36,116 @@ function handleCopy() {
|
|
|
28
36
|
</script>
|
|
29
37
|
|
|
30
38
|
<footer>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</div>
|
|
91
|
-
|
|
92
|
-
<div class="footer-bottom">
|
|
93
|
-
<div class="footer-bottom-left">
|
|
94
|
-
HYVOR © {year}
|
|
95
|
-
</div>
|
|
96
|
-
<div class="footer-bottom-right">
|
|
97
|
-
From France 🇫🇷
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
</Container>
|
|
102
|
-
|
|
39
|
+
<Container>
|
|
40
|
+
<div class="footer-top">
|
|
41
|
+
<div class="footer-top-left">
|
|
42
|
+
{#if email}
|
|
43
|
+
<div class="email-wrap">
|
|
44
|
+
<Link href="mailto:{email}" underline={false} color="text" rel="nofollow">
|
|
45
|
+
<IconEnvelope slot="start" />
|
|
46
|
+
{email}
|
|
47
|
+
</Link>
|
|
48
|
+
<Tooltip text={emailCopied ? 'Copied!' : 'Copy email'} position="top">
|
|
49
|
+
<IconButton
|
|
50
|
+
size="small"
|
|
51
|
+
variant="invisible"
|
|
52
|
+
on:click={handleCopy}
|
|
53
|
+
on:mouseleave={() => (emailCopied = false)}
|
|
54
|
+
>
|
|
55
|
+
<IconCopy size={12} />
|
|
56
|
+
</IconButton>
|
|
57
|
+
</Tooltip>
|
|
58
|
+
</div>
|
|
59
|
+
{/if}
|
|
60
|
+
|
|
61
|
+
<div class="social-media">
|
|
62
|
+
{#if social.github}
|
|
63
|
+
<a href={social.github} target="_blank" rel="nofollow"><IconGithub /></a>
|
|
64
|
+
{/if}
|
|
65
|
+
{#if social.x}
|
|
66
|
+
<a href={social.x} target="_blank" rel="nofollow"><IconTwitterX /></a>
|
|
67
|
+
{/if}
|
|
68
|
+
{#if social.discord}
|
|
69
|
+
<a href={social.discord} target="_blank" rel="nofollow"><IconDiscord /></a>
|
|
70
|
+
{/if}
|
|
71
|
+
{#if social.youtube}
|
|
72
|
+
<a href={social.discord} target="_blank" rel="nofollow"><IconYoutube /></a>
|
|
73
|
+
{/if}
|
|
74
|
+
{#if social.linkedin}
|
|
75
|
+
<a href={social.linkedin} target="_blank" rel="nofollow"><IconLinkedin /></a>
|
|
76
|
+
{/if}
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<div class="footer-top-right">
|
|
81
|
+
<span class="language-toggle-wrap">
|
|
82
|
+
<LanguageToggle />
|
|
83
|
+
</span>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<div class="footer-center">
|
|
88
|
+
<slot name="center" />
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div class="footer-bottom">
|
|
92
|
+
<div class="footer-bottom-left">
|
|
93
|
+
HYVOR © {year}
|
|
94
|
+
</div>
|
|
95
|
+
<div class="footer-bottom-right">From France 🇫🇷</div>
|
|
96
|
+
</div>
|
|
97
|
+
</Container>
|
|
103
98
|
</footer>
|
|
104
99
|
|
|
105
100
|
<style>
|
|
101
|
+
footer {
|
|
102
|
+
border-top: 1px solid var(--border);
|
|
103
|
+
}
|
|
106
104
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
.social-media a:hover {
|
|
141
|
-
color: var(--accent);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.footer-bottom {
|
|
145
|
-
padding-top: 50px;
|
|
146
|
-
padding-bottom: 30px;
|
|
147
|
-
display: flex;
|
|
148
|
-
}
|
|
149
|
-
.footer-bottom-left {
|
|
150
|
-
flex: 1;
|
|
151
|
-
}
|
|
105
|
+
.footer-top {
|
|
106
|
+
padding-top: 60px;
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: flex-start;
|
|
109
|
+
}
|
|
110
|
+
.footer-center {
|
|
111
|
+
padding-top: 50px;
|
|
112
|
+
}
|
|
113
|
+
.footer-top-left {
|
|
114
|
+
flex: 1;
|
|
115
|
+
}
|
|
116
|
+
.footer-top-right {
|
|
117
|
+
display: flex;
|
|
118
|
+
}
|
|
119
|
+
.email-wrap {
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
gap: 4px;
|
|
123
|
+
margin-bottom: 15px;
|
|
124
|
+
}
|
|
125
|
+
.social-media a {
|
|
126
|
+
display: inline-block;
|
|
127
|
+
padding: 3px;
|
|
128
|
+
margin-right: 8px;
|
|
129
|
+
color: var(--text-light);
|
|
130
|
+
}
|
|
131
|
+
.social-media a:first-child {
|
|
132
|
+
padding-left: 0;
|
|
133
|
+
}
|
|
134
|
+
.social-media a:hover {
|
|
135
|
+
color: var(--accent);
|
|
136
|
+
}
|
|
152
137
|
|
|
138
|
+
.footer-bottom {
|
|
139
|
+
padding-top: 50px;
|
|
140
|
+
padding-bottom: 30px;
|
|
141
|
+
display: flex;
|
|
142
|
+
}
|
|
143
|
+
.footer-bottom-left {
|
|
144
|
+
flex: 1;
|
|
145
|
+
}
|
|
153
146
|
|
|
154
147
|
.language-toggle-wrap {
|
|
155
148
|
margin-left: 8px;
|
|
156
149
|
font-size: 18px;
|
|
157
150
|
}
|
|
158
|
-
|
|
159
151
|
</style>
|
|
@@ -2,35 +2,33 @@
|
|
|
2
2
|
</script>
|
|
3
3
|
|
|
4
4
|
<div class="link-list">
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
<div class="title">{title}</div>
|
|
6
|
+
<div class="links">
|
|
7
|
+
<slot />
|
|
8
|
+
</div>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<style>
|
|
12
|
+
.link-list {
|
|
13
|
+
flex: 1;
|
|
14
|
+
}
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
.title {
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
margin-bottom: 10px;
|
|
20
|
+
}
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
.links {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
}
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
margin-top: 12px;
|
|
31
|
-
}
|
|
32
|
-
.links :global(a:hover) {
|
|
33
|
-
text-decoration: underline;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
</style>
|
|
28
|
+
.links :global(a) {
|
|
29
|
+
margin-top: 12px;
|
|
30
|
+
}
|
|
31
|
+
.links :global(a:hover) {
|
|
32
|
+
text-decoration: underline;
|
|
33
|
+
}
|
|
34
|
+
</style>
|