Skip to content

Commit 63b8d5e

Browse files
committed
docs: add sponsor links
1 parent f124427 commit 63b8d5e

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ A Vue Cli 3 plugin for Electron with no required configuration that uses [Electr
44

55
Windows (Appveyor): [![Build status](https://ci.appveyor.com/api/projects/status/tyrr8kemli4vfll7?svg=true)](https://ci.appveyor.com/project/nklayman/vue-cli-plugin-electron-builder), Linux (Travis): [![Build Status](https://travis-ci.org/nklayman/vue-cli-plugin-electron-builder.svg?branch=master)](https://travis-ci.org/nklayman/vue-cli-plugin-electron-builder)
66

7+
[![Sponsor](./docs/.vuepress/public/sponsorShield.svg)](https://github.com/sponsors/nklayman)
8+
79
**IMPORTANT: Your app must be created with Vue-CLI 3 (vue create my-app), will not work with Vue-CLI 2 (vue init webpack my-app)!**
810

911
**IMPORTANT: These docs are for the v1.0.0 release of VCP Electron Builder. If you were previously using an older version of vue-cli-plugin-electron-builder (<1.0.0), please see the [upgrade guide](https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/upgrading.html) or [view the old docs](https://github.com/nklayman/vue-cli-plugin-electron-builder/tree/legacy).**

docs/.vuepress/components/Sponsor.vue

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<template>
2+
<p class="sponsor">
3+
<a href="https://github.com/sponsors/nklayman" target="_blank">
4+
<span>Support This Project</span>
5+
<img alt="Sponsor" src="sponsorShield.svg">
6+
</a>
7+
</p>
8+
</template>
9+
10+
<style lang="stylus">
11+
.sponsor
12+
font-weight 600
13+
background-color #f3f6f8
14+
padding 0.6em 1.2em
15+
border-radius 8px
16+
display inline-block
17+
margin 1em 0 !important
18+
a
19+
color #999
20+
img
21+
height 20px
22+
margin-left 15px
23+
img, span
24+
vertical-align middle
25+
</style>

docs/.vuepress/config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ module.exports = {
2323
text: 'Changelog',
2424
link:
2525
'https://github.com/nklayman/vue-cli-plugin-electron-builder/releases'
26+
},
27+
{
28+
text: 'Sponsor',
29+
link: 'https://github.com/sponsors/nklayman'
2630
}
2731
],
2832
sidebar: {
Lines changed: 1 addition & 0 deletions
Loading

docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ actionLink: /guide/
66
footer: MIT Licensed | Copyright © 2018-present Noah Klayman
77
---
88

9+
<div style="text-align: center">
10+
<Sponsor/>
11+
</div>
12+
913
<div class="features">
1014
<div class="feature">
1115
<h2>Write Once, Run Everywhere</h2>

0 commit comments

Comments
 (0)