Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Change Twitter to X Logo #170

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/assets/external/twitter.svg

This file was deleted.

3 changes: 3 additions & 0 deletions lib/assets/external/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions lib/components/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ import _PayPalIcon from '@/assets/external/paypal.svg?component'
export const PayPalIcon = _PayPalIcon
import _RedditIcon from '@/assets/external/reddit.svg?component'
export const RedditIcon = _RedditIcon
import _TwitterIcon from '@/assets/external/twitter.svg?component'
export const TwitterIcon = _TwitterIcon
import _WindowsIcon from '@/assets/external/windows.svg?component'
export const WindowsIcon = _WindowsIcon
import _YouTubeIcon from '@/assets/icons/youtube.svg?component'
export const YouTubeIcon = _YouTubeIcon
import _XTwitterIcon from '@/assets/external/x.svg?component'
export const XTwitterIcon = _XTwitterIcon

// Icons
import _AlignLeftIcon from '@/assets/icons/align-left.svg?component'
Expand Down
6 changes: 3 additions & 3 deletions lib/components/modal/ShareModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {
ShareIcon,
MailIcon,
GlobeIcon,
TwitterIcon,
MastodonIcon,
RedditIcon,
XTwitterIcon,
} from '@'
import { computed, ref, nextTick } from 'vue'
import QrcodeVue from 'qrcode.vue'
Expand Down Expand Up @@ -163,7 +163,7 @@ defineExpose({
target="_blank"
:href="sendTweet"
>
<TwitterIcon />
<XTwitterIcon />
</a>
<a
v-tooltip="'Share on Reddit'"
Expand Down Expand Up @@ -223,7 +223,7 @@ defineExpose({
}

&.twitter {
background-color: #1da1f2;
background-color: #000000;
}
}
}
Expand Down