/** App Store / Google Play 落地页链接，按需替换 */
// 正式上线时换回自己的 app：
const STORE_URL_IOS = "https://apps.apple.com/app/id1575480118";
const STORE_URL_ANDROID =
  "https://play.google.com/store/apps/details?id=com.pcoloring.art.puzzle.color.by.number";

// // 测试期间使用 PBN，避免产生无效转化
// const STORE_URL_IOS =
//   "https://apps.apple.com/gb/app/paint-by-number-coloring-games/id1420058690";
// const STORE_URL_ANDROID =
//   "https://play.google.com/store/apps/details?id=com.oakever.paintbynumber";

export function getStoreUrl(): string {
  if (/android/i.test(navigator.userAgent)) return STORE_URL_ANDROID;
  return STORE_URL_IOS;
}
