summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components/integrations.integration.vue
blob: 8be9d9955481af85d10770fb5eb277dc9f4bde6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<template>
<a class="zxrjzpcj" :href="url" :class="service" target="_blank">
	<fa :icon="icon" size="lg" fixed-width /><span>{{ text }}</span>
</a>
</template>

<script lang="ts">
import Vue from 'vue';

export default Vue.extend({
	props: ['url', 'text', 'icon', 'service']
});
</script>

<style lang="stylus" scoped>
.zxrjzpcj
	display inline-block
	padding 6px 8px 6px 6px
	margin-top 4px
	margin-bottom 4px
	border-radius 32px
	white-space nowrap

	&:hover
		text-decoration none

	&.twitter
		color #fff
		background #1da1f3

		&:hover
			background #0c87cf

	&.github
		color #fff
		background #171515

		&:hover
			background #000

	&.discord
		color #fff
		background #7289da

		&:hover
			background #4968ce

</style>