Skip to content

Commit

Permalink
Add OpenSponsorship
Browse files Browse the repository at this point in the history
  • Loading branch information
Gesugao-san committed Feb 13, 2024
1 parent b4c4ca6 commit 65523d0
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 2 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.6",
"@vitejs/plugin-vue": "^5.0.4",
"vite": "^5.1.1",
Expand Down
6 changes: 5 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@ import {
faWikipediaW,
faDiscord
} from '@fortawesome/free-brands-svg-icons'
import {faHandHoldingHeart} from '@fortawesome/free-solid-svg-icons'
import ProjectInfo from './components/ProjectInfo.vue'
import OpenDiscord from './components/Open/OpenDiscord.vue'
import OpenGitHub from './components/Open/OpenGitHub.vue'
import OpenWiki from './components/Open/OpenWiki.vue'
import OpenSponsorship from './components/Open/OpenSponsorship.vue'
import HelloWorld from './components/HelloWorld.vue'
import TheWelcome from './components/TheWelcome.vue'
import SocialMediaLinks from './components/SocialMediaLinks.vue'
library.add(
faDiscord,
faGithub,
faWikipediaW,
faDiscord
faHandHoldingHeart
)
</script>

Expand Down Expand Up @@ -67,6 +70,7 @@ library.add(
<OpenDiscord />
<OpenGitHub />
<OpenWiki />
<OpenSponsorship />
</div>
<!-- <SocialMediaLinks title='@hrwebdevelopers' description='We build blazing-fast, beautiful websites for startups, small businesses and enterprises.' /> -->
</main>
Expand Down
8 changes: 8 additions & 0 deletions src/components/Open/OpenSponsorship.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script setup>
import OpenURL from './OpenURL2.vue'
import ProjectInfo from './../ProjectInfo.vue'
</script>

<template>
<OpenURL :url='`https://donate.qiwi.com/payin/${ProjectInfo.sponsorship}/`' icon='hand-holding-heart' />
</template>
12 changes: 12 additions & 0 deletions src/components/Open/OpenURL2.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<script setup>
defineProps({
url: {type: String, required: true},
icon: {type: String, required: true}
})
</script>

<template>
<a :href='`${url}`' target="_blank" rel="noreferrer">
<font-awesome-icon :icon="['fas', `${icon}`]" />
</a>
</template>
3 changes: 2 additions & 1 deletion src/components/ProjectInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
export default {
name: 'Proxima',
discord: '4EDMR24r9m',
wiki: 'wiki.proxima.fun',
github: 'Proxima-Project',
wiki: 'wiki.proxima.fun',
sponsorship: 'Phoenix404'
};
</script>

0 comments on commit 65523d0

Please sign in to comment.