From 952437b1bad70a9935a103ed1b68c86a8c50dccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harrison=20Mendon=C3=A7a?= Date: Fri, 10 Jul 2026 14:26:07 -0300 Subject: [PATCH] feat: add namada exploit alert --- apps/namadillo/src/App/Layout/AppLayout.tsx | 30 ++++++++++++++++++++- apps/namadillo/src/urls.ts | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/apps/namadillo/src/App/Layout/AppLayout.tsx b/apps/namadillo/src/App/Layout/AppLayout.tsx index 469c8605e1..f2ac79ad22 100644 --- a/apps/namadillo/src/App/Layout/AppLayout.tsx +++ b/apps/namadillo/src/App/Layout/AppLayout.tsx @@ -4,10 +4,35 @@ import { useSetAtom } from "jotai"; import { ReactNode, useEffect, useState } from "react"; import { IoMdClose } from "react-icons/io"; import { twMerge } from "tailwind-merge"; +import { TWITTER_URL } from "urls"; import { AppHeader } from "./AppHeader"; import { BurgerButton } from "./BurgerButton"; import { Navigation } from "./Navigation"; +const NamadaExploitAlert = (): JSX.Element => ( +
+
+ The Namada protocol has had an exploit and is not currently safe to use. +
+
+ It’s not recommended to interact with the blockchain via Namadillo until + the exploit is fixed. +
+
+ Follow{" "} + + @Namada + {" "} + on X for updates. +
+
+); + export const AppLayout = ({ children, }: { @@ -68,7 +93,10 @@ export const AppLayout = ({ -
{children}
+
+ + {children} +
); diff --git a/apps/namadillo/src/urls.ts b/apps/namadillo/src/urls.ts index e634aaddd7..128a1e1e49 100644 --- a/apps/namadillo/src/urls.ts +++ b/apps/namadillo/src/urls.ts @@ -1,5 +1,5 @@ export const DISCORD_URL = "https://discord.com/invite/namada"; -export const TWITTER_URL = "https://twitter.com/namada"; +export const TWITTER_URL = "https://x.com/namada"; export const githubNamadaInterfaceBaseUrl = "https://raw.githubusercontent.com/anoma/namada-interface/refs/heads/main";