Skip to content

Commit

Permalink
✨ Added remove dead code emoji (⚰️) (#712)
Browse files Browse the repository at this point in the history
* ✨ Added remove dead code emoji (⚰️)

* 💬 Add dot at the end of description

Co-authored-by: johannchopin <31794680+johannchopin@users.noreply.github.com>

* 💬 Add dot at the end of spec snapshot

Co-authored-by: Emeric <emeric@ilek.fr>
Co-authored-by: johannchopin <31794680+johannchopin@users.noreply.github.com>
  • Loading branch information
3 people committed Feb 24, 2021
1 parent a69aa40 commit 8bd9853
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
41 changes: 41 additions & 0 deletions src/__tests__/__snapshots__/pages.spec.js.snap
Expand Up @@ -3116,6 +3116,47 @@ exports[`Pages Index should render the page 1`] = `
</div>
</div>
</article>
<article
className="emoji col-xs-12 col-sm-6 col-md-3"
style={
Object {
"--emojiColor": "#d9e3e8",
}
}
>
<div
className="card "
>
<header
className="cardHeader"
>
<button
className="gitmoji-clipboard-emoji gitmoji"
data-clipboard-text="⚰️"
type="button"
>
⚰️
</button>
</header>
<div
className="gitmojiInfo"
>
<button
className="gitmoji-clipboard-code gitmojiCode"
data-clipboard-text=":coffin:"
tabIndex="-1"
type="button"
>
<code>
:coffin:
</code>
</button>
<p>
Remove dead code.
</p>
</div>
</div>
</article>
</div>
</main>
`;
Expand Down
1 change: 1 addition & 0 deletions src/components/GitmojiList/emojiColorsMap.js
Expand Up @@ -29,6 +29,7 @@ export default {
'goal-net': '#c7cb12',
'green-heart': '#c5e763',
hammer: '#ffc400',
coffin: '#d9e3e8',
'heavy-minus-sign': '#ef5350',
'heavy-plus-sign': '#00e676',
iphone: '#40c4ff',
Expand Down
8 changes: 8 additions & 0 deletions src/data/gitmojis.json
Expand Up @@ -503,6 +503,14 @@
"description": "Data exploration/inspection.",
"name": "monocle-face",
"semver": null
},
{
"emoji": "⚰️",
"entity": "&#x26B0;",
"code": ":coffin:",
"description": "Remove dead code.",
"name": "coffin",
"semver": null
}
]
}

1 comment on commit 8bd9853

@vercel
Copy link

@vercel vercel bot commented on 8bd9853 Feb 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.