Skip to content

Commit 9334004

Browse files
committed
feat: updated whats new messages
1 parent 0b2f267 commit 9334004

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

src/components/WhatsNewModal.vue

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<template>
2-
<Modal v-if="open" @close="close" body-class="" type="modal-lg" isFullHeight :closeId="'wats_new_close_btn'">
2+
<Modal
3+
v-if="open"
4+
@close="close"
5+
body-class=""
6+
type="modal-lg"
7+
isFullHeight
8+
:closeId="'wats_new_close_btn'"
9+
>
310
<template #header>
411
<Logo />
512
</template>
@@ -27,16 +34,29 @@
2734
<template #footer v-if="whatsNewModalContent.length > 1">
2835
<div class="footer">
2936
<div class="carousel">
30-
<span v-for="(line, index) in carouselLines" :key="line" class="carousel-line"
31-
:class="index + 1 == currentView ? 'active' : ''" @click="currentView = index + 1"></span>
37+
<span
38+
v-for="(line, index) in carouselLines"
39+
:key="line"
40+
class="carousel-line"
41+
:class="index + 1 == currentView ? 'active' : ''"
42+
@click="currentView = index + 1"
43+
></span>
3244
</div>
3345
<div class="footer-buttons">
34-
<button class="icon-wrapper" :class="currentView === whatsNewModalContent.length ? 'active' : ''"
35-
@click="currentView -= 1" :disabled="currentView === 1">
46+
<button
47+
class="icon-wrapper"
48+
:class="currentView === whatsNewModalContent.length ? 'active' : ''"
49+
@click="currentView -= 1"
50+
:disabled="currentView === 1"
51+
>
3652
<ArrowLeftIcon />
3753
</button>
38-
<button class="icon-wrapper" :class="currentView < whatsNewModalContent.length ? 'active' : ''"
39-
@click="currentView += 1" :disabled="currentView === whatsNewModalContent.length">
54+
<button
55+
class="icon-wrapper"
56+
:class="currentView < whatsNewModalContent.length ? 'active' : ''"
57+
@click="currentView += 1"
58+
:disabled="currentView === whatsNewModalContent.length"
59+
>
4060
<ArrowRightIcon />
4161
</button>
4262
</div>
@@ -180,7 +200,7 @@ ul {
180200
border: 1px solid #9742fb;
181201
182202
svg {
183-
>path {
203+
> path {
184204
fill: #fff;
185205
}
186206
}

0 commit comments

Comments
 (0)