Skip to content

Commit

Permalink
Repladce emojis with bootstrap icons
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 committed Jan 3, 2024
1 parent 2fadce6 commit 4bb2c8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/builddao/widget/Feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ function formatDate(date) {
const feedsDict = {
resolutions: {
key: "resolutions",
label: "📆 Resolutions",
label: "Resolutions",
icon: "bi-calendar3",
name: "resolution",
hashtag: "nearyearresolutions2024",
template: `🎉 NEAR YEAR RESOLUTIONS: 2024
Expand All @@ -84,7 +85,8 @@ const feedsDict = {
},
updates: {
key: "updates",
label: "🔔 Updates",
label: "Updates",
icon: "bi-bell",
name: "update",
template: `🔔 DAILY UPDATE: ${formatDate(new Date())}
Expand Down
1 change: 1 addition & 0 deletions apps/builddao/widget/aside.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ return (
className={props.currentFeed === feed && "active"}
onClick={() => props.setCurrentFeed(feed)}
>
<i className={`bi ${props.feedsDict[feed].icon}`}></i>
{props.feedsDict[feed].label}
</TabButton>
))}
Expand Down

0 comments on commit 4bb2c8b

Please sign in to comment.