Skip to content

Commit

Permalink
feat(badge): badge init add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
kumfo committed Aug 7, 2024
1 parent ea43edc commit 23b6b11
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions internal/migrations/v22.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.autobiographer.name",
Icon: "",
Icon: "person-badge-fill",
AwardCount: 0,
Description: "badge.default_badges.autobiographer.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -55,7 +55,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.editor.name",
Icon: "",
Icon: "pencil-fill",
AwardCount: 0,
Description: "badge.default_badges.editor.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -70,7 +70,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.first_flag.name",
Icon: "",
Icon: "flag-fill",
AwardCount: 0,
Description: "badge.default_badges.first_flag.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -85,7 +85,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.first_upvote.name",
Icon: "",
Icon: "hand-thumbs-up-fill",
AwardCount: 0,
Description: "badge.default_badges.first_upvote.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -100,7 +100,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.first_reaction.name",
Icon: "",
Icon: "emoji-smile-fill",
AwardCount: 0,
Description: "badge.default_badges.first_reaction.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -115,7 +115,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.first_share.name",
Icon: "",
Icon: "share-fill",
AwardCount: 0,
Description: "badge.default_badges.first_share.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -130,7 +130,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.scholar.name",
Icon: "",
Icon: "check-circle-fill",
AwardCount: 0,
Description: "badge.default_badges.scholar.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -145,7 +145,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.solved.name",
Icon: "",
Icon: "check-square-fill",
AwardCount: 0,
Description: "badge.default_badges.solved.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -160,7 +160,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.nice_answer.name",
Icon: "",
Icon: "chat-square-text-fill",
AwardCount: 0,
Description: "badge.default_badges.nice_answer.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -175,7 +175,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.good_answer.name",
Icon: "",
Icon: "chat-square-text-fill",
AwardCount: 0,
Description: "badge.default_badges.good_answer.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -190,7 +190,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.great_answer.name",
Icon: "",
Icon: "chat-square-text-fill",
AwardCount: 0,
Description: "badge.default_badges.great_answer.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -205,7 +205,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.nice_question.name",
Icon: "",
Icon: "question-circle-fill",
AwardCount: 0,
Description: "badge.default_badges.nice_question.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -220,7 +220,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.good_question.name",
Icon: "",
Icon: "question-circle-fill",
AwardCount: 0,
Description: "badge.default_badges.good_question.desc",
Status: entity.BadgeStatusActive,
Expand All @@ -235,7 +235,7 @@ var (
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Name: "badge.default_badges.great_question.name",
Icon: "",
Icon: "question-circle-fill",
AwardCount: 0,
Description: "badge.default_badges.great_question.desc",
Status: entity.BadgeStatusActive,
Expand Down

0 comments on commit 23b6b11

Please sign in to comment.