Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/staking/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Data = {
cooldown2: bigint;
};
integrityStakingPublishers: {
name: string;
name: string | undefined;
publicKey: PublicKey;
isSelf: boolean;
selfStake: bigint;
Expand Down Expand Up @@ -196,7 +196,7 @@ export const loadData = async (
integrityStakingPublishers: publishers.map(({ pubkey: publisher }) => ({
apyHistory: [], // TODO
isSelf: false, // TODO
name: publisher.toString(),
name: undefined, // TODO
numFeeds: 0, // TODO
poolCapacity: 100n, // TODO
poolUtilization: 0n, // TODO
Expand Down
4 changes: 2 additions & 2 deletions apps/staking/src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ export const Footer = ({
}: Omit<HTMLAttributes<HTMLElement>, "children">) => (
<footer
className={clsx(
"sticky bottom-0 mt-4 px-4 text-xs font-light text-neutral-400",
"sticky bottom-0 mt-4 text-xs font-light text-neutral-400 sm:px-4",
className,
)}
{...props}
>
<div className="border-x border-t border-neutral-600/50 bg-pythpurple-800">
<div className="border-t border-neutral-600/50 bg-pythpurple-800 sm:border-x">
<MaxWidth className="flex h-16 items-center justify-between sm:-mx-4">
<div>© 2024 Pyth Data Association</div>
<div className="relative -right-3 flex h-full items-center">
Expand Down
4 changes: 2 additions & 2 deletions apps/staking/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export const Header = ({
...props
}: Omit<HTMLAttributes<HTMLElement>, "children">) => (
<header
className={clsx("sticky top-0 mb-4 w-full px-4", className)}
className={clsx("sticky top-0 mb-4 w-full sm:px-4", className)}
{...props}
>
<div className="border-x border-b border-neutral-600/50 bg-pythpurple-800">
<div className="border-b border-neutral-600/50 bg-pythpurple-800 sm:border-x">
<MaxWidth className="flex h-16 items-center justify-between gap-8 sm:-mx-4">
<Logo className="max-h-full py-4 text-pythpurple-100" />
<WalletButton className="flex-none" />
Expand Down
5 changes: 4 additions & 1 deletion apps/staking/src/components/MaxWidth/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { Styled } from "../Styled";

export const MaxWidth = Styled("div", "w-full px-6 sm:px-12 overflow-hidden");
export const MaxWidth = Styled(
"div",
"min-w-full px-6 sm:px-12 overflow-hidden",
);
Loading
Loading