diff --git a/frontend/src/components/blocks/socials-section.tsx b/frontend/src/components/blocks/socials-section.tsx
index c45dd659f8..7c4394dcb2 100644
--- a/frontend/src/components/blocks/socials-section.tsx
+++ b/frontend/src/components/blocks/socials-section.tsx
@@ -28,8 +28,8 @@ export const SocialsSection = ({ hashtag, label }: Props) => {
hoverColor="green"
socials={[
{
- icon: "twitter",
- link: "https://twitter.com/pyconit",
+ icon: "mastodon",
+ link: "https://social.python.it/@pycon",
rel: "me",
},
{
@@ -48,8 +48,8 @@ export const SocialsSection = ({ hashtag, label }: Props) => {
rel: "me",
},
{
- icon: "mastodon",
- link: "https://social.python.it/@pycon",
+ icon: "twitter",
+ link: "https://twitter.com/pyconit",
rel: "me",
},
]}
diff --git a/frontend/src/components/cfp-form/index.tsx b/frontend/src/components/cfp-form/index.tsx
index 122f63aa94..966fba1512 100644
--- a/frontend/src/components/cfp-form/index.tsx
+++ b/frontend/src/components/cfp-form/index.tsx
@@ -242,8 +242,8 @@ export const CfpForm = ({
participantData.me.participant.website,
);
formState.setField(
- "participantTwitterHandle",
- participantData.me.participant.twitterHandle,
+ "participantMastodonHandle",
+ participantData.me.participant.mastodonHandle,
);
formState.setField(
"participantInstagramHandle",
@@ -258,8 +258,8 @@ export const CfpForm = ({
participantData.me.participant.facebookUrl,
);
formState.setField(
- "participantMastodonHandle",
- participantData.me.participant.mastodonHandle,
+ "participantTwitterHandle",
+ participantData.me.participant.twitterHandle,
);
formState.setField(
"speakerAvailabilities",
diff --git a/frontend/src/components/edit-profile-page-handler/index.tsx b/frontend/src/components/edit-profile-page-handler/index.tsx
index 777a00a48e..0f717a3168 100644
--- a/frontend/src/components/edit-profile-page-handler/index.tsx
+++ b/frontend/src/components/edit-profile-page-handler/index.tsx
@@ -69,8 +69,8 @@ const onMyProfileFetched = (data: MyEditProfileQuery, formState) => {
me.participant?.previousTalkVideo ?? "",
);
formState.setField(
- "participantTwitterHandle",
- me.participant?.twitterHandle ?? "",
+ "participantMastodonHandle",
+ me.participant?.mastodonHandle ?? "",
);
formState.setField(
"participantInstagramHandle",
@@ -85,8 +85,8 @@ const onMyProfileFetched = (data: MyEditProfileQuery, formState) => {
me.participant?.facebookUrl ?? "",
);
formState.setField(
- "participantMastodonHandle",
- me.participant?.mastodonHandle ?? "",
+ "participantTwitterHandle",
+ me.participant?.twitterHandle ?? "",
);
};
diff --git a/frontend/src/components/footer/index.tsx b/frontend/src/components/footer/index.tsx
index 07c31a46fb..ea2b315123 100644
--- a/frontend/src/components/footer/index.tsx
+++ b/frontend/src/components/footer/index.tsx
@@ -72,7 +72,11 @@ export const Footer = () => {
}
socials={[
- { icon: "twitter", link: "https://twitter.com/pyconit", rel: "me" },
+ {
+ icon: "mastodon",
+ link: "https://social.python.it/@pycon",
+ rel: "me",
+ },
{
icon: "facebook",
link: "https://www.facebook.com/pythonitalia",
@@ -88,11 +92,7 @@ export const Footer = () => {
link: "https://www.linkedin.com/company/pycon-italia",
rel: "me",
},
- {
- icon: "mastodon",
- link: "https://social.python.it/@pycon",
- rel: "me",
- },
+ { icon: "twitter", link: "https://twitter.com/pyconit", rel: "me" },
]}
/>
>
diff --git a/frontend/src/components/grant-form/index.tsx b/frontend/src/components/grant-form/index.tsx
index c6642fc9b1..cb7f86ac00 100644
--- a/frontend/src/components/grant-form/index.tsx
+++ b/frontend/src/components/grant-form/index.tsx
@@ -220,8 +220,8 @@ export const GrantForm = ({
participantData.me.participant.website,
);
formState.setField(
- "participantTwitterHandle",
- participantData.me.participant.twitterHandle,
+ "participantMastodonHandle",
+ participantData.me.participant.mastodonHandle,
);
formState.setField(
"participantInstagramHandle",
@@ -236,8 +236,8 @@ export const GrantForm = ({
participantData.me.participant.facebookUrl,
);
formState.setField(
- "participantMastodonHandle",
- participantData.me.participant.mastodonHandle,
+ "participantTwitterHandle",
+ participantData.me.participant.twitterHandle,
);
}
}, []);
diff --git a/frontend/src/components/participant-info-section/index.tsx b/frontend/src/components/participant-info-section/index.tsx
index 3086b763b7..5160c0442d 100644
--- a/frontend/src/components/participant-info-section/index.tsx
+++ b/frontend/src/components/participant-info-section/index.tsx
@@ -58,12 +58,12 @@ export const ParticipantInfoSection = ({
justifyContent="end"
gap="medium"
>
- {participant?.twitterHandle && (
+ {participant?.mastodonHandle && (
-
+
)}
@@ -76,15 +76,6 @@ export const ParticipantInfoSection = ({
)}
- {participant?.mastodonHandle && (
-
-
-
- )}
-
{participant?.linkedinUrl && (
@@ -102,6 +93,15 @@ export const ParticipantInfoSection = ({
)}
+
+ {participant?.twitterHandle && (
+
+
+
+ )}
diff --git a/frontend/src/components/public-profile-card/index.tsx b/frontend/src/components/public-profile-card/index.tsx
index c02ce0d48e..56c84e7513 100644
--- a/frontend/src/components/public-profile-card/index.tsx
+++ b/frontend/src/components/public-profile-card/index.tsx
@@ -118,15 +118,6 @@ export const PublicProfileCard = ({
errors={getParticipantValidationError("website")}
/>
-
-
-
({
errors={getParticipantValidationError("facebookUrl")}
/>
+
+
+