Skip to content

Commit

Permalink
update Next and add xAlias support
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Oct 29, 2023
1 parent 34be234 commit 15a8c4f
Show file tree
Hide file tree
Showing 9 changed files with 1,180 additions and 7,415 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### [7.4.0](https://github.com/ElvenTools/elven-tools-dapp/releases/tag/v7.4.0) (2023-10-29)
- add support for xAlias
- update Next.js to v14 (min Node version is now 18.7.0)
- update other dependencies

### [7.3.0](https://github.com/ElvenTools/elven-tools-dapp/releases/tag/v7.3.0) (2023-07-31)
- update useElven (support for guardians)
- update dependencies
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ More docs on it: [Minter Dapp introduction](https://www.elven.tools/docs/minter-
- [useElven](https://www.useElven.com) - React core hooks for MultiversX blockchain
- [elven.js](https://www.elvenjs.com) - standalone lite SDK for browsers without build steps
- [Buildo Begins](https://github.com/xdevguild/buildo-begins) - CLI helper tools - interaction with APIs, smart contracts and protocol
- [Buildo.dev](https://www.buildo.dev) - the app that helps with blockchain interactions, like issuing tokens and querying smart contracts.
- [Nextjs Dapp Template](https://github.com/xdevguild/nextjs-dapp-template) - Open source Dapp template for the MultiversX blockchain (more general one).
12 changes: 11 additions & 1 deletion components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Footer = () => {
target="_blank"
rel="noopener noreferrer"
>
Elven Tools
Elven Tools
</Text>
<Text fontWeight="hairline"> | </Text>
<Text
Expand All @@ -58,6 +58,16 @@ export const Footer = () => {
{'useElven'}
</Text>
<Text fontWeight="hairline"> | </Text>
<Text
as="a"
color="elvenTools.color3.base"
href="https://www.buildo.dev"
target="_blank"
rel="noopener noreferrer nofollow"
>
{'Buildo.dev'}
</Text>
<Text fontWeight="hairline"> | </Text>
<Text
as="a"
color="elvenTools.color3.base"
Expand Down
8 changes: 5 additions & 3 deletions components/SocialMediaIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ export const SocialMediaIcons = () => {
return (
<Box display="flex" alignItems="center" gap={3}>
<SocialIcon
url="https://www.twitter.com/ElvenTools"
bgColor="#fff"
url="https://www.x.com/ElvenTools"
title="x.com/ElvenTools"
bgColor="#1d222a"
style={{ width: 30, height: 30 }}
/>
<SocialIcon
url="https://www.github.com/ElvenTools"
bgColor="#fff"
title="github.com/ElvenTools"
bgColor="#1d222a"
style={{ width: 30, height: 30 }}
/>
</Box>
Expand Down
1 change: 0 additions & 1 deletion components/TeamMember.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const TeamMember: FC<TeamMemberProps> = ({
<SocialIcon
key={index}
url={link}
bgColor="#fff"
style={{ width: 30, height: 30 }}
/>
))}
Expand Down
14 changes: 10 additions & 4 deletions components/core/LoginComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export const LoginComponent = memo(() => {
<>
<ActionButton
isFullWidth
onClick={handleLogin(LoginMethodsEnum.wallet)}
onClick={handleLogin(LoginMethodsEnum.walletconnect)}
>
Web Wallet
xPortal App
</ActionButton>
<ActionButton
isFullWidth
Expand All @@ -67,13 +67,19 @@ export const LoginComponent = memo(() => {
</ActionButton>
<ActionButton
isFullWidth
onClick={handleLogin(LoginMethodsEnum.walletconnect)}
onClick={handleLogin(LoginMethodsEnum.wallet)}
>
xPortal App
Web Wallet
</ActionButton>
<ActionButton isFullWidth onClick={handleLedgerAccountsList}>
Ledger
</ActionButton>
<ActionButton
isFullWidth
onClick={handleLogin(LoginMethodsEnum.xalias)}
>
xAlias
</ActionButton>
</>
)}
</Stack>
Expand Down
6 changes: 3 additions & 3 deletions config/dappUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const team = [
bio: 'Web designer and artist',
imageUrl: '/john.svg',
socialMediaLinks: [
'https://www.twitter.com',
'https://www.x.com',
'https://www.behance.net',
'https://www.dribbble.com',
],
Expand All @@ -82,14 +82,14 @@ export const team = [
name: 'Mark Doe',
bio: 'Smart Contract programmer',
imageUrl: '/mark.svg',
socialMediaLinks: ['https://www.twitter.com', 'https://www.github.com'],
socialMediaLinks: ['https://www.x.com', 'https://www.github.com'],
},
{
name: 'Jack Doe',
bio: 'Community relations and marketing',
imageUrl: '/jack.svg',
socialMediaLinks: [
'https://www.twitter.com',
'https://www.x.com',
'https://www.discord.com',
'https://www.telegram.me',
'https://www.medium.com',
Expand Down
Loading

0 comments on commit 15a8c4f

Please sign in to comment.