import { motion } from 'framer-motion' import { features } from '../data/landingData' function FeaturePreview({ type }: { type: string }) { switch (type) { case 'editor': return (
{['H1', 'H2', 'B', '•'].map((btn) => ( {btn} ))}
) case 'database': return (
Name Status Owner
{[1, 2, 3].map((row) => (
))}
) case 'whiteboard': return (
) case 'kanban': return (
{['To Do', 'In Progress', 'Done'].map((col, i) => (

{col}

{Array.from({ length: i === 1 ? 2 : 1 }).map((_, j) => (
))}
))}
) case 'integrations': return (
{['Slack', 'GitHub', 'Drive'].map((name) => (
{name[0]}
))}
) case 'collaboration': return (
{['#C17D65', '#6B3A2C', '#8B4D3B'].map((color, i) => (
{['S', 'M', 'A'][i]}
))}
+3 people editing
) default: return null } } export default function Features() { return (

Everything your team needs to work better

From documents to databases, whiteboards to boards — all in one connected workspace.

{features.map((feature, i) => (

{feature.title}

{feature.description}

))}
) }