From f8719e59d4a47f6ab73bb832396464140907306a 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 bd93206c3c..069b09109e 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
diff --git a/docs/README.md b/docs/README.md
index 562446de58..63770a4e65 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 0000000000..8778286845
--- /dev/null
+++ b/docs/_media/powered-by-vercel.svg
@@ -0,0 +1,6 @@
+
diff --git a/docs/index.html b/docs/index.html
index 6e172574ab..e8ed4f1564 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 '
- );
- });
+ })
},
],
};
diff --git a/index.html b/index.html
index b8e2fa011a..1e112b2338 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' +
+ ''
);
});
},