import Link from "@docusaurus/Link"; import useBaseUrl from "@docusaurus/useBaseUrl"; import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import Layout from "@theme/Layout"; import classnames from "classnames"; import React from "react"; import styles from "./styles.module.css"; const features = [ { title: <>Colors, description: ( <> Oh My Posh enables you to use the full color set of your terminal by using colors to define and render the prompt. ), }, { title: <>Customizable, description: <> Easily adjust existing themes or create your own. From standard segments all the way to custom implementations. , }, { title: <>Portable, description: ( <> No matter which shell you're using, or even how many, you can carry the configuration from one shell and/or machine to another for the same prompt everywhere you work. ), }, ]; function Feature({ imageUrl, title, description }) { const imgUrl = useBaseUrl(imageUrl); return (
{imgUrl && (
{title}
)}

{title}

{description}

); } function Home() { const context = useDocusaurusContext(); const { siteConfig = {} } = context; return (

{siteConfig.title}

{siteConfig.tagline}

Get Started
Oh My Posh prompt
{features && features.length > 0 && (
{features.map((props, idx) => ( ))}
)}
); } export default Home;