From d0764c254ff12f0576c67f35a3557dad3df49a40 Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Fri, 21 Feb 2025 11:55:33 -0800 Subject: [PATCH 1/3] Update the footer and the home page to include Bluesky and Mastodon account links --- _includes/footer.html | 4 +++- assets/images/icon-bluesky.svg | 3 +++ assets/images/icon-mastodon.svg | 3 +++ assets/images/icon-x.svg | 3 +++ assets/stylesheets/_screen.scss | 10 ++++++++-- index.md | 4 +++- 6 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 assets/images/icon-bluesky.svg create mode 100644 assets/images/icon-mastodon.svg create mode 100644 assets/images/icon-x.svg diff --git a/_includes/footer.html b/_includes/footer.html index f89cbf07c..979c701a0 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -31,7 +31,9 @@ diff --git a/assets/images/icon-bluesky.svg b/assets/images/icon-bluesky.svg new file mode 100644 index 000000000..b46f53321 --- /dev/null +++ b/assets/images/icon-bluesky.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/icon-mastodon.svg b/assets/images/icon-mastodon.svg new file mode 100644 index 000000000..70b504eb3 --- /dev/null +++ b/assets/images/icon-mastodon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/icon-x.svg b/assets/images/icon-x.svg new file mode 100644 index 000000000..908bdcee2 --- /dev/null +++ b/assets/images/icon-x.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/stylesheets/_screen.scss b/assets/stylesheets/_screen.scss index fcdd39bc4..ee5926ed2 100644 --- a/assets/stylesheets/_screen.scss +++ b/assets/stylesheets/_screen.scss @@ -515,8 +515,14 @@ footer[role="contentinfo"] { margin-left: 1em; float: right; - &.twitter { - background-image: url("/assets/images/icon-twitter.svg"); + &.x { + background-image: url("/assets/images/icon-x.svg"); + } + &.mastodon { + background-image: url("/assets/images/icon-mastodon.svg"); + } + &.bluesky { + background-image: url("/assets/images/icon-bluesky.svg"); } &.feed { diff --git a/index.md b/index.md index dd8282443..e77bc5beb 100644 --- a/index.md +++ b/index.md @@ -130,7 +130,9 @@ Stay up-to-date with the latest in the Swift community.