From 0050304273f3521b9eef64e40c413fd5116b7f10 Mon Sep 17 00:00:00 2001 From: metatroncubeswdev Date: Wed, 14 Oct 2026 12:54:54 -0400 Subject: [PATCH] Remove shop-domain login form from landing page (App Store requirement 2.3.1); feature image Co-Authored-By: Claude Opus 5.5 --- app/routes/_index/route.tsx | 9 ++++++--- brand/offerlyst-feature-1600x900.png | Bin 0 -> 181499 bytes 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 brand/offerlyst-feature-1600x900.png diff --git a/app/routes/_index/route.tsx b/app/routes/_index/route.tsx index fd3284f..8e8b23c 100644 --- a/app/routes/_index/route.tsx +++ b/app/routes/_index/route.tsx @@ -1,8 +1,6 @@ import type { LoaderFunctionArgs } from "react-router"; import { redirect, Form, useLoaderData } from "react-router"; -import { login } from "../../shopify.server"; - import styles from "./styles.module.css"; export const loader = async ({ request }: LoaderFunctionArgs) => { @@ -12,7 +10,9 @@ export const loader = async ({ request }: LoaderFunctionArgs) => { throw redirect(`/app?${url.searchParams.toString()}`); } - return { showForm: Boolean(login) }; + // App Store requirement 2.3.1: never ask merchants to type their shop domain. Installs start from + // the Shopify App Store or admin; this page is only a public landing page. + return { showForm: false }; }; export default function App() { @@ -37,6 +37,9 @@ export default function App() { )} +

+ Install Offerlyst from the Shopify App Store. Privacy policy ยท Terms +