diff --git a/resources/public/img/layout/ico_twitter.svg b/resources/public/img/layout/ico_twitter.svg index 5f392a8..0d1b548 100644 --- a/resources/public/img/layout/ico_twitter.svg +++ b/resources/public/img/layout/ico_twitter.svg @@ -1,20 +1,54 @@ - + - - diff --git a/resources/public/img/layout/social-ico-twitter-hover.svg b/resources/public/img/layout/social-ico-twitter-hover.svg index 8ee1caf..fea0e2d 100644 --- a/resources/public/img/layout/social-ico-twitter-hover.svg +++ b/resources/public/img/layout/social-ico-twitter-hover.svg @@ -1,12 +1,63 @@ - - - Group 5 - - - - - - - + + + + + Group 5 + + + + + + - \ No newline at end of file + + diff --git a/resources/public/img/layout/social-ico-twitter.svg b/resources/public/img/layout/social-ico-twitter.svg index 903a90d..a5f3bd1 100644 --- a/resources/public/img/layout/social-ico-twitter.svg +++ b/resources/public/img/layout/social-ico-twitter.svg @@ -1,12 +1,63 @@ - - - Group 5 - - - - - - - + + + + + Group 5 + + + + + + - \ No newline at end of file + + diff --git a/src/streamtide/server/verifiers/twitter_verifier.cljs b/src/streamtide/server/verifiers/twitter_verifier.cljs index 3b7b640..6cacf4c 100644 --- a/src/streamtide/server/verifiers/twitter_verifier.cljs +++ b/src/streamtide/server/verifiers/twitter_verifier.cljs @@ -36,7 +36,7 @@ user ( user (js->clj :keywordize-keys true) :data :username))} + :url (str "https://x.com/" (-> user (js->clj :keywordize-keys true) :data :username))} {:valid? false :message "Cannot found user"}))) (throw (js/Error. "Auth client invalid or expired"))))) diff --git a/src/streamtide/ui/my_settings/page.cljs b/src/streamtide/ui/my_settings/page.cljs index 37f90e8..a7807a5 100644 --- a/src/streamtide/ui/my_settings/page.cljs +++ b/src/streamtide/ui/my_settings/page.cljs @@ -289,7 +289,7 @@ [:div.socialAccounts [:h2.titleEdit "Connected accounts"] [:p "Connect your social accounts to verify your identity and get the most out of Streamtide."] - [:div.verifier-hint "Verify you have a valid Twitter account"] + [:div.verifier-hint "Verify you have a valid X account"] [social-link-edit (merge input-params {:id [:socials :twitter] :icon-src "/img/layout/ico_twitter.svg"