-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/watchlist
- Loading branch information
Showing
21 changed files
with
726 additions
and
592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.16.0 | ||
20.17.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<template> | ||
<div> | ||
<h4 class="text-base font-semibold mb-2">Premium sponsors</h4> | ||
</div> | ||
<a | ||
href="https://github.com/sponsors/privatenumber/sponsorships?pay_prorated=false&tier_id=388346" | ||
target="_blank" | ||
class="sponsor-placeholder" | ||
> | ||
Your logo + link here | ||
|
||
<button type="button" class="sponsor-button mt-4"> | ||
Become a sponsor | ||
</button> | ||
</a> | ||
</template> | ||
|
||
<style scoped> | ||
.sponsor-placeholder { | ||
@apply | ||
block | ||
border-2 | ||
border-dashed | ||
rounded | ||
py-6 | ||
text-center | ||
text-sm | ||
transition-colors | ||
text-zinc-500 | ||
border-zinc-400 | ||
hover:text-zinc-800 | ||
hover:border-zinc-700; | ||
} | ||
html.dark .sponsor-placeholder { | ||
@apply | ||
border-zinc-500 | ||
text-zinc-500 | ||
hover:border-zinc-200 | ||
hover:text-zinc-200; | ||
} | ||
.sponsor-button { | ||
@apply | ||
text-xs | ||
rounded-full | ||
bg-pink-500 | ||
text-white | ||
py-1 | ||
px-4; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
import { h } from 'vue'; | ||
import DefaultTheme from 'vitepress/theme'; | ||
import AsideSponsors from './components/AsideSponsors.vue'; | ||
import './styles.css'; | ||
|
||
export default DefaultTheme; | ||
export default { | ||
extends: DefaultTheme, | ||
Layout: () => h( | ||
DefaultTheme.Layout, | ||
null, | ||
{ | ||
'aside-ads-before': () => h(AsideSponsors), | ||
}, | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.