diff --git a/apps/staking/components/Header.tsx b/apps/staking/components/Header.tsx index 6758f068..c6ecd393 100644 --- a/apps/staking/components/Header.tsx +++ b/apps/staking/components/Header.tsx @@ -10,6 +10,7 @@ import { getTranslations } from 'next-intl/server'; export default async function Header() { const dictionary = await getTranslations('navigation'); + const isCanary = process.env.NEXT_PUBLIC_IS_CANARY?.toLowerCase() === 'true'; const routes: typeof ROUTES = []; ROUTES.forEach(({ dictionaryKey, href }) => { @@ -27,7 +28,7 @@ export default async function Header() {
Session Token Logo - 🐤 + {isCanary ? 🐤 : null}
{routes.map(({ dictionaryKey, href }) => ( diff --git a/turbo.json b/turbo.json index 7fbd86c3..2a2f80e3 100644 --- a/turbo.json +++ b/turbo.json @@ -18,6 +18,7 @@ ], "env": [ "NO_MINIFY", + "NEXT_PUBLIC_IS_CANARY", "NEXT_PUBLIC_HIDE_FAUCET", "NEXT_PUBLIC_SENT_STAKING_API_URL", "NEXT_PUBLIC_SENT_EXPLORER_API_URL",