Skip to content

Commit

Permalink
Merge pull request #62 from spacenomads/update/chuck
Browse files Browse the repository at this point in the history
feat: Add email and xmpp links
  • Loading branch information
oneeyedman authored Jan 20, 2025
2 parents 70b8b4a + 6a8ca96 commit 8d96239
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _src/_data/social.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,15 @@ module.exports = [
"label": "Sígueme en Codeberg",
"id": "codeberg",
"url": "https://codeberg.org/oneeyedman"
},
{
"label": "Tírame un email",
"id": "email",
"url": "mailto:[email protected]"
},
{
"label": "Escríbeme por XMPP (si tienes aplicación)",
"id": "xmpp",
"url": "xmpp:[email protected]"
}
];
20 changes: 20 additions & 0 deletions _src/assets/_scss/components/_social.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,23 @@
background-color: core.$color-codeberg;
}
}

.social__link--email {
&::after {
background-image: core.img('at-sign.svg', core.$theme-icons);
}

&::before {
background-color: core.$color-at-sign;
}
}

.social__link--xmpp {
&::after {
background-image: core.img('xmpp.svg', core.$theme-icons);
}

&::before {
background-color: core.$color-xmpp;
}
}
2 changes: 2 additions & 0 deletions _src/assets/_scss/core/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ $color-veedeo-2: #e8595a;
$color-twitch: #9146ff;
$color-github: #0d1117;
$color-codeberg: #144b49;
$color-at-sign: #59abff;
$color-xmpp: #032830;


$color-text: $color-pure-black;
Expand Down
1 change: 1 addition & 0 deletions _src/assets/images/layout/icons/at-sign.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions _src/assets/images/layout/icons/xmpp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d96239

Please sign in to comment.