diff --git a/src/components/Site/constants.ts b/src/components/Site/constants.ts index a3f2b1e..d915fd9 100644 --- a/src/components/Site/constants.ts +++ b/src/components/Site/constants.ts @@ -15,7 +15,7 @@ export const QUICK_SPLIT_PATH = '/split'; export const IOS_BETA_URL = 'https://testflight.apple.com/join/FURvpmbH'; // Android: testers join this Google Group first, then opt in on the Play testing page. // Set the group URL once the group exists. While it's null, every Android link stays hidden. -export const ANDROID_BETA_GROUP_URL: string | null = null; +export const ANDROID_BETA_GROUP_URL: string | null = 'https://groups.google.com/g/splitpro-beta'; export const ANDROID_BETA_OPT_IN_URL = 'https://play.google.com/apps/testing/app.splitpro'; // Same-origin on purpose; see the /stats rewrites in next.config.js. diff --git a/src/pages/index.tsx b/src/pages/index.tsx index a0a63b5..00479d7 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -27,6 +27,14 @@ import { SecondaryLink, SectionHeading, } from '~/components/Site/blocks'; +import { + Dialog, + DialogContent, + DialogDescription, + DialogHeader, + DialogTitle, + DialogTrigger, +} from '~/components/ui/dialog'; import { Seo, faqJsonLd } from '~/components/Site/Seo'; import { SiteLayout } from '~/components/Site/SiteLayout'; @@ -126,6 +134,32 @@ const AndroidLogo = ({ className }: { className?: string }) => ( ); +const AndroidBetaButton = ({ groupUrl }: { groupUrl: string }) => ( + + + + Android (beta) + + + + Join the Android beta + + Two quick steps. Use the same Google account for both. + + +
+ + 1. Join the testers group + + + 2. Become a tester + +
+

Then install SplitPro from Google Play.

+
+
+); + const Hero = () => (
@@ -137,35 +171,20 @@ const Hero = () => ( no paywall for the basics.

- Start splitting for free - + + Get started + + - iOS app (beta) + iOS (beta) {null !== ANDROID_BETA_GROUP_URL ? ( - - - Android app (beta) - + ) : null}

Free · Open source · Works on any phone or computer

- {null !== ANDROID_BETA_GROUP_URL ? ( -

- Android: join the group, then{' '} - - become a tester - {' '} - with the same Google account. -

- ) : null}