From b35234156491b65d751e98919df6d94acf471065 Mon Sep 17 00:00:00 2001 From: liuboaibc Date: Thu, 11 Jun 2020 22:43:06 +0800 Subject: [PATCH] add icons --- assets/scss/conferences.scss | 1 + assets/scss/footer.scss | 16 ++++++++++++++++ config/_default/config.toml | 2 ++ layouts/partials/footer.html | 2 ++ static/images/footer/linkedin-hover.svg | 23 +++++++++++++++++++++++ static/images/footer/linkedin.svg | 23 +++++++++++++++++++++++ static/images/footer/medium-hover.svg | 23 +++++++++++++++++++++++ static/images/footer/medium.svg | 23 +++++++++++++++++++++++ 8 files changed, 113 insertions(+) create mode 100644 static/images/footer/linkedin-hover.svg create mode 100644 static/images/footer/linkedin.svg create mode 100644 static/images/footer/medium-hover.svg create mode 100644 static/images/footer/medium.svg diff --git a/assets/scss/conferences.scss b/assets/scss/conferences.scss index 44aaf3e4e..dba0cb5c5 100644 --- a/assets/scss/conferences.scss +++ b/assets/scss/conferences.scss @@ -39,6 +39,7 @@ @media only screen and (max-width: $mobile-max-width) { height: auto; padding: 24px; + overflow: hidden; } .left-img { diff --git a/assets/scss/footer.scss b/assets/scss/footer.scss index e43b36624..1d6eeae8f 100644 --- a/assets/scss/footer.scss +++ b/assets/scss/footer.scss @@ -176,6 +176,22 @@ background-image: url("/images/footer/github-hover.svg"); } } + + .medium-a { + background-image: url("/images/footer/medium.svg"); + + &:hover { + background-image: url("/images/footer/medium-hover.svg"); + } + } + + .linkedin-a { + background-image: url("/images/footer/linkedin.svg"); + + &:hover { + background-image: url("/images/footer/linkedin-hover.svg"); + } + } } .p1 { diff --git a/config/_default/config.toml b/config/_default/config.toml index f831a193a..4bdcc8e20 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -23,6 +23,8 @@ slackLink = "https://join.slack.com/t/kubesphere/shared_invite/enQtNTE3MDIxNzUxN youtubeLink = "https://www.youtube.com/channel/UCyTdUQUYjf7XLjxECx63Hpw" facebookLink = "" twitterLink = "https://twitter.com/KubeSphere" +mediumLink = "https://itnext.io/@kubesphere" +linkedinLink = "https://www.linkedin.com/company/kubesphere/" [languages.en] diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 71c6b7ba1..ac832e424 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -41,6 +41,8 @@ + +

{{ i18n "introduction2" }}

diff --git a/static/images/footer/linkedin-hover.svg b/static/images/footer/linkedin-hover.svg new file mode 100644 index 000000000..a4017a767 --- /dev/null +++ b/static/images/footer/linkedin-hover.svg @@ -0,0 +1,23 @@ + + + + linkedin/hover + Created with Sketch. + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/images/footer/linkedin.svg b/static/images/footer/linkedin.svg new file mode 100644 index 000000000..196033605 --- /dev/null +++ b/static/images/footer/linkedin.svg @@ -0,0 +1,23 @@ + + + + linkedin/default备份 2 + Created with Sketch. + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/images/footer/medium-hover.svg b/static/images/footer/medium-hover.svg new file mode 100644 index 000000000..55a846752 --- /dev/null +++ b/static/images/footer/medium-hover.svg @@ -0,0 +1,23 @@ + + + + Medium/hover + Created with Sketch. + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/images/footer/medium.svg b/static/images/footer/medium.svg new file mode 100644 index 000000000..265a1f52d --- /dev/null +++ b/static/images/footer/medium.svg @@ -0,0 +1,23 @@ + + + + Medium/default + Created with Sketch. + + + + + + + + + + + + + + + + + + \ No newline at end of file