diff --git a/app/components/MobileBlocker.tsx b/app/components/MobileBlocker.tsx new file mode 100644 index 0000000..7559a1a --- /dev/null +++ b/app/components/MobileBlocker.tsx @@ -0,0 +1,167 @@ +"use client"; + +import { useEffect, useState } from "react"; +import Image from "next/image"; + +export default function MobileBlocker() { + const [mounted, setMounted] = useState(false); + const [showAnyway, setShowAnyway] = useState(false); + + useEffect(() => { + setMounted(true); + }, []); + + if (!mounted) { + return null; + } + + // If user chose to view on mobile anyway, don't show blocker + if (showAnyway) { + return null; + } + + return ( +
+ Built for desktops and laptops +
++ Have you used a personal genomics service like 23andMe or AncestryDNA? Explorer provides a powerful, data-rich interface for exploring + your genetic makeup using private on-device analysis and secure AI usage. +
+All DNA analysis happens in your browser. Zero uploads to servers. Your genetic data never leaves your device.
+Search the scientifically-vetted GWAS Catalog with semantic similarity and advanced filters
+Upload 23andMe or AncestryDNA files for personalized genetic insights, processed locally
+Ask an LLM questions about your genetic data with complete privacy and security using TEE technology
+Test your genome against all 1M+ traits in the catalog instantly, with offline capability.
+Generate comprehensive LLM-powered reports analyzing patterns across all your genetic traits
+Advanced study reliability metrics and confidence indicators for evidence-based insights
++ Privacy-first by design. Your genetic data is processed entirely in your browser + using WebAssembly and IndexedDB. We never upload, store, or transmit your DNA data to any servers. + All analysis is performed locally on your device for complete privacy and security. +
+