@@ -22,31 +22,16 @@ function dismiss() {
22
22
23
23
<template >
24
24
<div class =" banner" v-if =" open" >
25
- <p class =" vt-banner-text" >
26
- <span class =" vt-text-primary" >
27
- Vueconf.US
28
- </span >
29
- <span class =" vt-tagline" > · The official Vue.js conf</span >
30
- <span class =" vt-place" > · Tampa, USA</span >
31
- <span class =" vt-date" > · 19-21 May 2025</span >
32
- <a target =" _blank" class =" vt-primary-action"
33
- href =" https://vueconf.us/?utm_source=vuejs&utm_content=top_banner" >
34
- Register
35
- </a >
36
- </p >
25
+ <a target =" _blank" ></a >
37
26
<button @click =" dismiss" >
38
27
<VTIconPlus class =" close" />
39
28
</button >
40
- <p class =" vt-banner-text vt-coupon" >
41
- <span class =" vt-text-primary" >Use</span > VUEJSDOCS
42
- <span class =" vt-text-primary" > $200 off</span >
43
- </p >
44
29
</div >
45
30
</template >
46
31
47
32
<style >
48
33
html :not (.banner-dismissed ) {
49
- --vt-banner-height : 60 px ;
34
+ --vt-banner-height : 30 px ;
50
35
}
51
36
</style >
52
37
@@ -65,12 +50,12 @@ html:not(.banner-dismissed) {
65
50
font-weight : 600 ;
66
51
color : #fff ;
67
52
background-color : var (--vt-c-green );
68
- background : #0f172a ;
69
- display : flex ;
70
- justify-content : center ;
71
- align-items : center ;
72
-
73
-
53
+ background : linear-gradient (
54
+ 90 deg ,
55
+ rgba ( 66 , 184 , 131 , 1 ) 0 % ,
56
+ rgba ( 39 , 179 , 137 , 1 ) 19 % ,
57
+ rgba ( 100 , 126 , 255 , 1 ) 100 %
58
+ );
74
59
}
75
60
76
61
.banner-dismissed .banner {
@@ -85,7 +70,7 @@ button {
85
70
position : absolute ;
86
71
right : 0 ;
87
72
top : 0 ;
88
- padding : 10 px 10 px ;
73
+ padding : 5 px ;
89
74
}
90
75
91
76
.close {
@@ -94,61 +79,10 @@ button {
94
79
fill : #fff ;
95
80
transform : rotate (45deg );
96
81
}
97
-
98
- .vt-banner-text {
99
- color : #fff ;
100
- font-size : 16px ;
101
- }
102
-
103
- .vt-text-primary {
104
- color : #75c05e ;
105
- }
106
-
107
- .vt-primary-action {
108
- background : #75c05e ;
109
- color : #121c1a ;
110
- padding : 8px 15px ;
111
- border-radius : 5px ;
112
- font-size : 14px ;
113
- text-decoration : none ;
114
- margin : 0 10px ;
115
- font-weight : bold ;
116
- }
117
-
118
- .vt-primary-action :hover {
119
- text-decoration : none ;
120
- background : #c4d141 ;
121
- }
122
-
123
- @media (max-width : 1280px ) {
124
- .banner .vt-banner-text {
125
- font-size : 14px ;
126
- }
127
-
128
-
129
- }
130
-
131
- @media (max-width : 780px ) {
132
- .vt-tagline {
133
- display : none ;
134
- }
135
- .vt-primary-action {
136
- margin : 0 10px ;
137
- padding : 5px 5px ;
138
- }
139
-
140
- .vt-time-now {
141
- display : none ;
142
- }
143
- }
144
-
145
- @media (max-width : 560px ) {
146
-
147
- .vt-place {
82
+ /*
83
+ @media (max-width: 720px) {
84
+ a > span {
148
85
display: none;
149
86
}
150
- .vt-date {
151
- display : none ;
152
- }
153
- }
87
+ } */
154
88
</style >
0 commit comments