1
1
<template >
2
2
<div class =" banner banner-vuejsconf" v-if =" isVisible" >
3
- <a href =" https://conf.vuejs.de/? utm_source=vuejs&utm_medium=referral&utm_campaign=banner-placement&utm_content=banner"
3
+ <a href =" https://conf.vuejs.de/tickets/?voucher=COMMUNITY& utm_source=vuejs&utm_medium=referral&utm_campaign=banner-placement&utm_content=banner"
4
4
target =" _blank" >
5
5
<picture >
6
- <source media =" (min-width:1200px)" srcset =" /vuejsde-conf/vuejsdeconf_banner_large.png" />
7
- <source media =" (min-width:920px)" srcset =" /vuejsde-conf/vuejsdeconf_banner_medium.png" />
8
- <img src =" /vuejsde-conf/vuejsdeconf_banner_small.png" alt =" " />
6
+ <source media =" (min-width:1260px)" srcset =" /vuejsde-conf/vuejsdeconf_banner_large.png" />
7
+ <source media =" (min-width:970px)" srcset =" /vuejsde-conf/vuejsdeconf_banner_medium.png" />
8
+ <source media =" (min-width:576px)" srcset =" /vuejsde-conf/vuejsdeconf_banner_small.png" />
9
+ <img src =" /vuejsde-conf/vuejsdeconf_banner_smallest.png" alt =" " />
9
10
</picture >
10
11
</a >
11
12
<div class =" close-btn" @click.stop.prevent =" closeBanner" >
@@ -19,7 +20,7 @@ import { ref, onMounted } from 'vue'
19
20
20
21
const isVisible = ref (false )
21
22
22
- const nameStorage = ' VUEJSDECONF-BANNER-JUNE -2024'
23
+ const nameStorage = ' VUEJSDECONF-BANNER-SEPTEMBER -2024'
23
24
24
25
const resetLayoutTopHeight = () => {
25
26
document .documentElement .classList .add (' banner-dismissed' )
@@ -43,7 +44,7 @@ onMounted(() => {
43
44
</script >
44
45
<style >
45
46
html :not (.banner-dismissed ) {
46
- --vp-layout-top-height : 60 px ;
47
+ --vp-layout-top-height : 72 px ;
47
48
}
48
49
</style >
49
50
<style scoped>
@@ -59,7 +60,7 @@ html:not(.banner-dismissed) {
59
60
text-align : center ;
60
61
font-size : 12px ;
61
62
font-weight : 600 ;
62
- color : #fff ;
63
+ color : #000 ;
63
64
}
64
65
65
66
.banner-dismissed .banner {
70
71
text-decoration : underline ;
71
72
}
72
73
74
+ .close {
75
+ font-size : 24px ;
76
+ }
77
+
73
78
.banner-vuejsconf {
74
- background : linear-gradient (90deg , #fff 50% , #43b883 50% );
79
+ background : linear-gradient (90deg , #fff 50% , #6f97c4 50% );
75
80
}
76
81
77
82
.banner-vuejsconf a {
80
85
}
81
86
82
87
.banner-vuejsconf .close-btn {
83
- top : 10 px ;
84
- right : 10 px ;
88
+ top : 0 px ;
89
+ left : 0 px ;
85
90
z-index : 99 ;
86
91
position : absolute ;
87
92
border-radius : 50% ;
0 commit comments