From 2d13255acb918f0b41580c8b68a257b8c0ad5d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=94=81?= <52o@qq52o.cn> Date: Thu, 24 Mar 2022 00:46:36 +0800 Subject: [PATCH] chore: update vercel logo (#1776) * chore: update vercel logo * chore: update vercel logo * chore: remove vercel link form github pages * chore: update style * chore: update readme * chore: update readme * chore: update readme --- README.md | 4 +--- docs/README.md | 6 ------ docs/_media/powered-by-vercel.svg | 6 ++++++ docs/index.html | 11 +---------- index.html | 3 ++- 5 files changed, 10 insertions(+), 20 deletions(-) create mode 100644 docs/_media/powered-by-vercel.svg diff --git a/README.md b/README.md index bd93206c..069b0910 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,4 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ## Special Thanks -_Vercel_ has given us a Pro account. - - +A preview of Docsify's PR and develop branch is Powered by Vercel diff --git a/docs/README.md b/docs/README.md index 562446de..63770a4e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,9 +30,3 @@ Please consider donating if you think docsify is helpful to you or that my work ## Community Users and the development team are usually in the [Discord server](https://discord.gg/3NwKFyR). - -## Special Thanks - -_Vercel_ has given us a Pro account. - - diff --git a/docs/_media/powered-by-vercel.svg b/docs/_media/powered-by-vercel.svg new file mode 100644 index 00000000..87782868 --- /dev/null +++ b/docs/_media/powered-by-vercel.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/index.html b/docs/index.html index 6e172574..e8ed4f15 100644 --- a/docs/index.html +++ b/docs/index.html @@ -197,16 +197,7 @@ '\n\n----\n\n' + 'Powered by docsify' ); - }), - hook.afterEach(function (html) { - if (vm.route.path === '/') { - return html; - } - return ( - html + - '
Vercel has given us a Pro account
Vercel' - ); - }); + }) }, ], }; diff --git a/index.html b/index.html index b8e2fa01..1e112b23 100644 --- a/index.html +++ b/index.html @@ -106,7 +106,8 @@ editHtml + html + '\n\n----\n\n' + - 'Powered by docsify' + 'Powered by docsify\n\n' + + 'Vercel' ); }); },