From 52e402d4398d6e7eeb85da01c546434c7a634556 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sat, 29 Apr 2023 20:48:56 +0200 Subject: [PATCH] docs: update social links --- website/docusaurus.config.js | 18 ++++++++++-------- website/src/css/custom.css | 22 +++++++--------------- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index c8663fac..d1fa9a42 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -61,17 +61,17 @@ module.exports = { 'aria-label': 'GitKraken', position: 'right', }, - { - href: 'https://hachyderm.io/@jandedobbeleer', - className: 'header-mastodon-link', - 'aria-label': 'Mastodon', - position: 'right', - }, { href: 'https://discord.gg/n7E3DkXssv', className: 'header-discord-link', 'aria-label': 'Discord', position: 'right', + }, + { + href: 'https://staging.bsky.app/profile/ohmyposh.dev', + className: 'header-bluesky-link', + 'aria-label': 'Bluesky', + position: 'right', } ], }, @@ -99,10 +99,12 @@ module.exports = { href: 'https://github.com/jandedobbeleer/oh-my-posh', }, { - html: 'Mastodon ', + label: 'Discord', + href: 'https://discord.gg/n7E3DkXssv', }, { - html: 'Releases ', + label: 'Bluesky', + href: 'https://staging.bsky.app/profile/ohmyposh.dev', } ], }, diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 19356fdf..b5ecaf9e 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -54,27 +54,19 @@ html[data-theme="dark"] .header-github-link:before { no-repeat; } -.header-mastodon-link { - width: 45px; +.header-bluesky-link { + padding-top: 0px; } -.header-mastodon-link:hover { +.header-bluesky-link:hover { opacity: 0.6; } -.header-mastodon-link:before { - content: ""; - width: 25px; - height: 25px; - display: flex; +.header-bluesky-link:before { + content: "@"; + font-style: bold; + font-size: 24px; padding-right: 10px; - background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20216.4144%20232.00976%22%3E%3Cpath%20fill%3D%22%232b90d9%22%20d%3D%22M211.80734%20139.0875c-3.18125%2016.36625-28.4925%2034.2775-57.5625%2037.74875-15.15875%201.80875-30.08375%203.47125-45.99875%202.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125%200%202.53375.15625%204.94625.46875%207.2025%203.38375%2025.68625%2025.47%2027.225%2046.39125%2027.9425%2021.11625.7225%2039.91875-5.20625%2039.91875-5.20625l.8675%2019.09s-14.77%207.93125-41.08125%209.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234%20213.82%201.40609%20165.31125.20859%20116.09125c-.365-14.61375-.14-28.39375-.14-39.91875%200-50.33%2032.97625-65.0825%2032.97625-65.0825C49.67234%203.45375%2078.20359.2425%20107.86484%200h.72875c29.66125.2425%2058.21125%203.45375%2074.8375%2011.09%200%200%2032.975%2014.7525%2032.975%2065.0825%200%200%20.41375%2037.13375-4.59875%2062.915%22/%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M177.50984%2080.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025%200-17.4175%207.5075-17.4175%2022.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375%200-15.74%206.32875-15.74%2018.7975v59.15H38.90484V80.077c0-12.455%203.17125-22.3525%209.54125-29.675%206.56875-7.3225%2015.17125-11.07625%2025.85-11.07625%2012.355%200%2021.71125%204.74875%2027.8975%2014.2475l6.01375%2010.08125%206.015-10.08125c6.185-9.49875%2015.54125-14.2475%2027.8975-14.2475%2010.6775%200%2019.28%203.75375%2025.85%2011.07625%206.36875%207.3225%209.54%2017.22%209.54%2029.675%22/%3E%3C/svg%3E") - no-repeat; -} - -html[data-theme="dark"] .header-mastodon-link:before { - background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20216.4144%20232.00976%22%3E%3Cpath%20fill%3D%22%232b90d9%22%20d%3D%22M211.80734%20139.0875c-3.18125%2016.36625-28.4925%2034.2775-57.5625%2037.74875-15.15875%201.80875-30.08375%203.47125-45.99875%202.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125%200%202.53375.15625%204.94625.46875%207.2025%203.38375%2025.68625%2025.47%2027.225%2046.39125%2027.9425%2021.11625.7225%2039.91875-5.20625%2039.91875-5.20625l.8675%2019.09s-14.77%207.93125-41.08125%209.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234%20213.82%201.40609%20165.31125.20859%20116.09125c-.365-14.61375-.14-28.39375-.14-39.91875%200-50.33%2032.97625-65.0825%2032.97625-65.0825C49.67234%203.45375%2078.20359.2425%20107.86484%200h.72875c29.66125.2425%2058.21125%203.45375%2074.8375%2011.09%200%200%2032.975%2014.7525%2032.975%2065.0825%200%200%20.41375%2037.13375-4.59875%2062.915%22/%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M177.50984%2080.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025%200-17.4175%207.5075-17.4175%2022.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375%200-15.74%206.32875-15.74%2018.7975v59.15H38.90484V80.077c0-12.455%203.17125-22.3525%209.54125-29.675%206.56875-7.3225%2015.17125-11.07625%2025.85-11.07625%2012.355%200%2021.71125%204.74875%2027.8975%2014.2475l6.01375%2010.08125%206.015-10.08125c6.185-9.49875%2015.54125-14.2475%2027.8975-14.2475%2010.6775%200%2019.28%203.75375%2025.85%2011.07625%206.36875%207.3225%209.54%2017.22%209.54%2029.675%22/%3E%3C/svg%3E") - no-repeat; } .header-gk-link:hover {