import type { ReactNode } from "react"; import clsx from "clsx"; import Heading from "@theme/Heading"; import styles from "./styles.module.css"; type FeatureItem = { title: string; imgSrc: string; description: ReactNode; }; const FeatureList: FeatureItem[] = [ { title: "Create your own channels", imgSrc: require("@site/static/img/files-toml.png").default, description: ( <> Create your own channels in a simple TOML file and search through files, git repositories, environment variables, docker images, and more. ), }, { title: "Integrates with your shell", imgSrc: require("@site/static/img/zsh-integration.png").default, description: ( <> Television integrates with your shell and provides autocompletion that is both extensible and configurable to use your own channels. ), }, ]; function Feature({ title, imgSrc, description }: FeatureItem) { return (
{title}

{description}

{title}
); } export default function HomepageFeatures(): ReactNode { return (
{FeatureList.map((props, idx) => ( ))}
); }