From 1d3bc3f61f0aabb83872d921242a2464c47e1b50 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 7 Oct 2024 18:14:50 +0200 Subject: [PATCH] fix(federatedfilessharing): Use social media icons from core rather than inline SVGs * Use correct facebook icon provided by Meta The legal terms require to exactly use the facebook logo as provided by Meta. * Add correct X logo as provided by X Corp. * Use social media icons from core rather than inline SVGs * Make copy logic more resilient and use Typescript * Add aria label to include the `X` in `X (formerly Twitter)` button. * Use valid mastodon URL for sharing Signed-off-by: Ferdinand Thiessen --- .reuse/dep5 | 2 +- .../src/components/PersonalSettings.vue | 70 ++++++++++++------- core/img/facebook.svg | 2 +- core/img/mastodon.svg | 2 +- core/img/x.svg | 1 + 5 files changed, 48 insertions(+), 29 deletions(-) create mode 100644 core/img/x.svg diff --git a/.reuse/dep5 b/.reuse/dep5 index 80b9ea8097f..b85eb822707 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -203,7 +203,7 @@ Files: core/img/apps/richdocumentscode.svg Copyright: 2016-2024 Collabora Ltd. License: LicenseRef-CollaboraTrademarks -Files: core/img/twitter.svg core/img/actions/twitter.svg apps/federatedfilesharing/img/social-twitter.svg +Files: core/img/x.svg core/img/twitter.svg core/img/actions/twitter.svg apps/federatedfilesharing/img/social-twitter.svg Copyright: X Corp. License: LicenseRef-XTrademarks diff --git a/apps/federatedfilesharing/src/components/PersonalSettings.vue b/apps/federatedfilesharing/src/components/PersonalSettings.vue index bf1d2192816..38061dc022c 100644 --- a/apps/federatedfilesharing/src/components/PersonalSettings.vue +++ b/apps/federatedfilesharing/src/components/PersonalSettings.vue @@ -13,7 +13,7 @@ :title="copyLinkTooltip" :aria-label="copyLinkTooltip" class="clipboard" - type="tertiary-no-background" + type="tertiary" @click.prevent="copyCloudId"> -