Skip to content

Commit 574a80b

Browse files
author
athi
committed
New website launch added redirects
1 parent 7f9f47e commit 574a80b

2 files changed

Lines changed: 55 additions & 9 deletions

File tree

pages/index.vue

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,54 @@
99

1010
<div ref="aboveTheFold" class="top-color" style="overflow-y: hidden">
1111
<v-container>
12+
<v-alert
13+
prominent
14+
dark
15+
class="mb-6 elevation-3 wrapped-banner"
16+
style="border-radius: 12px; overflow: hidden; border: none"
17+
>
18+
<template #prepend>
19+
<v-icon
20+
large
21+
class="mr-4 animate__animated animate__tada animate__infinite"
22+
>mdi-party-popper</v-icon
23+
>
24+
</template>
25+
26+
<v-row align="center" no-gutters>
27+
<v-col cols="12" md="8" lg="9">
28+
<div class="text-h6 text-sm-h5 font-weight-bold white--text mb-1">
29+
WHATSAPP WRAPPED 2026 IS HERE!
30+
</div>
31+
<div
32+
class="subtitle-1 white--text text--lighten-1"
33+
style="line-height: 1.4"
34+
>
35+
Your chat, told like a story. See your most active hours,
36+
funniest exchanges, and emotional peaks.
37+
<strong>100% Private.</strong>
38+
</div>
39+
</v-col>
40+
<v-col
41+
cols="12"
42+
md="4"
43+
lg="3"
44+
class="text-center text-md-right mt-4 mt-md-0"
45+
>
46+
<v-btn
47+
color="white"
48+
light
49+
x-large
50+
class="font-weight-bold px-8"
51+
rounded
52+
:href="'https://wrapped.whatsanalyze.com/' + $i18n.locale"
53+
>
54+
See Your Story
55+
<v-icon right>mdi-arrow-right</v-icon>
56+
</v-btn>
57+
</v-col>
58+
</v-row>
59+
</v-alert>
1260
<v-row
1361
v-if="$vuetify.breakpoint.mdAndUp"
1462
:style="
@@ -356,4 +404,9 @@ export default {
356404
transform: translateX(0);
357405
}
358406
}
407+
408+
.wrapped-banner {
409+
/* A rich gradient that looks premium against the teal background */
410+
background: linear-gradient(90deg, #4527a0 0%, #7b1fa2 100%) !important;
411+
}
359412
</style>

pages/whatsapp-wrapped-year-review.vue

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,6 @@
251251
<div class="container">
252252
<h2>{{ $t("ctaSectionTitle") }}</h2>
253253
<p>{{ $t("ctaSectionText") }}</p>
254-
<Cta
255-
to="/"
256-
class="cta-section py-5"
257-
:title="$t('heroTitle', { currentYear })"
258-
:button-txt="$t('ctaButton')"
259-
:text="$t('ctaSectionText')"
260-
/>
261254
</div>
262255
</section>
263256

@@ -319,8 +312,8 @@ export default {
319312
},
320313
methods: {
321314
goToHome() {
322-
const homePath = this.localePath("index"); // Dynamically generate the localized path for the home page
323-
this.$router.push(homePath);
315+
// Access locale via this.$i18n.locale
316+
window.location.href = `https://wrapped.whatsanalyze.com/${this.$i18n.locale}`;
324317
},
325318
},
326319
};

0 commit comments

Comments
 (0)