Skip to content

Commit

Permalink
πŸ› Fix emojis (#256)
Browse files Browse the repository at this point in the history
* πŸ› Fix emojis

Fixes #255

* Create nice-birds-sing.md
  • Loading branch information
wei authored Apr 11, 2024
1 parent 3760dcc commit 762ab0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nice-birds-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"socialify": patch
---

Fix emojis
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ build/
.next/
.vercel
google-fonts.css
.changeset/
4 changes: 3 additions & 1 deletion common/twemoji.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ function toCodePoint(unicodeSurrogates: string) {

export const apis = {
twemoji: (code: string) =>
'https://twemoji.maxcdn.com/v/latest/svg/' + code.toLowerCase() + '.svg',
'https://cdnjs.cloudflare.com/ajax/libs/twemoji/15.1.0/svg/' +
code.toLowerCase() +
'.svg',
openmoji: 'https://cdn.jsdelivr.net/npm/@svgmoji/[email protected]/svg/',
blobmoji: 'https://cdn.jsdelivr.net/npm/@svgmoji/[email protected]/svg/',
noto: 'https://cdn.jsdelivr.net/gh/svgmoji/svgmoji/packages/svgmoji__noto/svg/',
Expand Down

0 comments on commit 762ab0c

Please sign in to comment.