"use client"; import { useId } from "react"; import Image, { type ImageProps } from "next/image"; import { Tab, TabGroup, TabList, TabPanel, TabPanels } from "@headlessui/react"; import clsx from "clsx"; import TestImg from "../../public/images/carousel-illustration-01.png"; import Search from "../../public/images/search.svg"; import Memroy from "../../public/images/memory.svg"; interface Feature { name: React.ReactNode; summary: string; description: string; image: ImageProps["src"]; icon: React.ComponentType; } // TODO: This features section will be more for "use-cases" const features: Array = [ { name: "Ideation", summary: "Never lose a great idea again - instead of saving it in your head, save it in supermemory.", description: "The internet is full of great ideas, but there's a problem. They are ephemeral. They come and go. ", image: "search.svg", icon: function ReportingIcon() { let id = useId(); return ( <> ); }, }, { name: "Bookmarks", summary: "Simply great bookmarking tool.", description: "Good bookmarking tools have ways to import and organise your bookmarks. Great bookmarking tool resurfaces them when you need them.", image: "memory.svg", icon: function InventoryIcon() { return ( <> ); }, }, { name: "Contacts", summary: "Life is all about the people you know.", description: "Tell supermemory about people you know, and when you forget, you know where to look.", image: "search.svg", icon: function ContactsIcon() { return ( <> ); }, }, ]; function Feature({ feature, isActive, className, ...props }: React.ComponentPropsWithoutRef<"div"> & { feature: Feature; isActive: boolean; }) { return (

{feature.name}

{feature.summary}

{feature.description}

); } function FeaturesMobile() { return (
{features.map((feature) => (
))}
); } function FeaturesDesktop() { return ( {({ selectedIndex }) => ( <> {features.map((feature, featureIndex) => ( {feature.name} ), }} isActive={featureIndex === selectedIndex} className="relative" /> ))}
{features.map((feature, featureIndex) => (
))}
)} ); } export function Showcases() { return (
{/* back bg */}

Supermemory
{" "} remembers everything.

... so you don't have to. Whether you're a student, a professional, or just a person on the the internet. we got you covered.

); } export function Container({ className, ...props }: React.ComponentPropsWithoutRef<"div">) { return (
); }