Skip to content

Commit c7d9517

Browse files
authored
Add banner for paused annnouncment (#1836)
1 parent dbbd252 commit c7d9517

File tree

1 file changed

+14
-2
lines changed
  • apps/hyperdrive-trading/src/ui/app

1 file changed

+14
-2
lines changed

apps/hyperdrive-trading/src/ui/app/Page.tsx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { TanStackRouterDevtools } from "@tanstack/router-devtools";
33
import { PropsWithChildren, ReactElement } from "react";
44
import Footer from "src/ui/app/Footer/Footer";
55
import { Navbar } from "src/ui/app/Navbar/Navbar";
6+
import CustomBanner from "src/ui/base/components/CustomBanner";
67
import { TermsOfUseAndPrivacyPolicyModal } from "src/ui/compliance/TermsOfUseAndPrivacyPolicyModal";
78
import { useAddressScreen } from "src/ui/compliance/hooks/useAddressScreen";
8-
import { MilesBanner } from "src/ui/rewards/MilesBanner";
99

1010
export function Page({ children }: PropsWithChildren): ReactElement {
1111
// compliance
@@ -15,7 +15,19 @@ export function Page({ children }: PropsWithChildren): ReactElement {
1515
<div className="flex min-h-screen flex-col items-center justify-between gap-9">
1616
<div className="flex w-full grow flex-col items-center gap-9">
1717
<Navbar />
18-
<MilesBanner />
18+
{/* <MilesBanner /> */}
19+
<CustomBanner
20+
className="bg-error/20"
21+
description={
22+
<div className="flex w-full flex-1 items-center justify-center gap-4">
23+
<span>
24+
In an abundance of caution, Hyperdrive pools have been paused
25+
while we investigate a potential vulnerability. We are not aware
26+
of any loss in user funds at this time.
27+
</span>
28+
</div>
29+
}
30+
/>
1931

2032
{/* compliance */}
2133
<TermsOfUseAndPrivacyPolicyModal />

0 commit comments

Comments
 (0)