From 13da8127e320ce5cb06fc0556a931a7eff8e1d44 Mon Sep 17 00:00:00 2001 From: Yam Borodetsky Date: Wed, 2 Sep 2026 20:16:57 +0500 Subject: [PATCH] docs(www): link homepage announcement badge to v1 alpha docs (#1738) ## Summary Updates the homepage announcement badge on [arkenv.js.org](https://arkenv.js.org) to link to the new ArkEnv v1 alpha documentation at https://arkenv-v1.vercel.app/, consistent with the README announcement callout. - Uses existing `AnnouncementBadge` component with the `new` prop - Points href to `https://arkenv-v1.vercel.app/` (renders external link arrow icon automatically) - Sets copy to `ArkEnv v1 is in alpha!` ## Verification - `pnpm check` passed - `pnpm --filter www test` passed - `pnpm typecheck` passed --- apps/www/app/(home)/page.tsx | 4 ++-- apps/www/components/announcement-badge.tsx | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/www/app/(home)/page.tsx b/apps/www/app/(home)/page.tsx index 33ffbf97d..dd833d1b9 100644 --- a/apps/www/app/(home)/page.tsx +++ b/apps/www/app/(home)/page.tsx @@ -26,8 +26,8 @@ export default function HomePage() {
- - Presets: Vercel, Netlify and more + + ArkEnv v1 is in alpha!

diff --git a/apps/www/components/announcement-badge.tsx b/apps/www/components/announcement-badge.tsx index 7b371467a..229bfebc7 100644 --- a/apps/www/components/announcement-badge.tsx +++ b/apps/www/components/announcement-badge.tsx @@ -24,10 +24,14 @@ export function AnnouncementBadge({ */ href: ArkenvUrl; }>) { + const isExternal = isExternalUrl(href); + return ( {newBadge && (