Skip to content

Commit 2d13255

Browse files
authored
chore: update vercel logo (docsifyjs#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
1 parent 093d4a0 commit 2d13255

File tree

5 files changed

+10
-20
lines changed

5 files changed

+10
-20
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,4 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR
124124

125125
## Special Thanks
126126

127-
_Vercel_ has given us a Pro account.
128-
129-
<a href="https://vercel.com/?utm_source=docsifyjs&utm_campaign=oss" target="_blank"><img src="docs/_media/vercel_logo.svg" width="100px"></a>
127+
A preview of Docsify's PR and develop branch is <a href="https://vercel.com/?utm_source=docsifyjs&utm_campaign=oss" target="_blank">Powered by <img src="https://cdn.jsdelivr.net/gh/docsifyjs/docsify/docs/_media/vercel_logo.svg" alt="Vercel" width="133px"></a>

docs/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,3 @@ Please consider donating if you think docsify is helpful to you or that my work
3030
## Community
3131

3232
Users and the development team are usually in the [Discord server](https://discord.gg/3NwKFyR).
33-
34-
## Special Thanks
35-
36-
_Vercel_ has given us a Pro account.
37-
38-
<a href="https://vercel.com/?utm_source=docsifyjs&utm_campaign=oss" target="_blank"><img src="https://cdn.jsdelivr.net/gh/docsifyjs/docsify/docs/_media/vercel_logo.svg" width="100px"></a>

docs/_media/powered-by-vercel.svg

+6
Loading

docs/index.html

+1-10
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,7 @@
197197
'\n\n----\n\n' +
198198
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
199199
);
200-
}),
201-
hook.afterEach(function (html) {
202-
if (vm.route.path === '/') {
203-
return html;
204-
}
205-
return (
206-
html +
207-
'<br/> <i>Vercel</i> has given us a Pro account <br/> <a href="https://vercel.com/?utm_source=docsifyjs&utm_campaign=oss" target="_blank"><img src="https://cdn.jsdelivr.net/gh/docsifyjs/docsify/docs/_media/vercel_logo.svg" alt="Vercel" width="100" height="64"></a>'
208-
);
209-
});
200+
})
210201
},
211202
],
212203
};

index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@
106106
editHtml +
107107
html +
108108
'\n\n----\n\n' +
109-
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
109+
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>\n\n' +
110+
'<a href="https://vercel.com/?utm_source=docsifyjs&utm_campaign=oss" target="_blank" title="Vercel has given us a Pro account"><img src="/docs/_media/powered-by-vercel.svg" alt="Vercel" width="150"></a>'
110111
);
111112
});
112113
},

0 commit comments

Comments
 (0)