import React from "react"; import clsx from "clsx"; import styles from "./styles.module.css"; import CodeFrame from "../CodeFrame"; import Button from "../Button"; import CodeBlock from "@theme/CodeBlock"; import Frame from "../Frame"; import { FeatureItem } from "./feature-item"; import { ReadyFeatures } from "./ready-features"; import { ComingSoonFeatures } from "./coming-soon-features"; function Feature({ n, title, showcase, description, buttonText }: FeatureItem) { const k = n ?? 0; const reverse = k % 2 === 0 ? "xl:flex-row" : "xl:flex-row-reverse"; const showcaseComponent = "code" in showcase ? ( // {showcase.code} {showcase.code} ) : ( ); //
return (
{showcaseComponent}

{title}

{description}

); } export default function HomepageFeatures(): JSX.Element { return (
{/* horrible hack to hide the vertical bar */}

Features

{ReadyFeatures.map((props, idx) => ( ))}

Coming Soon

{ComingSoonFeatures.map((props, idx) => ( ))}
); }