Skip to content

Commit f5520d0

Browse files
committed
refactor: rename 'iExec Account' to 'Account' for consistency across components
1 parent d148880 commit f5520d0

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

src/components/navbar/NavBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function Navbar() {
6969
</DropdownMenuItem>
7070
<DropdownMenuItem>
7171
<ChainLink to="/account?accountTab=Manage+iExec+Account">
72-
iExec Account
72+
Account
7373
</ChainLink>
7474
</DropdownMenuItem>
7575
<DropdownMenuItem>
@@ -142,7 +142,7 @@ export function Navbar() {
142142
asChild
143143
className="text-foreground justify-baseline px-3"
144144
>
145-
<ChainLink to="/account">iExec Account</ChainLink>
145+
<ChainLink to="/account">Account</ChainLink>
146146
</Button>
147147
<Button
148148
variant="link"

src/modules/account/Faucet.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { shadcn } from '@clerk/themes';
1010
import { useMutation } from '@tanstack/react-query';
1111
import { useState } from 'react';
1212
import { useWatchAsset } from 'wagmi';
13+
import { ChainLink } from '@/components/ChainLink';
1314
import { Button } from '@/components/ui/button';
1415
import { Input } from '@/components/ui/input';
1516
import { Label } from '@/components/ui/label';
@@ -239,6 +240,16 @@ export function Faucet() {
239240
View transaction on Arbiscan Sepolia ↗
240241
</a>
241242
)}
243+
<div className="inline">
244+
Go to{' '}
245+
<ChainLink
246+
to="/account?accountTab=Account"
247+
className="inline underline"
248+
>
249+
Account
250+
</ChainLink>{' '}
251+
section to transfer faucet from your wallet to your account.
252+
</div>
242253
</div>
243254
</div>
244255
<Button

src/modules/account/ManageiExecAccount.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export function ManageIexecAccount() {
172172

173173
return (
174174
<div className="flex flex-col gap-6">
175-
<h1 className="text-2xl font-extrabold">iExec Account</h1>
175+
<h1 className="text-2xl font-extrabold">Account</h1>
176176

177177
<div className="mx-auto flex w-full max-w-5xl flex-col items-center justify-center gap-x-6 gap-y-4 md:flex-row">
178178
<div

src/routes/$chainSlug/_layout/account.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ function RouteComponent() {
131131
const tabs = [
132132
{ titleText: 'Faucet', label: <>Faucet</>, component: Faucet },
133133
{
134-
titleText: 'iExec Account',
135-
label: <>iExec Account</>,
134+
titleText: 'Account',
135+
label: <>Account</>,
136136
component: ManageIexecAccount,
137137
},
138138

0 commit comments

Comments
 (0)