Add stars to GH panel
This commit is contained in:
parent
98ab63f72c
commit
26239de119
@ -14,6 +14,7 @@ export default {
|
|||||||
case '.fa-compact-disc:before':
|
case '.fa-compact-disc:before':
|
||||||
case '.fa-discord:before':
|
case '.fa-discord:before':
|
||||||
case '.fa-github:before':
|
case '.fa-github:before':
|
||||||
|
case '.fa-star:before':
|
||||||
case '.fa-circle:before':
|
case '.fa-circle:before':
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
<script>
|
<script>
|
||||||
import PanelButton from './PanelButton.svelte';
|
import PanelButton from './PanelButton.svelte';
|
||||||
|
import GitHubStarCount from 'labs/packages/astro-theme/components/nav/GitHubStarCount.svelte'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1 class="text-lg font-bold">GitHub</h1>
|
<h1 class="text-lg font-bold">GitHub</h1>
|
||||||
<PanelButton buttonIcon="assets/github-mark-white.svg" clickUrl="https://github.com/leaningtech/webvm" buttonText="GitHub Repo"/>
|
<PanelButton buttonIcon="assets/github-mark-white.svg" clickUrl="https://github.com/leaningtech/webvm" buttonText="Star on GitHub">
|
||||||
|
<i class='fas fa-star fa-xs ml-auto'></i>
|
||||||
|
<span class="ml-1"><GitHubStarCount repo="leaningtech/webvm"/></span>
|
||||||
|
</PanelButton>
|
||||||
<p>WebVM is FOSS, you can fork it to build your own version and begin working on your CheerpX-based project</p>
|
<p>WebVM is FOSS, you can fork it to build your own version and begin working on your CheerpX-based project</p>
|
||||||
<p>Found a bug? Please open a GitHub issue</p>
|
<p>Found a bug? Please open a <a class="underline" href="https://github.com/leaningtech/webvm/issues" target="_blank">GitHub issue</a></p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user