diff --git a/public/screenshots/pitch/ask-black-dark.webp b/public/screenshots/pitch/ask-black-dark.webp new file mode 100644 index 0000000..f0dafb4 Binary files /dev/null and b/public/screenshots/pitch/ask-black-dark.webp differ diff --git a/public/screenshots/pitch/ask-black.webp b/public/screenshots/pitch/ask-black.webp index e05bd40..e2f68b6 100644 Binary files a/public/screenshots/pitch/ask-black.webp and b/public/screenshots/pitch/ask-black.webp differ diff --git a/public/screenshots/pitch/home-black-dark.webp b/public/screenshots/pitch/home-black-dark.webp new file mode 100644 index 0000000..f9dd6dd Binary files /dev/null and b/public/screenshots/pitch/home-black-dark.webp differ diff --git a/public/screenshots/pitch/home-black.webp b/public/screenshots/pitch/home-black.webp index 1849f29..fffbceb 100644 Binary files a/public/screenshots/pitch/home-black.webp and b/public/screenshots/pitch/home-black.webp differ diff --git a/public/screenshots/pitch/know-me-natural-dark.webp b/public/screenshots/pitch/know-me-natural-dark.webp new file mode 100644 index 0000000..7e3f802 Binary files /dev/null and b/public/screenshots/pitch/know-me-natural-dark.webp differ diff --git a/public/screenshots/pitch/know-me-natural.webp b/public/screenshots/pitch/know-me-natural.webp index a081c0f..0bd1420 100644 Binary files a/public/screenshots/pitch/know-me-natural.webp and b/public/screenshots/pitch/know-me-natural.webp differ diff --git a/public/screenshots/pitch/medication-detail-natural-dark.webp b/public/screenshots/pitch/medication-detail-natural-dark.webp new file mode 100644 index 0000000..dbd266e Binary files /dev/null and b/public/screenshots/pitch/medication-detail-natural-dark.webp differ diff --git a/public/screenshots/pitch/medication-detail-natural.webp b/public/screenshots/pitch/medication-detail-natural.webp index 545189b..7ef4d99 100644 Binary files a/public/screenshots/pitch/medication-detail-natural.webp and b/public/screenshots/pitch/medication-detail-natural.webp differ diff --git a/public/screenshots/pitch/medications-black-dark.webp b/public/screenshots/pitch/medications-black-dark.webp new file mode 100644 index 0000000..ec898f4 Binary files /dev/null and b/public/screenshots/pitch/medications-black-dark.webp differ diff --git a/public/screenshots/pitch/medications-black.webp b/public/screenshots/pitch/medications-black.webp index 60d8c73..5ef5c4c 100644 Binary files a/public/screenshots/pitch/medications-black.webp and b/public/screenshots/pitch/medications-black.webp differ diff --git a/public/screenshots/pitch/summary-natural-dark.webp b/public/screenshots/pitch/summary-natural-dark.webp new file mode 100644 index 0000000..c6ad1ea Binary files /dev/null and b/public/screenshots/pitch/summary-natural-dark.webp differ diff --git a/public/screenshots/pitch/summary-natural.webp b/public/screenshots/pitch/summary-natural.webp index 1024e5d..4383744 100644 Binary files a/public/screenshots/pitch/summary-natural.webp and b/public/screenshots/pitch/summary-natural.webp differ diff --git a/public/screenshots/pitch/transcript-black-dark.webp b/public/screenshots/pitch/transcript-black-dark.webp new file mode 100644 index 0000000..4e02ff5 Binary files /dev/null and b/public/screenshots/pitch/transcript-black-dark.webp differ diff --git a/public/screenshots/pitch/transcript-black.webp b/public/screenshots/pitch/transcript-black.webp index 168ad9e..75e32b6 100644 Binary files a/public/screenshots/pitch/transcript-black.webp and b/public/screenshots/pitch/transcript-black.webp differ diff --git a/public/screenshots/pitch/visits-natural-dark.webp b/public/screenshots/pitch/visits-natural-dark.webp new file mode 100644 index 0000000..226b6b3 Binary files /dev/null and b/public/screenshots/pitch/visits-natural-dark.webp differ diff --git a/public/screenshots/pitch/visits-natural.webp b/public/screenshots/pitch/visits-natural.webp index 320bc59..967b699 100644 Binary files a/public/screenshots/pitch/visits-natural.webp and b/public/screenshots/pitch/visits-natural.webp differ diff --git a/src/app/(marketing)/page.tsx b/src/app/(marketing)/page.tsx index a56d3f6..e4a024c 100644 --- a/src/app/(marketing)/page.tsx +++ b/src/app/(marketing)/page.tsx @@ -29,6 +29,7 @@ const visitMoments = [ title: "The visit has a place to land.", body: "Keep the recording, transcript, and reviewed summary together instead of reconstructing the appointment from memory.", image: "/screenshots/pitch/visits-natural.webp", + darkImage: "/screenshots/pitch/visits-natural-dark.webp", alt: "Medscribe Visits screen in a natural titanium iPhone product bezel", }, { @@ -37,6 +38,7 @@ const visitMoments = [ title: "Go back to what was actually said.", body: "Search the local transcript and compare it with the generated summary before anything becomes part of the record you rely on.", image: "/screenshots/pitch/transcript-black.webp", + darkImage: "/screenshots/pitch/transcript-black-dark.webp", alt: "Medscribe visit transcript in a black titanium iPhone product bezel", }, { @@ -45,6 +47,7 @@ const visitMoments = [ title: "Review the useful part. Keep the uncertainty.", body: "Medications, follow-ups, diagnoses, and instructions are prepared on-device. Suggestions remain suggestions until a person checks them.", image: "/screenshots/pitch/summary-natural.webp", + darkImage: "/screenshots/pitch/summary-natural-dark.webp", alt: "Medscribe appointment summary in a natural titanium iPhone product bezel", }, ] as const; @@ -126,6 +129,7 @@ export default function HomePage() {
@@ -241,6 +247,7 @@ export default function HomePage() {
@@ -248,6 +255,7 @@ export default function HomePage() {
@@ -309,6 +317,7 @@ export default function HomePage() {
@@ -323,6 +332,7 @@ export default function HomePage() {
diff --git a/src/components/product-device.tsx b/src/components/product-device.tsx index 1709bbe..5a995d3 100644 --- a/src/components/product-device.tsx +++ b/src/components/product-device.tsx @@ -1,9 +1,10 @@ -import Image from "next/image"; +import { getImageProps } from "next/image"; import { cn } from "~/lib/utils"; type ProductDeviceProps = { src: string; + darkSrc?: string; alt: string; className?: string; sizes?: string; @@ -17,23 +18,39 @@ type ProductDeviceProps = { */ export function ProductDevice({ src, + darkSrc, alt, className, sizes = "(min-width: 1024px) 360px, (min-width: 640px) 320px, 72vw", priority = false, }: ProductDeviceProps) { + const shared = { + alt, + width: 810, + height: 1656, + sizes, + priority, + className: cn( + "h-auto w-full drop-shadow-[0_35px_35px_rgba(15,23,42,0.22)] dark:drop-shadow-[0_38px_42px_rgba(0,0,0,0.5)]", + className, + ), + }; + const { props: lightProps } = getImageProps({ src, ...shared }); + const darkProps = darkSrc + ? getImageProps({ src: darkSrc, ...shared }).props + : null; + return ( - {alt} + + {darkProps ? ( + + ) : null} + {/* next/image cannot art-direct by color scheme without downloading both sources. */} + {alt} + ); }