Skip to content

Commit

Permalink
feat: updated X logo
Browse files Browse the repository at this point in the history
  • Loading branch information
g-luca committed Dec 4, 2023
1 parent aca779f commit a5f9ba2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
4 changes: 2 additions & 2 deletions components/Articles/ArticlesCreate/ArticlesShareButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<img src="/icons/linear/export.svg" class="w-5 h-5 object-contain cursor-pointer">
</NuxtLink>
</NuxtLayout>
<NuxtLayout name="tooltip" :title="'Share on Twitter'" :position="'Bottom'">
<NuxtLayout name="tooltip" :title="'Share on X'" :position="'Bottom'">
<div @click="shareArticle(`https://twitter.com/intent/tweet?text=${title}&url=${sharingUrl}`)">
<img src="/brands/twitter/logo.svg" class="w-5 h-5 object-contain cursor-pointer">
<img src="/brands/x/logo.svg" class="w-5 h-5 object-contain cursor-pointer">
</div>
</NuxtLayout>
<NuxtLayout name="tooltip" :title="'Share on Facebook'" :position="'Bottom'">
Expand Down
8 changes: 4 additions & 4 deletions components/Articles/ArticlesView/ArticlesViewCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
:preview="previewImage"
:tags="tags"
/>
<div class="bg-background">
<div class="bg-background md:mx-10 lg:mx-16">
<div class="mb-3">
<a v-if="ipfsSourceUrl" :href="ipfsSourceUrl" target="_blank" class="text-xs pr-2 text-gray hover:text-primary-text">IPFS-1</a>
<a v-if="ipfsSourceAlt" :href="ipfsSourceAlt" target="_blank" class="text-xs pr-2 text-gray hover:text-primary-text">IPFS-2</a>
Expand All @@ -26,9 +26,9 @@
<ArticlesTipsButton :author="authorAddress" />
</div>
<div class="flex flex-row gap-x-3 lg:col-end-12 lg:place-self-end my-auto">
<NuxtLayout name="tooltip" :title="'Share on Twitter'" :position="'Bottom'">
<div @click="shareArticle(`https://twitter.com/intent/tweet?text=${props.article.text}&url=${sharingUrl}`)">
<img src="/brands/twitter/logo.svg" class="w-5 h-5 object-contain cursor-pointer">
<NuxtLayout name="tooltip" :title="'Share on X'" :position="'Bottom'">
<div @click="shareArticle(`https://x.com/intent/tweet?text=${props.article.text}&url=${sharingUrl}`)">
<img src="/brands/x/logo.svg" class="w-5 h-5 object-contain cursor-pointer">
</div>
</NuxtLayout>
<NuxtLayout name="tooltip" :title="'Share on Facebook'" :position="'Bottom'">
Expand Down
6 changes: 3 additions & 3 deletions components/SocialsRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
target="_blank"
class="text-teal-700 transition hover:text-teal-700/75"
>
<span class="sr-only">Twitter</span>
<span class="sr-only">X</span>
<img
src="/brands/twitter/logo.svg"
alt="twitter"
src="/brands/x/logo.svg"
alt="X"
class="w-6 h-6"
>
</a>
Expand Down
Binary file added public/brands/.DS_Store
Binary file not shown.
4 changes: 0 additions & 4 deletions public/brands/twitter/logo.svg

This file was deleted.

Binary file added public/brands/x/.DS_Store
Binary file not shown.
9 changes: 9 additions & 0 deletions public/brands/x/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a5f9ba2

Please sign in to comment.