diff --git a/src/App.tsx b/src/App.tsx index 528115e..a41a211 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -22,6 +22,7 @@ import {SecureLoading} from "./components/Loading"; import DNS from "./views/DNS"; import Activity from "./views/Activity"; import Settings from "./views/Settings"; +import {isLocalDev, isNetBirdHosted} from "./utils/common"; const {Header, Content} = Layout; @@ -75,7 +76,7 @@ function App() { {!show && } {show && - + {(isNetBirdHosted() || isLocalDev()) && }
{ localStorage.setItem(banner_closed_key,'true'); }; - const announcement = "NetBird is now available on the App Store." + // todo: when updating this announcement, ensure to + // remove the condition on App.tsx that limits the current banner to cloud and local dev + const announcement = "Discover the new NetBird Dashboard with a brand new look and feel." const announcement_md5 = Md5.hashStr(announcement) const linkLearnMore = () => { return ( Download  + >Try it out now  ) }