Fix remaining GitHub assets URLs
parent
20fc1366ef
commit
e3bb26b894
|
@ -151,7 +151,7 @@ import { NimblePicker } from 'emoji-mart'
|
|||
text: '',
|
||||
emoticons: [],
|
||||
custom: true,
|
||||
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7'
|
||||
imageUrl: 'https://github.githubassets.com/images/icons/emoji/octocat.png'
|
||||
}
|
||||
|
||||
```
|
||||
|
@ -242,7 +242,7 @@ const customEmojis = [
|
|||
text: '',
|
||||
emoticons: [],
|
||||
keywords: ['github'],
|
||||
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7'
|
||||
imageUrl: 'https://github.githubassets.com/images/icons/emoji/octocat.png'
|
||||
},
|
||||
{
|
||||
name: 'Test Flag',
|
||||
|
@ -268,7 +268,7 @@ You can provide a custom Not Found object which will allow the appearance of the
|
|||
```js
|
||||
import { Picker } from 'emoji-mart'
|
||||
|
||||
const notFound = () => <img src='https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7' />
|
||||
const notFound = () => <img src='https://github.githubassets.com/images/icons/emoji/octocat.png' />
|
||||
|
||||
<Picker notFound={notFound} />
|
||||
```
|
||||
|
@ -281,7 +281,7 @@ import { Picker } from 'emoji-mart'
|
|||
|
||||
const customIcons = {
|
||||
categories: {
|
||||
recent: () => <img src='https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7' />,
|
||||
recent: () => <img src='https://github.githubassets.com/images/icons/emoji/octocat.png' />,
|
||||
foods: () => <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"/></svg>,
|
||||
people: () => <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M3 2l10 6-10 6z"></path></svg>
|
||||
}
|
||||
|
|
|
@ -3137,12 +3137,12 @@ const CUSTOM_EMOJIS = [{
|
|||
name: 'Octocat',
|
||||
short_names: ['octocat'],
|
||||
keywords: ['github'],
|
||||
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7'
|
||||
imageUrl: 'https://github.githubassets.com/images/icons/emoji/octocat.png'
|
||||
}, {
|
||||
name: 'Squirrel',
|
||||
short_names: ['shipit', 'squirrel'],
|
||||
keywords: ['github'],
|
||||
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/shipit.png?v7'
|
||||
imageUrl: 'https://github.githubassets.com/images/icons/emoji/shipit.png'
|
||||
}, {
|
||||
name: 'Test Flag',
|
||||
short_names: ['test'],
|
||||
|
|
|
@ -14,13 +14,13 @@ const CUSTOM_EMOJIS = [
|
|||
name: 'Octocat',
|
||||
short_names: ['octocat'],
|
||||
keywords: ['github'],
|
||||
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7'
|
||||
imageUrl: 'https://github.githubassets.com/images/icons/emoji/octocat.png'
|
||||
},
|
||||
{
|
||||
name: 'Squirrel',
|
||||
short_names: ['shipit', 'squirrel'],
|
||||
keywords: ['github'],
|
||||
imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/shipit.png?v7'
|
||||
imageUrl: 'https://github.githubassets.com/images/icons/emoji/shipit.png'
|
||||
},
|
||||
{
|
||||
name: 'Test Flag',
|
||||
|
|
Loading…
Reference in New Issue