Skip to content

Commit 903a642

Browse files
authored
feat: simple icons (#171)
1 parent 150c86d commit 903a642

File tree

3 files changed

+47
-44
lines changed

3 files changed

+47
-44
lines changed

package-lock.json

Lines changed: 35 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"format:fix": "prettier --write ."
1616
},
1717
"devDependencies": {
18-
"@immich/ui": "^0.23.0",
18+
"@immich/ui": "^0.24.1",
1919
"@sveltejs/adapter-static": "^3.0.6",
2020
"@sveltejs/kit": "^2.26.1",
2121
"@sveltejs/vite-plugin-svelte": "^6.0.0",
@@ -41,7 +41,8 @@
4141
},
4242
"type": "module",
4343
"dependencies": {
44-
"@mdi/js": "^7.4.47"
44+
"@mdi/js": "^7.4.47",
45+
"simple-icons": "^15.9.0"
4546
},
4647
"volta": {
4748
"node": "22.18.0"

src/lib/components/Footer.svelte

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
<script lang="ts">
22
import { Card, Heading, HStack, Icon, Link, Stack, Text, ThemeSwitcher, VStack } from '@immich/ui';
3-
import {
4-
mdiAndroid,
5-
mdiApple,
6-
mdiGithub,
7-
mdiKey,
8-
mdiMessageOutline,
9-
mdiOfficeBuildingOutline,
10-
mdiReddit,
11-
mdiServerOutline,
12-
mdiShoppingOutline,
13-
mdiWeb,
14-
} from '@mdi/js';
3+
import { mdiKey, mdiOfficeBuildingOutline, mdiServerOutline, mdiShoppingOutline } from '@mdi/js';
4+
import { siAndroid, siApple, siDiscord, siGithub, siImmich, siReddit } from 'simple-icons';
155
</script>
166

177
<div class="bg-dark/10 rounded-t-3xl mt-16 p-8">
@@ -22,19 +12,19 @@
2212
<Heading size="tiny">Social</Heading>
2313
<Link href="https://github.com/immich-app/immich" target="_blank" rel="noopener noreferrer">
2414
<HStack>
25-
<Icon icon={mdiGithub} size="1.5em" />
15+
<Icon icon={siGithub} size="1.5em" />
2616
<Text>GitHub</Text>
2717
</HStack>
2818
</Link>
2919
<Link href="https://discord.immich.app/" target="_blank" rel="noopener noreferrer">
3020
<HStack>
31-
<Icon icon={mdiMessageOutline} size="1.5em" />
21+
<Icon icon={siDiscord} size="1.5em" />
3222
<Text>Discord</Text>
3323
</HStack>
3424
</Link>
3525
<Link href="https://www.reddit.com/r/immich/" target="_blank" rel="noopener noreferrer">
3626
<HStack>
37-
<Icon icon={mdiReddit} size="1.5em" />
27+
<Icon icon={siReddit.path} size="1.5em" />
3828
<Text>Reddit</Text>
3929
</HStack>
4030
</Link>
@@ -48,13 +38,13 @@
4838
rel="noopener noreferrer"
4939
>
5040
<HStack>
51-
<Icon icon={mdiAndroid} size="1.5em" />
41+
<Icon icon={siAndroid.path} size="1.5em" />
5242
<Text>Android</Text>
5343
</HStack>
5444
</Link>
5545
<Link href="https://apps.apple.com/us/app/immich/id1613945652" target="_blank" rel="noopener noreferrer">
5646
<HStack>
57-
<Icon icon={mdiApple} size="1.5em" />
47+
<Icon icon={siApple.path} size="1.5em" />
5848
<Text>iOS</Text>
5949
</HStack>
6050
</Link>
@@ -86,13 +76,13 @@
8676
<Heading size="tiny">Sites</Heading>
8777
<Link href="https://immich.app" target="_blank" rel="noopener noreferrer">
8878
<HStack>
89-
<Icon icon={mdiWeb} size="1.5em" />
79+
<Icon icon={siImmich} size="1.5em" />
9080
<Text>Documentation</Text>
9181
</HStack>
9282
</Link>
9383
<Link href="https://my.immich.app" target="_blank" rel="noopener noreferrer">
9484
<HStack>
95-
<Icon icon={mdiWeb} size="1.5em" />
85+
<Icon icon={siImmich} size="1.5em" />
9686
<Text>My Immich</Text>
9787
</HStack>
9888
</Link>

0 commit comments

Comments
 (0)