Skip to content

Commit

Permalink
Revert "chore: update vercel logo (#1776)"
Browse files Browse the repository at this point in the history
This reverts commit f8719e5.
  • Loading branch information
Koooooo-7 committed Oct 26, 2022
1 parent 3ba0549 commit 306c71e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,6 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR

## Special Thanks

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>
_Vercel_ has given us a Pro account.

<a href="https://vercel.com/?utm_source=docsifyjs&utm_campaign=oss" target="_blank"><img src="docs/_media/vercel_logo.svg" width="100px"></a>
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ 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.

<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>
6 changes: 0 additions & 6 deletions docs/_media/powered-by-vercel.svg

This file was deleted.

11 changes: 10 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,16 @@
'\n\n----\n\n' +
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
);
})
}),
hook.afterEach(function (html) {
if (vm.route.path === '/') {
return html;
}
return (
html +
'<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>'
);
});
},
],
};
Expand Down
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@
editHtml +
html +
'\n\n----\n\n' +
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>\n\n' +
'<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>'
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
);
});
},
Expand Down

0 comments on commit 306c71e

Please sign in to comment.