Skip to content

Commit

Permalink
replace twitter icons to X
Browse files Browse the repository at this point in the history
  • Loading branch information
ginesdt committed Nov 20, 2024
1 parent b990194 commit cd349ac
Show file tree
Hide file tree
Showing 5 changed files with 177 additions and 41 deletions.
68 changes: 51 additions & 17 deletions resources/public/img/layout/ico_twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 62 additions & 11 deletions resources/public/img/layout/social-ico-twitter-hover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 62 additions & 11 deletions resources/public/img/layout/social-ico-twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/streamtide/server/verifiers/twitter_verifier.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
user (<? (.findMyUser (.-users tw-client)))]
(if user
{:valid? true
:url (str "https://twitter.com/" (-> 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")))))
Expand Down
2 changes: 1 addition & 1 deletion src/streamtide/ui/my_settings/page.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cd349ac

Please sign in to comment.