File tree Expand file tree Collapse file tree 8 files changed +324
-167
lines changed Expand file tree Collapse file tree 8 files changed +324
-167
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type Data = {
38
38
cooldown2 : bigint ;
39
39
} ;
40
40
integrityStakingPublishers : {
41
- name : string ;
41
+ name : string | undefined ;
42
42
publicKey : PublicKey ;
43
43
isSelf : boolean ;
44
44
selfStake : bigint ;
@@ -196,7 +196,7 @@ export const loadData = async (
196
196
integrityStakingPublishers : publishers . map ( ( { pubkey : publisher } ) => ( {
197
197
apyHistory : [ ] , // TODO
198
198
isSelf : false , // TODO
199
- name : publisher . toString ( ) ,
199
+ name : undefined , // TODO
200
200
numFeeds : 0 , // TODO
201
201
poolCapacity : 100n , // TODO
202
202
poolUtilization : 0n , // TODO
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ export const Footer = ({
36
36
} : Omit < HTMLAttributes < HTMLElement > , "children" > ) => (
37
37
< footer
38
38
className = { clsx (
39
- "sticky bottom-0 mt-4 px-4 text-xs font-light text-neutral-400" ,
39
+ "sticky bottom-0 mt-4 text-xs font-light text-neutral-400 sm:px-4 " ,
40
40
className ,
41
41
) }
42
42
{ ...props }
43
43
>
44
- < div className = "border-x border- t border-neutral-600/50 bg-pythpurple-800" >
44
+ < div className = "border-t border-neutral-600/50 bg-pythpurple-800 sm:border-x " >
45
45
< MaxWidth className = "flex h-16 items-center justify-between sm:-mx-4" >
46
46
< div > © 2024 Pyth Data Association</ div >
47
47
< div className = "relative -right-3 flex h-full items-center" >
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ export const Header = ({
12
12
...props
13
13
} : Omit < HTMLAttributes < HTMLElement > , "children" > ) => (
14
14
< header
15
- className = { clsx ( "sticky top-0 mb-4 w-full px-4" , className ) }
15
+ className = { clsx ( "sticky top-0 mb-4 w-full sm: px-4" , className ) }
16
16
{ ...props }
17
17
>
18
- < div className = "border-x border- b border-neutral-600/50 bg-pythpurple-800" >
18
+ < div className = "border-b border-neutral-600/50 bg-pythpurple-800 sm:border-x " >
19
19
< MaxWidth className = "flex h-16 items-center justify-between gap-8 sm:-mx-4" >
20
20
< Logo className = "max-h-full py-4 text-pythpurple-100" />
21
21
< WalletButton className = "flex-none" />
Original file line number Diff line number Diff line change 1
1
import { Styled } from "../Styled" ;
2
2
3
- export const MaxWidth = Styled ( "div" , "w-full px-6 sm:px-12 overflow-hidden" ) ;
3
+ export const MaxWidth = Styled (
4
+ "div" ,
5
+ "min-w-full px-6 sm:px-12 overflow-hidden" ,
6
+ ) ;
You can’t perform that action at this time.
0 commit comments