feat(desktop): feed badge
This commit is contained in:
parent
cd431f336c
commit
144f7097e9
|
|
@ -359,6 +359,16 @@ export const useFeedActions = ({
|
|||
navigator.clipboard.writeText(feedId)
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "text" as const,
|
||||
label: t("sidebar.feed_actions.copy_feed_badge"),
|
||||
disabled: isEntryList,
|
||||
click: () => {
|
||||
navigator.clipboard.writeText(
|
||||
`https://badge.follow.is/feed/${feedId}?color=FF5C00&labelColor=black&style=flat-square`,
|
||||
)
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
return items.filter(
|
||||
|
|
|
|||
|
|
@ -312,6 +312,7 @@
|
|||
"sidebar.feed_actions.claim": "Claim",
|
||||
"sidebar.feed_actions.claim_feed": "Claim Feed",
|
||||
"sidebar.feed_actions.copy_email_address": "Copy Email Address",
|
||||
"sidebar.feed_actions.copy_feed_badge": "Copy Feed Badge",
|
||||
"sidebar.feed_actions.copy_feed_id": "Copy Feed ID",
|
||||
"sidebar.feed_actions.copy_feed_url": "Copy Feed URL",
|
||||
"sidebar.feed_actions.copy_list_id": "Copy List ID",
|
||||
|
|
|
|||
Loading…
Reference in New Issue