Skip to content

Commit 9778a7d

Browse files
Merge pull request #2396 from torusresearch/develop
Add deprecation alert
2 parents 87dcb87 + 013ec8c commit 9778a7d

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

src/views/Login/Login.scss

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,25 @@ html {
106106
.selectMenu {
107107
max-width: 230px;
108108
min-width: 100px;
109-
}
109+
}
110+
111+
.deprecation-alert {
112+
position: sticky;
113+
top: 0;
114+
z-index: 1000;
115+
background-color: #e02424;
116+
color: #fefefe;
117+
padding: 8px;
118+
font-size: 14px;
119+
font-weight: 500;
120+
width: 100%;
121+
&--desktop {
122+
position: absolute;
123+
font-size: 16px;
124+
}
125+
&__text {
126+
text-align: left;
127+
margin: auto;
128+
width: fit-content;
129+
}
130+
}

src/views/Login/Login.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
:class="$vuetify.theme.dark ? 'torus-dark' : ''"
1111
>
1212
<div xs12 sm8 md6 style="max-width: 600px">
13+
<div class="deprecation-alert" :class="{ 'deprecation-alert--desktop': $vuetify.breakpoint.smAndUp }">
14+
<div class="deprecation-alert__text">
15+
<i18n path="login.deprecationAlert" tag="p" class="mb-0">
16+
<template #0><span class="font-weight-bold">July 31, 2025</span></template>
17+
<template #1>
18+
<a href="https://wallet.web3auth.io/" target="_blank" rel="noreferrer noopener" class="font-weight-bold white--text">Web3Auth</a>
19+
</template>
20+
</i18n>
21+
</div>
22+
</div>
1323
<v-layout v-if="!isLogout" wrap>
1424
<v-flex v-if="$vuetify.breakpoint.xsOnly" class="mobile-login-container" xs12>
1525
<section class="py-10 py-sm-12">

0 commit comments

Comments
 (0)