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
938a0bca
Commit
938a0bca
authored
Jan 17, 2024
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more updates
parent
4d719e8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
AddressEnsDomains.tsx
ui/address/ensDomains/AddressEnsDomains.tsx
+9
-4
Address.tsx
ui/pages/Address.tsx
+0
-1
NameDomain.tsx
ui/pages/NameDomain.tsx
+1
-2
No files found.
ui/address/ensDomains/AddressEnsDomains.tsx
View file @
938a0bca
...
@@ -110,8 +110,8 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => {
...
@@ -110,8 +110,8 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => {
<
PopoverBody
px=
{
6
}
py=
{
5
}
fontSize=
"sm"
display=
"flex"
flexDir=
"column"
rowGap=
{
5
}
alignItems=
"flex-start"
>
<
PopoverBody
px=
{
6
}
py=
{
5
}
fontSize=
"sm"
display=
"flex"
flexDir=
"column"
rowGap=
{
5
}
alignItems=
"flex-start"
>
{
mainDomain
&&
(
{
mainDomain
&&
(
<
div
>
<
div
>
<
p
>
A domain name is not necessarily held by a person popularly associated with the name.
</
p
>
<
chakra
.
span
color=
"text_secondary"
fontSize=
"xs"
>
Primary*
</
chakra
.
span
>
<
Flex
alignItems=
"center"
fontSize=
"md"
mt=
{
4
}
>
<
Flex
alignItems=
"center"
fontSize=
"md"
mt=
{
2
}
>
<
EnsEntity
name=
{
mainDomain
.
name
}
fontWeight=
{
600
}
noCopy
/>
<
EnsEntity
name=
{
mainDomain
.
name
}
fontWeight=
{
600
}
noCopy
/>
{
mainDomain
.
expiry_date
&&
{
mainDomain
.
expiry_date
&&
<
chakra
.
span
color=
"text_secondary"
whiteSpace=
"pre"
>
(expires
{
dayjs
(
mainDomain
.
expiry_date
).
fromNow
()
}
)
</
chakra
.
span
>
}
<
chakra
.
span
color=
"text_secondary"
whiteSpace=
"pre"
>
(expires
{
dayjs
(
mainDomain
.
expiry_date
).
fromNow
()
}
)
</
chakra
.
span
>
}
...
@@ -120,13 +120,13 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => {
...
@@ -120,13 +120,13 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => {
)
}
)
}
{
ownedDomains
.
length
>
0
&&
(
{
ownedDomains
.
length
>
0
&&
(
<
div
>
<
div
>
<
chakra
.
span
color=
"text_secondary"
fontSize=
"xs"
>
O
ther domain names o
wned by this address
</
chakra
.
span
>
<
chakra
.
span
color=
"text_secondary"
fontSize=
"xs"
>
Owned by this address
</
chakra
.
span
>
<
DomainsGrid
data=
{
ownedDomains
}
/>
<
DomainsGrid
data=
{
ownedDomains
}
/>
</
div
>
</
div
>
)
}
)
}
{
resolvedDomains
.
length
>
0
&&
(
{
resolvedDomains
.
length
>
0
&&
(
<
div
>
<
div
>
<
chakra
.
span
color=
"text_secondary"
fontSize=
"xs"
>
Other domain names r
esolved to this address
</
chakra
.
span
>
<
chakra
.
span
color=
"text_secondary"
fontSize=
"xs"
>
R
esolved to this address
</
chakra
.
span
>
<
DomainsGrid
data=
{
resolvedDomains
}
/>
<
DomainsGrid
data=
{
resolvedDomains
}
/>
</
div
>
</
div
>
)
}
)
}
...
@@ -138,6 +138,11 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => {
...
@@ -138,6 +138,11 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => {
<
chakra
.
span
color=
"text_secondary"
>
(
{
totalRecords
}
)
</
chakra
.
span
>
<
chakra
.
span
color=
"text_secondary"
>
(
{
totalRecords
}
)
</
chakra
.
span
>
</
LinkInternal
>
</
LinkInternal
>
)
}
)
}
{
mainDomain
&&
(
<
chakra
.
span
fontSize=
"xs"
mt=
{
-
1
}
>
*A domain name is not necessarily held by a person popularly associated with the name
</
chakra
.
span
>
)
}
</
PopoverBody
>
</
PopoverBody
>
</
PopoverContent
>
</
PopoverContent
>
</
Popover
>
</
Popover
>
...
...
ui/pages/Address.tsx
View file @
938a0bca
...
@@ -177,7 +177,6 @@ const AddressPageContent = () => {
...
@@ -177,7 +177,6 @@ const AddressPageContent = () => {
{
addressQuery
.
data
?.
ens_domain_name
&&
(
{
addressQuery
.
data
?.
ens_domain_name
&&
(
<
EnsEntity
<
EnsEntity
name=
{
addressQuery
.
data
?.
ens_domain_name
}
name=
{
addressQuery
.
data
?.
ens_domain_name
}
noLink
fontFamily=
"heading"
fontFamily=
"heading"
fontSize=
"lg"
fontSize=
"lg"
fontWeight=
{
500
}
fontWeight=
{
500
}
...
...
ui/pages/NameDomain.tsx
View file @
938a0bca
...
@@ -54,14 +54,13 @@ const NameDomain = () => {
...
@@ -54,14 +54,13 @@ const NameDomain = () => {
name=
{
domainName
}
name=
{
domainName
}
isLoading=
{
isLoading
}
isLoading=
{
isLoading
}
noLink
noLink
maxW=
"300px"
maxW=
{
infoQuery
.
data
?.
resolved_address
?
'
300px
'
:
'
min-content
'
}
/>
/>
{
infoQuery
.
data
?.
resolved_address
&&
(
{
infoQuery
.
data
?.
resolved_address
&&
(
<
AddressEntity
<
AddressEntity
address=
{
infoQuery
.
data
?.
resolved_address
}
address=
{
infoQuery
.
data
?.
resolved_address
}
isLoading=
{
isLoading
}
isLoading=
{
isLoading
}
truncation=
{
isMobile
?
'
constant
'
:
'
dynamic
'
}
truncation=
{
isMobile
?
'
constant
'
:
'
dynamic
'
}
noLink
flexShrink=
{
0
}
flexShrink=
{
0
}
/>
/>
)
}
)
}
...
...
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