diff --git a/.env.example b/.env.example index 927ff37..070c725 100644 --- a/.env.example +++ b/.env.example @@ -13,8 +13,9 @@ # SERVERVAR="foo" # NEXT_PUBLIC_CLIENTVAR="bar" -# Password required to view the site (login page at /login). -# Leave empty/unset to disable the gate. +# Optional password gate for private previews. The gate is off unless both +# values are set, so a stale password alone cannot hide the public site. +SITE_PASSWORD_ENABLED="false" SITE_PASSWORD="" # Umami analytics (optional). Omit NEXT_PUBLIC_UMAMI_WEBSITE_ID to disable tracking. diff --git a/README.md b/README.md index b2c4246..a035f0f 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Public routes include: - `/how-it-works` — review loop, medication maintenance, Questions, and handoff - `/privacy` — plain-language privacy and patient-control commitments - `/access` — health-data-free access request +- `/medscribe-corporate-partner-overview.pdf` — public eight-slide partner deck Named partner print material remains isolated and excluded from search: @@ -44,6 +45,19 @@ Set in `.env` (see `.env.example`): Leave the website ID unset to disable tracking (default for local dev). +### Optional preview password + +The public site is open by default. To enable the private-preview gate, set +both values in the deployment environment: + +```bash +SITE_PASSWORD_ENABLED="true" +SITE_PASSWORD="choose-a-strong-password" +``` + +Unset `SITE_PASSWORD_ENABLED` or set it to `false` to keep the site public. A +stored password alone does not enable the gate. + ## Build ```bash @@ -66,11 +80,10 @@ Export **in-app content only** from the simulator or device — no simulator chr 1. Run the app on an **iPhone 17 Pro** simulator or device. 2. Capture each screen (⌘S in Simulator saves to Desktop). -3. Fit each 1206 × 2622 capture into the bezel's 1201 × 2617 display opening, - clip it with a 198 px corner radius, and composite it into the 1350 × 2760 - Silver bezel at offset `+74+71`. Export a transparent, lossless WebP and - update the shared versioned asset directory. - referenced by the routes. +3. Place each 1206 × 2622 capture at native size in the 1350 × 2760 Silver + bezel at offset `+72+69`, clip it to the calibrated display-opening mask, + and export a transparent, lossless WebP into the shared versioned asset + directory referenced by the routes. Product images are composited at the bezel source size of 1350 × 2760 with transparent backgrounds and rendered responsively through diff --git a/public/medscribe-corporate-partner-overview.pdf b/public/medscribe-corporate-partner-overview.pdf new file mode 100644 index 0000000..19f3be2 Binary files /dev/null and b/public/medscribe-corporate-partner-overview.pdf differ diff --git a/src/app/(marketing)/access/page.tsx b/src/app/(marketing)/access/page.tsx index cea4bb5..a1b5e2f 100644 --- a/src/app/(marketing)/access/page.tsx +++ b/src/app/(marketing)/access/page.tsx @@ -19,7 +19,7 @@ import { ACCESS_INVITE_MAILTO } from "~/lib/access"; export const metadata: Metadata = { title: "Request access", description: - "Request access to Medscribe without including personal health information.", + "Request access to Medscribe's closed beta without including personal health information.", }; const fitCards = [ @@ -86,8 +86,9 @@ export default function AccessPage() { Request Medscribe access
- Tell us your platform and whether you are interested as a patient, - caregiver, or both. + The beta is currently closed to a small group. Tell us your + platform and whether you are interested as a patient, caregiver, + or both, and we'll follow up as access becomes available.