Skip to content

Commit 53d13fe

Browse files
committed
feat: add Codeberg social link and icon
Adds Codeberg to the list of social links and includes its icon.
1 parent ab74f02 commit 53d13fe

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

src/lib/api/socials/socials.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
import type { ButtonColorVariant } from '$lib/components/colors';
22

3+
// ICONS
34
import Facebook from '$lib/components/graphics/social/Facebook.svelte';
45
import Github from '$lib/components/graphics/social/Github.svelte';
56
import Instagram from '$lib/components/graphics/social/Instagram.svelte';
67
import LinkedIn from '$lib/components/graphics/social/Linkedin.svelte';
78
// import Medium from '$lib/components/graphics/social/Medium.svelte';
89
// import Showwcase from '$lib/components/graphics/social/Showwcase.svelte';
10+
import Codeberg from '$lib/components/graphics/social/Codeberg.svelte';
911
import Codewars from '$lib/components/graphics/social/Codewars.svelte';
1012
import Hackerrank from '$lib/components/graphics/social/Hackerrank.svelte';
1113
import Telegram from '$lib/components/graphics/social/Telegram.svelte';
1214

15+
// LINKS
1316
export const githubLink = 'https://github.com/ikhsan3adi/';
17+
export const codebergLink = 'https://codeberg.org/ikhsan3adi';
1418
export const linkedInLink = 'https://www.linkedin.com/in/ikhsan3adi/';
1519
export const whatsappLink = 'https://wa.me/62895338593923';
1620
export const emailLink = 'mailto:ikhsansatriadi175@gmail.com';
@@ -64,6 +68,13 @@ export const socials = [
6468
link: 'https://www.codewars.com/users/ikhsan3adi',
6569
colorVariant: { key: 'email' } as ButtonColorVariant,
6670
icon: Codewars
71+
},
72+
{
73+
social: 'Codeberg',
74+
name: '@ikhsan3adi',
75+
link: 'https://codeberg.org/ikhsan3adi',
76+
colorVariant: { key: 'linkedIn' } as ButtonColorVariant,
77+
icon: Codeberg
6778
}
6879
// {
6980
// social: 'Showwcase',
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<svg viewBox="0 0 26 26" role="img" xmlns="http://www.w3.org/2000/svg" class="fill-current">
2+
<path
3+
d="M11.955.49A12 12 0 0 0 0 12.49a12 12 0 0 0 1.832 6.373L11.838 5.928a.187.14 0 0 1 .324 0l10.006 12.935A12 12 0 0 0 24 12.49a12 12 0 0 0-12-12 12 12 0 0 0-.045 0zm.375 6.467 4.416 16.553a12 12 0 0 0 5.137-4.213z"
4+
/>
5+
</svg>

src/lib/components/graphics/social/Codewars.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<svg
22
xmlns="http://www.w3.org/2000/svg"
3-
width="33"
4-
height="39"
5-
viewBox="0 0 33 36"
3+
width="46"
4+
height="49"
5+
viewBox="-3 -2 33 39"
66
class="fill-current"
77
>
88
<path

0 commit comments

Comments
 (0)