Skip to content

Commit

Permalink
Добавляет бейджик за упоминание
Browse files Browse the repository at this point in the history
  • Loading branch information
furtivite committed Sep 24, 2024
1 parent 40e7cf5 commit 19b4d1d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/images/badges/mention.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/libs/badge-constructor/badge-constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ const SHAPES = {
height: 3,
width: 2,
},
L: {
height: 2,
width: 3,
},
}

const COLORS = {
Expand Down
13 changes: 13 additions & 0 deletions src/libs/badge-constructor/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,18 @@
"alt": "Сочувствующий смайл с новогодней ёлкой и подарком.",
"title": "Трудоголик",
"description": "За контрибьют 1 января 2024 года."
},
"mentioned": {
"id": "mentioned",
"shape": "L",
"angle": "0",
"field": {
"height": 2,
"width": 3
},
"src": "/images/badges/mention.svg",
"alt": "Довольный смайл, поднимающий руку со знаком собачки.",
"title": "Активист",
"description": "За публичное продвижение Доки"
}
}

0 comments on commit 19b4d1d

Please sign in to comment.