mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-16 13:05:14 +03:00
feat(site): link the Android app on Google Play (#62874)
Co-authored-by: R44VC0RP <89211796+R44VC0RP@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
aed4cbc024
commit
737e133b95
@@ -111,20 +111,18 @@ export const extensions = {
|
||||
}
|
||||
|
||||
/**
|
||||
* The Android app's status, the one switch for every Android mention on the site. "coming-soon"
|
||||
* lists Android as "Coming soon" with no link (download buttons, menus and sheets, the Download
|
||||
* sections), leads every visitor with the iPhone app, keeps Android out of the structured data's
|
||||
* operating systems, says "coming soon to Android" in the copy and redirects /download/<channel>/android*
|
||||
* to /mobile. When the Android app ships, set this to "available" and put its Google Play URL in
|
||||
* `mobileStores` below.
|
||||
* The Android app's status, the one switch for every Android mention on the site. "available"
|
||||
* links Google Play from the download buttons, menus and sheets and the Download sections, and
|
||||
* lists Android in the structured data's operating systems and the copy. "coming-soon" lists
|
||||
* Android as "Coming soon" with no link and leads every visitor with the iPhone app instead.
|
||||
*/
|
||||
export const androidStatus = "coming-soon" as "coming-soon" | "available"
|
||||
export const androidStatus = "available" as "coming-soon" | "available"
|
||||
export const androidSoon = androidStatus === "coming-soon"
|
||||
|
||||
/**
|
||||
* Where to get the mobile apps. iPhone is a public TestFlight beta until the App Store listing ships
|
||||
* (David, 5 Nov 2026); swap the link and label for the App Store URL then. Android has no listing yet,
|
||||
* so it opens the Mobile page's Download section. `soon` lists a store as "Coming soon", with no link.
|
||||
* (David, 5 Nov 2026); swap the link and label for the App Store URL then. Android is on Google Play.
|
||||
* `soon` lists a store as "Coming soon", with no link.
|
||||
*/
|
||||
export const mobileStores = [
|
||||
{
|
||||
@@ -140,7 +138,7 @@ export const mobileStores = [
|
||||
platform: "Android",
|
||||
label: "Google Play",
|
||||
device: "Android",
|
||||
href: "/mobile#download",
|
||||
href: "https://play.google.com/store/apps/details?id=ai.opencode.mobilecode",
|
||||
soon: androidSoon,
|
||||
beta: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user