docs: update social links

This commit is contained in:
Jan De Dobbeleer 2023-04-29 20:48:56 +02:00 committed by Jan De Dobbeleer
parent 7980b01621
commit 52e402d439
2 changed files with 17 additions and 23 deletions

View file

@ -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: '<a class="footer__link-item" rel="me" href="https://hachyderm.io/@jandedobbeleer">Mastodon <svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_node_modules-@docusaurus-theme-classic-lib-theme-Icon-ExternalLink-styles-module"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a>',
label: 'Discord',
href: 'https://discord.gg/n7E3DkXssv',
},
{
html: '<a class="footer__link-item" rel="me" href="https://hachyderm.io/@releasebot">Releases <svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_node_modules-@docusaurus-theme-classic-lib-theme-Icon-ExternalLink-styles-module"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a>',
label: 'Bluesky',
href: 'https://staging.bsky.app/profile/ohmyposh.dev',
}
],
},

View file

@ -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 {