1
1
<script setup>
2
2
/**
3
- * Adding a new banner:
4
- * 1. uncomment the banner slot in ../index.ts
5
- * 2. uncomment and update BANNER_ID in ../../inlined-scripts/restorePreferences.ts
6
- * 3. update --vt-banner-height if necessary
3
+ * Añadir un nuevo banner:
4
+ * 1. Descomenta el slot de banner en ../index.ts
5
+ * 2. Descomenta y actualiza BANNER_ID en ../../inlined-scripts/restorePreferences.ts
6
+ * 3. Actualiza --vt-banner-height si es necesario
7
7
*/
8
8
import { ref } from ' vue'
9
9
import { VTIconPlus } from ' @vue/theme'
10
10
11
11
const open = ref (true )
12
12
13
13
/**
14
- * Call this if the banner is dismissible
14
+ * Invoca a esto si el banner es descartable
15
15
*/
16
+
16
17
function dismiss () {
17
18
open .value = false
18
19
document .documentElement .classList .add (' banner-dismissed' )
@@ -99,14 +100,14 @@ function dismiss() {
99
100
</svg >
100
101
<div class =" banner__middle" >
101
102
<div class =" title gradient_text" >
102
- Haven't migrated to Vue 3 yet ?
103
+ ¿Aún no has migrado a Vue 3?
103
104
</div >
104
105
<div class =" separator" ></div >
105
106
<div class =" subtitle white_text" >
106
- Explore Never-Ending Support for Vue 2 by HeroDevs
107
+ Explora el soporte interminable para Vue 2 por HeroDevs
107
108
</div >
108
109
<div class =" cta_button_container" >
109
- <button class =" cta_button" >Learn more </button >
110
+ <button class =" cta_button" >Más información </button >
110
111
</div >
111
112
</div >
112
113
<svg
@@ -402,4 +403,4 @@ button#dismiss_button {
402
403
display : block ;
403
404
}
404
405
}
405
- </style >
406
+ </style >
0 commit comments