()
| 18 | } |
| 19 | |
| 20 | export default function App() { |
| 21 | const { showForm } = useLoaderData(); |
| 22 | |
| 23 | return ( |
| 24 | <div className="index"> |
| 25 | <div className="content"> |
| 26 | <h1>A short heading about [your app]</h1> |
| 27 | <p>A tagline about [your app] that describes your value proposition.</p> |
| 28 | {showForm && ( |
| 29 | <Form method="post" action="/auth/login"> |
| 30 | <label> |
| 31 | <span>Shop domain</span> |
| 32 | <input type="text" name="shop" /> |
| 33 | <span>e.g: my-shop-domain.myshopify.com</span> |
| 34 | </label> |
| 35 | <button type="submit">Log in</button> |
| 36 | </Form> |
| 37 | )} |
| 38 | <ul> |
| 39 | <li> |
| 40 | <strong>Product feature</strong>. Some detail about your feature and |
| 41 | its benefit to your customer. |
| 42 | </li> |
| 43 | <li> |
| 44 | <strong>Product feature</strong>. Some detail about your feature and |
| 45 | its benefit to your customer. |
| 46 | </li> |
| 47 | <li> |
| 48 | <strong>Product feature</strong>. Some detail about your feature and |
| 49 | its benefit to your customer. |
| 50 | </li> |
| 51 | </ul> |
| 52 | </div> |
| 53 | </div> |
| 54 | ); |
| 55 | } |
nothing calls this directly
no outgoing calls
no test coverage detected