@immich/ui 0.31.2 → 0.32.0
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
type Props = {
|
|
8
8
|
class?: string;
|
|
9
|
-
children
|
|
9
|
+
children?: Snippet;
|
|
10
10
|
href: string;
|
|
11
11
|
underline?: boolean;
|
|
12
12
|
} & HTMLAnchorAttributes;
|
|
@@ -25,5 +25,9 @@
|
|
|
25
25
|
rel={external ? 'noopener noreferrer' : undefined}
|
|
26
26
|
{...restProps}
|
|
27
27
|
>
|
|
28
|
-
{
|
|
28
|
+
{#if children}
|
|
29
|
+
{@render children()}
|
|
30
|
+
{:else}
|
|
31
|
+
{href}
|
|
32
|
+
{/if}
|
|
29
33
|
</a>
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
mdiOfficeBuildingOutline,
|
|
16
16
|
mdiScriptTextOutline,
|
|
17
17
|
mdiServerOutline,
|
|
18
|
+
mdiShieldAccountOutline,
|
|
18
19
|
mdiShoppingOutline,
|
|
19
20
|
} from '@mdi/js';
|
|
20
21
|
import { siAndroid, siApple, siDiscord, siGithub, siReddit } from 'simple-icons';
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
<Heading size="tiny">Miscellaneous</Heading>
|
|
57
58
|
<SiteFooterLink href={Constants.Pages.Roadmap} icon={mdiChartGantt} text="Roadmap" />
|
|
58
59
|
<SiteFooterLink href={Constants.Pages.CursedKnowledge} icon={mdiBookshelf} text="Cursed Knowledge" />
|
|
60
|
+
<SiteFooterLink href={Constants.Pages.PrivacyPolicy} icon={mdiShieldAccountOutline} text="Privacy Policy" />
|
|
59
61
|
</Stack>
|
|
60
62
|
</div>
|
|
61
63
|
<VStack class="text-center">
|
package/dist/site/constants.d.ts
CHANGED
package/dist/site/constants.js
CHANGED
|
@@ -30,6 +30,7 @@ export const Constants = {
|
|
|
30
30
|
Pages: {
|
|
31
31
|
CursedKnowledge: 'https://immich.app/cursed-knowledge',
|
|
32
32
|
Roadmap: 'https://immich.app/roadmap',
|
|
33
|
+
PrivacyPolicy: 'https://immich.app/privacy-policy',
|
|
33
34
|
},
|
|
34
35
|
Npm: {
|
|
35
36
|
Sdk: 'https://www.npmjs.com/package/@immich/sdk',
|