/* eslint-disable sort-keys */ import { type ReactNode } from 'react'; import clsx from 'clsx'; import Link from '@docusaurus/Link'; import useBaseUrl from '@docusaurus/useBaseUrl'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import Layout from '@theme/Layout'; import styles from './styles.module.css'; interface FeatureProps { title: string; description: ReactNode; imageUrl?: string; } const features: FeatureProps[][] = [ [ { title: '💻 Cross-platform', description: ( <> Whether on MacOS, Windows, or Linux, take confidence in your code running on any and all platforms. ), }, { title: '🔬 Type-safe', description: ( <> With the power of{' '} TypeScript , we provide a strict, type-safe, and ergonomic API for a better developer experience. ), }, { title: '🔀 Async-first', description: ( <> Engineered all APIs and abstractions to be async-first for maximum performance, efficiency, and portability. ), }, ], [ { title: '📦 Low dependency', description: ( <> In an effort to reduce lock file churn, large dependency graphs, and unexpected vulnerabilities, we only include a dependency when absolutely necessary. ), }, { title: '⚙️ Convention & configuration', description: ( <> Designed to offer the perfect blend of convention (we provide consistency) and configuration (you customize for each integration) based patterns. ), }, { title: '🚀 Environment agnostic', description: ( <> Utilize Boost in both server-side and client-side environments -- web applications, command line programs, developer tooling, packages, and more. ), }, ], ]; function Feature({ imageUrl, title, description }: FeatureProps) { const imgUrl = useBaseUrl(imageUrl); return (
{imgUrl && (
{title}
)}

{title}

{description}

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

{siteConfig.title}

{siteConfig.tagline}

Get started