Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
f8e951c9
Commit
f8e951c9
authored
Sep 07, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renaming
parent
f51c0ce4
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
16 deletions
+16
-16
ApiKeys.tsx
ui/pages/ApiKeys.tsx
+2
-2
CustomAbi.tsx
ui/pages/CustomAbi.tsx
+2
-2
MyProfile.tsx
ui/pages/MyProfile.tsx
+2
-2
PrivateTags.tsx
ui/pages/PrivateTags.tsx
+2
-2
PublicTags.tsx
ui/pages/PublicTags.tsx
+2
-2
Transaction.tsx
ui/pages/Transaction.tsx
+2
-2
Watchlist.tsx
ui/pages/Watchlist.tsx
+2
-2
PageHeader.tsx
ui/shared/PageHeader.tsx
+2
-2
No files found.
ui/pages/ApiKeys.tsx
View file @
f8e951c9
...
...
@@ -12,8 +12,8 @@ import ApiKeyListItem from 'ui/apiKey/ApiKeyTable/ApiKeyListItem';
import
ApiKeyTable
from
'
ui/apiKey/ApiKeyTable/ApiKeyTable
'
;
import
DeleteApiKeyModal
from
'
ui/apiKey/DeleteApiKeyModal
'
;
import
AccountPageDescription
from
'
ui/shared/AccountPageDescription
'
;
import
AccountPageHeader
from
'
ui/shared/AccountPageHeader
'
;
import
Page
from
'
ui/shared/Page
'
;
import
PageHeader
from
'
ui/shared/PageHeader
'
;
import
SkeletonAccountMobile
from
'
ui/shared/SkeletonAccountMobile
'
;
import
SkeletonTable
from
'
ui/shared/SkeletonTable
'
;
...
...
@@ -128,7 +128,7 @@ const ApiKeysPage: React.FC = () => {
return
(
<
Page
>
<
Box
h=
"100%"
>
<
Account
PageHeader
text=
"API keys"
/>
<
PageHeader
text=
"API keys"
/>
{
content
}
</
Box
>
</
Page
>
...
...
ui/pages/CustomAbi.tsx
View file @
f8e951c9
...
...
@@ -11,8 +11,8 @@ import CustomAbiListItem from 'ui/customAbi/CustomAbiTable/CustomAbiListItem';
import
CustomAbiTable
from
'
ui/customAbi/CustomAbiTable/CustomAbiTable
'
;
import
DeleteCustomAbiModal
from
'
ui/customAbi/DeleteCustomAbiModal
'
;
import
AccountPageDescription
from
'
ui/shared/AccountPageDescription
'
;
import
AccountPageHeader
from
'
ui/shared/AccountPageHeader
'
;
import
Page
from
'
ui/shared/Page
'
;
import
PageHeader
from
'
ui/shared/PageHeader
'
;
import
SkeletonAccountMobile
from
'
ui/shared/SkeletonAccountMobile
'
;
import
SkeletonTable
from
'
ui/shared/SkeletonTable
'
;
...
...
@@ -116,7 +116,7 @@ const CustomAbiPage: React.FC = () => {
return
(
<
Page
>
<
Box
h=
"100%"
>
<
Account
PageHeader
text=
"Custom ABI"
/>
<
PageHeader
text=
"Custom ABI"
/>
{
content
}
</
Box
>
</
Page
>
...
...
ui/pages/MyProfile.tsx
View file @
f8e951c9
...
...
@@ -2,10 +2,10 @@ import { VStack, FormControl, FormLabel, Input } from '@chakra-ui/react';
import
React
from
'
react
'
;
import
useFetchProfileInfo
from
'
lib/hooks/useFetchProfileInfo
'
;
import
AccountPageHeader
from
'
ui/shared/AccountPageHeader
'
;
import
ContentLoader
from
'
ui/shared/ContentLoader
'
;
import
DataFetchAlert
from
'
ui/shared/DataFetchAlert
'
;
import
Page
from
'
ui/shared/Page
'
;
import
PageHeader
from
'
ui/shared/PageHeader
'
;
import
UserAvatar
from
'
ui/shared/UserAvatar
'
;
const
MyProfile
=
()
=>
{
...
...
@@ -56,7 +56,7 @@ const MyProfile = () => {
return
(
<
Page
>
<
Account
PageHeader
text=
"My profile"
/>
<
PageHeader
text=
"My profile"
/>
{
content
}
</
Page
>
);
...
...
ui/pages/PrivateTags.tsx
View file @
f8e951c9
...
...
@@ -11,8 +11,8 @@ import React, { useCallback, useState } from 'react';
import
useBasePath
from
'
lib/hooks/useBasePath
'
;
import
PrivateAddressTags
from
'
ui/privateTags/PrivateAddressTags
'
;
import
PrivateTransactionTags
from
'
ui/privateTags/PrivateTransactionTags
'
;
import
AccountPageHeader
from
'
ui/shared/AccountPageHeader
'
;
import
Page
from
'
ui/shared/Page
'
;
import
PageHeader
from
'
ui/shared/PageHeader
'
;
const
TABS
=
[
'
address
'
,
'
transaction
'
]
as
const
;
...
...
@@ -36,7 +36,7 @@ const PrivateTags = ({ tab }: Props) => {
return
(
<
Page
>
<
Box
h=
"100%"
>
<
Account
PageHeader
text=
"Private tags"
/>
<
PageHeader
text=
"Private tags"
/>
<
Tabs
variant=
"soft-rounded"
colorScheme=
"blue"
isLazy
onChange=
{
onChangeTab
}
defaultIndex=
{
TABS
.
indexOf
(
tab
)
}
>
<
TabList
marginBottom=
{
{
base
:
6
,
lg
:
8
}
}
>
<
Tab
>
Address
</
Tab
>
...
...
ui/pages/PublicTags.tsx
View file @
f8e951c9
...
...
@@ -9,8 +9,8 @@ import useIsMobile from 'lib/hooks/useIsMobile';
import
useToast
from
'
lib/hooks/useToast
'
;
import
PublicTagsData
from
'
ui/publicTags/PublicTagsData
'
;
import
PublicTagsForm
from
'
ui/publicTags/PublicTagsForm/PublicTagsForm
'
;
import
AccountPageHeader
from
'
ui/shared/AccountPageHeader
'
;
import
Page
from
'
ui/shared/Page
'
;
import
PageHeader
from
'
ui/shared/PageHeader
'
;
type
TScreen
=
'
data
'
|
'
form
'
;
...
...
@@ -84,7 +84,7 @@ const PublicTagsComponent: React.FC = () => {
<
Text
variant=
"inherit"
fontSize=
"sm"
ml=
{
2
}
>
Public tags
</
Text
>
</
Link
>
)
}
<
Account
PageHeader
text=
{
header
}
/>
<
PageHeader
text=
{
header
}
/>
{
content
}
</
Box
>
</
Page
>
...
...
ui/pages/Transaction.tsx
View file @
f8e951c9
...
...
@@ -9,8 +9,8 @@ import { useRouter } from 'next/router';
import
React
from
'
react
'
;
import
useBasePath
from
'
lib/hooks/useBasePath
'
;
import
AccountPageHeader
from
'
ui/shared/AccountPageHeader
'
;
import
Page
from
'
ui/shared/Page
'
;
import
PageHeader
from
'
ui/shared/PageHeader
'
;
import
TxDetails
from
'
ui/tx/TxDetails
'
;
interface
Tab
{
...
...
@@ -48,7 +48,7 @@ const TransactionPageContent = ({ tab }: Props) => {
return
(
<
Page
>
<
Account
PageHeader
text=
"Transaction details"
/>
<
PageHeader
text=
"Transaction details"
/>
<
Tabs
variant=
"soft-rounded"
colorScheme=
"blue"
isLazy
onChange=
{
handleTabChange
}
defaultIndex=
{
defaultIndex
}
>
<
TabList
marginBottom=
{
{
base
:
6
,
lg
:
8
}
}
flexWrap=
"wrap"
>
{
TABS
.
map
((
tab
)
=>
<
Tab
key=
{
tab
.
type
}
>
{
tab
.
name
}
</
Tab
>)
}
...
...
ui/pages/Watchlist.tsx
View file @
f8e951c9
...
...
@@ -7,9 +7,9 @@ import type { TWatchlist, TWatchlistItem } from 'types/client/account';
import
fetch
from
'
lib/client/fetch
'
;
import
useIsMobile
from
'
lib/hooks/useIsMobile
'
;
import
AccountPageDescription
from
'
ui/shared/AccountPageDescription
'
;
import
AccountPageHeader
from
'
ui/shared/AccountPageHeader
'
;
import
DataFetchAlert
from
'
ui/shared/DataFetchAlert
'
;
import
Page
from
'
ui/shared/Page
'
;
import
PageHeader
from
'
ui/shared/PageHeader
'
;
import
SkeletonAccountMobile
from
'
ui/shared/SkeletonAccountMobile
'
;
import
SkeletonTable
from
'
ui/shared/SkeletonTable
'
;
import
AddressModal
from
'
ui/watchlist/AddressModal/AddressModal
'
;
...
...
@@ -113,7 +113,7 @@ const WatchList: React.FC = () => {
return
(
<
Page
>
<
Box
h=
"100%"
>
<
Account
PageHeader
text=
"Watch list"
/>
<
PageHeader
text=
"Watch list"
/>
{
content
}
</
Box
>
</
Page
>
...
...
ui/shared/
Account
PageHeader.tsx
→
ui/shared/PageHeader.tsx
View file @
f8e951c9
import
{
Heading
}
from
'
@chakra-ui/react
'
;
import
React
from
'
react
'
;
const
Account
PageHeader
=
({
text
}:
{
text
:
string
})
=>
{
const
PageHeader
=
({
text
}:
{
text
:
string
})
=>
{
return
(
<
Heading
as=
"h1"
size=
"lg"
marginBottom=
{
{
base
:
6
,
lg
:
8
}
}
>
{
text
}
</
Heading
>
);
};
export
default
Account
PageHeader
;
export
default
PageHeader
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment