'use client';
import dynamic from 'next/dynamic';
import Link from 'next/link';
import { useRef } from 'react';
import { motion, useScroll, useTransform } from 'framer-motion';
import { ArrowRight, Database, Zap, Brain, ChevronDown } from 'lucide-react';
const DNAHelix = dynamic(
() => import('@/components/three/DNAHelix'),
{ ssr: false, loading: () =>
}
);
const DATABASES = ['NCBI', 'UniProt', 'PDB', 'KEGG', 'Ensembl', 'STRING', 'EMBL', 'Pfam'];
const PIPELINE = [
{ step: '01', label: 'Sequence Input', sub: 'FASTA / accession ID' },
{ step: '02', label: 'BLAST Search', sub: 'EBI BLAST + NCBI' },
{ step: '03', label: 'UniProt Lookup', sub: 'Annotation & function' },
{ step: '04', label: 'Structure Prediction', sub: 'AlphaFold 3D viewer' },
{ step: '05', label: 'AI Interpretation', sub: 'Plain-language insight' },
];
const FEATURES = [
{
icon: Database,
color: '#00F5D4',
title: 'Unified Access',
body: 'NCBI, UniProt, PDB, KEGG, Ensembl — one plain-English query retrieves across every major database simultaneously.',
},
{
icon: Zap,
color: '#8B5CF6',
title: 'Pipeline Automation',
body: 'BLAST → UniProt → AlphaFold runs sequentially, hands-free. Real-time progress via SSE, results assembled automatically.',
},
{
icon: Brain,
color: '#F59E0B',
title: 'AI Interpretation',
body: 'Every result is narrated in plain language. Clinical relevance, evolutionary context, functional insights — streamed live.',
},
];
const fadeUp = {
hidden: { opacity: 0, y: 24 },
show: { opacity: 1, y: 0, transition: { duration: 0.6, ease: [0.25, 1, 0.5, 1] as const } },
};
const stagger = {
show: { transition: { staggerChildren: 0.1 } },
};
export default function LandingPage() {
const heroRef = useRef(null);
const { scrollYProgress } = useScroll({
target: heroRef,
offset: ['start start', 'end start'],
});
const helixY = useTransform(scrollYProgress, [0, 1], ['0%', '28%']);
const helixOpacity = useTransform(scrollYProgress, [0, 0.55], [1, 0]);
const textY = useTransform(scrollYProgress, [0, 1], ['0%', '18%']);
const textOpacity = useTransform(scrollYProgress, [0, 0.4], [1, 0]);
return (
Bioinformatics · Automated · AI-powered
One query.{' '}
Every database.
BioNexus unifies NCBI, UniProt, PDB, and KEGG into a single plain-language
interface — with AI-interpreted visual results, instantly.
Start analyzing
See the pipeline
Unified access to
{DATABASES.map((db) => (
{db}
))}
How it works
From sequence to insight
Five automated stages, zero manual database switching.
{PIPELINE.map(({ step, label, sub }) => (
{step}
{label}
{sub}
))}
Features
Everything you need
{FEATURES.map((f) => {
const Icon = f.icon;
return (
{f.title}
{f.body}
);
})}
Get started
Ready to decode your sequences?
Free to start. No API keys required to run your first analysis.
Open Bio Nexus
);
}