From 3664db491dafd71a6143588993ca295052c55deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20der=20Winden?= Date: Tue, 26 Mar 2024 19:38:07 +0100 Subject: [PATCH] Updated social share modal layout (#19925) - Changed the layout of the modal - Added a fallback state for the cover image - Added possibility to copy the publication link - Correct hover states for social media buttons --------- Co-authored-by: Ryan Feigenbaum <48868107+royalfig@users.noreply.github.com> --- ghost/admin/app/components/modal-share.hbs | 114 +++++------- ghost/admin/app/components/modal-share.js | 18 +- ghost/admin/app/styles/layouts/dashboard.css | 166 ++++++++++++------ ghost/admin/public/assets/icons/picture.svg | 1 + .../public/assets/icons/social-facebook.svg | 2 +- .../public/assets/icons/social-linkedin.svg | 2 +- ghost/admin/public/assets/icons/social-x.svg | 2 +- 7 files changed, 177 insertions(+), 128 deletions(-) create mode 100644 ghost/admin/public/assets/icons/picture.svg diff --git a/ghost/admin/app/components/modal-share.hbs b/ghost/admin/app/components/modal-share.hbs index 433fc2de62..aa8d4d1711 100644 --- a/ghost/admin/app/components/modal-share.hbs +++ b/ghost/admin/app/components/modal-share.hbs @@ -6,97 +6,69 @@ -
-
- {{#let (or @post.featureImage (get-setting "coverImage")) as |imageUrl|}} - {{#if imageUrl}} -
+ - You can set your publication icon, cover image and description in Settings -