File tree 3 files changed +39
-38
lines changed
packages/docs/.vitepress/theme
3 files changed +39
-38
lines changed Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ import HomeSponsorsGroup from ' ./HomeSponsorsGroup.vue'
3
+ import sponsors from ' ./sponsors.json'
4
+ import { useData } from ' vitepress'
5
+
6
+ const { site } = useData ()
7
+ const translations = {
8
+ en: ' Become a sponsor' ,
9
+ ' en-US' : ' Become a Sponsor!' ,
10
+ ' zh-CN' : ' 成为赞助者!' ,
11
+ }
12
+ </script >
13
+
1
14
<template >
2
15
<div class =" sponsors_outer" >
3
16
<div >
24
37
</div >
25
38
</template >
26
39
27
- <script setup lang="ts">
28
- import HomeSponsorsGroup from ' ./HomeSponsorsGroup.vue'
29
- import sponsors from ' ./sponsors.json'
30
- import { useData } from ' vitepress'
31
40
32
- const { site } = useData ()
33
- const translations = {
34
- en: ' Become a sponsor' ,
35
- ' en-US' : ' Become a Sponsor!' ,
36
- ' zh-CN' : ' 成为赞助者!' ,
41
+ <style scoped>
42
+ .become-sponsor {
43
+ font-size : 0.9em ;
44
+ font-weight : 700 ;
45
+ width : auto ;
46
+ text-align : center ;
47
+ background-color : transparent ;
48
+ padding : 0.75em 2em ;
49
+ border-radius : 2em ;
50
+ transition : all 0.30s ease ;
51
+ box-sizing : border-box ;
52
+ border : 2px solid var (--vp-c-brand-1 );
53
+ text-decoration : none ;
54
+ }
55
+
56
+ .become-sponsor :hover {
57
+ background-color : var (--vp-c-brand );
58
+ border-color : var (--vp-c-brand );
59
+ color : var (--vp-button-brand-text ) !important ;
60
+ }
61
+
62
+ .sponsors-top .become-sponsor {
63
+ font-size : 0.75em ;
64
+ padding : 0.2em ;
65
+ width : auto ;
66
+ max-width : 150px ;
37
67
}
38
- </script >
39
68
40
- <style scoped>
41
69
.sponsors_outer {
42
70
text-align : center ;
43
71
padding : 35px 40px 45px ;
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import AsideSponsors from './components/AsideSponsors.vue'
5
5
// import HomeSponsors from './components/HomeSponsors.vue'
6
6
import TranslationStatus from 'vitepress-translation-helper/ui/TranslationStatus.vue'
7
7
import './styles/vars.css'
8
- import './styles/sponsors.css'
9
8
import VueSchoolLink from './components/VueSchoolLink.vue'
10
9
import VueMasteryLogoLink from './components/VueMasteryLogoLink.vue'
11
10
import status from '../translation-status.json'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments