Skip to content

Commit 306c71e

Browse files
authored
Revert "chore: update vercel logo (#1776)"
This reverts commit f8719e5.
1 parent 3ba0549 commit 306c71e

File tree

5 files changed

+20
-10
lines changed

5 files changed

+20
-10
lines changed

README.md

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

125125
## Special Thanks
126126

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>
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>

docs/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ 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
This file was deleted.

docs/index.html

+10-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,16 @@
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-
})
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+
});
201210
},
202211
],
203212
};

index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@
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>\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>'
109+
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
111110
);
112111
});
113112
},

0 commit comments

Comments
 (0)