From a60220c2cfdad5d25802dbfd5ca72ed25bf699f3 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Tue, 25 Jan 2022 09:56:11 +0800 Subject: [PATCH] website: use social media icons --- website/docusaurus.config.js | 16 ++++++++-------- website/static/img/icons8-facebook-light.svg | 1 + website/static/img/icons8-facebook.svg | 1 + website/static/img/icons8-github-light.svg | 1 + website/static/img/icons8-github.svg | 1 + website/static/img/icons8-twitter-light.svg | 1 + website/static/img/icons8-twitter.svg | 1 + 7 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 website/static/img/icons8-facebook-light.svg create mode 100644 website/static/img/icons8-facebook.svg create mode 100644 website/static/img/icons8-github-light.svg create mode 100644 website/static/img/icons8-github.svg create mode 100644 website/static/img/icons8-twitter-light.svg create mode 100644 website/static/img/icons8-twitter.svg diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 1848a503..624cfbd8 100755 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -23,23 +23,23 @@ module.exports = { src: 'img/logo.svg', }, items: [ - {href: '/introduction', label: 'Getting Started', position: 'left'}, + {href: '/introduction', label: 'Getting started', position: 'left'}, {to: 'blog', label: 'Blog', position: 'left'}, { - href: 'https://www.facebook.com/techinterviewhandbook', - label: 'Facebook', + href: 'https://github.com/yangshun/tech-interview-handbook', position: 'right', + className: 'navbar-icon navbar-icon-github', + 'aria-label': 'GitHub repository', }, { - href: 'https://twitter.com/yangshunz', - label: 'Twitter', + href: 'https://www.facebook.com/techinterviewhandbook', position: 'right', + className: 'navbar-icon navbar-icon-facebook', }, { - href: 'https://github.com/yangshun/tech-interview-handbook', + href: 'https://twitter.com/yangshunz', position: 'right', - className: 'header-github-link', - 'aria-label': 'GitHub repository', + className: 'navbar-icon navbar-icon-twitter', }, ], }, diff --git a/website/static/img/icons8-facebook-light.svg b/website/static/img/icons8-facebook-light.svg new file mode 100644 index 00000000..be47b238 --- /dev/null +++ b/website/static/img/icons8-facebook-light.svg @@ -0,0 +1 @@ + diff --git a/website/static/img/icons8-facebook.svg b/website/static/img/icons8-facebook.svg new file mode 100644 index 00000000..16147417 --- /dev/null +++ b/website/static/img/icons8-facebook.svg @@ -0,0 +1 @@ + diff --git a/website/static/img/icons8-github-light.svg b/website/static/img/icons8-github-light.svg new file mode 100644 index 00000000..f04e543c --- /dev/null +++ b/website/static/img/icons8-github-light.svg @@ -0,0 +1 @@ + diff --git a/website/static/img/icons8-github.svg b/website/static/img/icons8-github.svg new file mode 100644 index 00000000..4263f8aa --- /dev/null +++ b/website/static/img/icons8-github.svg @@ -0,0 +1 @@ + diff --git a/website/static/img/icons8-twitter-light.svg b/website/static/img/icons8-twitter-light.svg new file mode 100644 index 00000000..3e9c79ab --- /dev/null +++ b/website/static/img/icons8-twitter-light.svg @@ -0,0 +1 @@ + diff --git a/website/static/img/icons8-twitter.svg b/website/static/img/icons8-twitter.svg new file mode 100644 index 00000000..858b14e6 --- /dev/null +++ b/website/static/img/icons8-twitter.svg @@ -0,0 +1 @@ +