Skip to content

Commit 4a768cd

Browse files
committed
add xAlias support
1 parent 844217e commit 4a768cd

File tree

6 files changed

+385
-5068
lines changed

6 files changed

+385
-5068
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### [9.1.0](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v9.1.0) (2023-10-28)
2+
- useelven update - add support for xAlias
3+
- update Next.js to v14 (required min Node version: 18.7.0)
4+
- update dependencies
5+
16
### [9.0.3](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v9.0.3) (2023-10-02)
27
- update useElven (bug related to guardian address and localstorage entry)
38
- update dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ Compact MultiversX SDK for browsers (no build steps required)
175175

176176
Tools that can help you with interactions:
177177

178+
- [Buildo.dev](https://www.buildo.dev)
178179
- [Buildo Begins](https://github.com/xdevguild/buildo-begins)
179180
- [Elven Tools](https://www.elven.tools)
180181

181182
### Contact
182183

183184
- [julian.io](https://www.julian.io)
184-

app/layout.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ export default function RootLayout({
104104
{'useElven'}
105105
</a>
106106
<span className="font-thin mx-2"> | </span>
107+
<a href="https://www.buildo.dev" target="_blank">
108+
{'Buildo.dev'}
109+
</a>
110+
<span className="font-thin mx-2"> | </span>
107111
<a
108112
href="https://github.com/xdevguild/buildo-begins"
109113
target="_blank"

components/elven-ui/login-component.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export const LoginComponent = memo(() => {
7070
<Button
7171
className="w-full select-none h-auto"
7272
variant="outline"
73-
onClick={handleLogin(LoginMethodsEnum.wallet)}
73+
onClick={handleLogin(LoginMethodsEnum.walletconnect)}
7474
>
75-
MultiversX Web Wallet
75+
xPortal Mobile App
7676
</Button>
7777
<Button
7878
className="w-full select-none h-auto"
@@ -84,9 +84,9 @@ export const LoginComponent = memo(() => {
8484
<Button
8585
className="w-full select-none h-auto"
8686
variant="outline"
87-
onClick={handleLogin(LoginMethodsEnum.walletconnect)}
87+
onClick={handleLogin(LoginMethodsEnum.wallet)}
8888
>
89-
xPortal Mobile App
89+
MultiversX Web Wallet
9090
</Button>
9191
<Button
9292
className="w-full select-none h-auto"
@@ -95,6 +95,13 @@ export const LoginComponent = memo(() => {
9595
>
9696
Ledger
9797
</Button>
98+
<Button
99+
className="w-full select-none h-auto"
100+
variant="outline"
101+
onClick={handleLogin(LoginMethodsEnum.xalias)}
102+
>
103+
xAlias
104+
</Button>
98105
</div>
99106
)}
100107

0 commit comments

Comments
 (0)