2024-01-04 17:01:18 +00:00
|
|
|
import { FormattedMessage } from "react-intl";
|
2023-10-17 13:02:59 +00:00
|
|
|
|
2024-01-04 17:01:18 +00:00
|
|
|
import Icon from "@/Components/Icons/Icon";
|
2024-01-12 15:33:02 +00:00
|
|
|
import { Tab } from "@/Components/TabSelectors/TabSelectors";
|
2024-01-10 16:53:35 +00:00
|
|
|
import { ProfileTabType } from "@/Pages/Profile/ProfileTabType";
|
2023-10-06 10:13:49 +00:00
|
|
|
|
2024-01-12 15:33:02 +00:00
|
|
|
const ProfileTabSelectors = {
|
2023-10-06 12:03:18 +00:00
|
|
|
Notes: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="pencil" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Notes" id="7+Domh" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.NOTES,
|
|
|
|
},
|
|
|
|
Reactions: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="reaction" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Reactions" id="XgWvGA" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.REACTIONS,
|
|
|
|
},
|
|
|
|
Followers: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="user-v2" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Followers" id="pzTOmv" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.FOLLOWERS,
|
|
|
|
},
|
|
|
|
Follows: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="stars" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Follows" id="IKKHqV" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.FOLLOWS,
|
|
|
|
},
|
|
|
|
Zaps: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="zap-solid" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Zaps" id="OEW7yJ" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.ZAPS,
|
|
|
|
},
|
|
|
|
Muted: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="mute" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Muted" id="HOzFdo" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.MUTED,
|
|
|
|
},
|
|
|
|
Blocked: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="block" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Blocked" id="qUJTsT" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.BLOCKED,
|
|
|
|
},
|
|
|
|
Relays: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="wifi" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Relays" id="RoOyAh" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.RELAYS,
|
|
|
|
},
|
|
|
|
Bookmarks: {
|
|
|
|
text: (
|
|
|
|
<>
|
|
|
|
<Icon name="bookmark-solid" size={16} />
|
2023-11-20 11:35:51 +00:00
|
|
|
<FormattedMessage defaultMessage="Bookmarks" id="nGBrvw" />
|
2023-10-06 12:03:18 +00:00
|
|
|
</>
|
|
|
|
),
|
|
|
|
value: ProfileTabType.BOOKMARKS,
|
|
|
|
},
|
|
|
|
} as { [key: string]: Tab };
|
2023-10-06 10:13:49 +00:00
|
|
|
|
2024-01-12 15:33:02 +00:00
|
|
|
export default ProfileTabSelectors;
|