import type { LoaderFunctionArgs } from "@remix-run/node"; import { Page, Layout, Text, Card, BlockStack, EmptyState } from "@shopify/polaris"; import { TitleBar } from "@shopify/app-bridge-react"; import { authenticate } from "../shopify.server"; export const loader = async ({ request }: LoaderFunctionArgs) => { await authenticate.admin(request); return null; }; export default function Index() { return ( Set up a fulfillment location and its weekly slots to start taking scheduled Shipping, Local Delivery, or Pickup orders. ); }