import FeatureCard from "./FeatureCard"; import { getT } from "../i18n/server"; export default async function Features() { const t = await getT(); const items = [ { title: t("features.items.autoCommands.title"), description: t("features.items.autoCommands.description"), icon: ( ), }, { title: t("features.items.componentsV2.title"), description: t("features.items.componentsV2.description"), icon: ( ), }, { title: t("features.items.autoHelp.title"), description: t("features.items.autoHelp.description"), icon: ( ), }, { title: t("features.items.multiLanguage.title"), description: t("features.items.multiLanguage.description"), icon: ( ), }, { title: t("features.items.dynamicVariables.title"), description: t("features.items.dynamicVariables.description"), icon: ( ), }, { title: t("features.items.hosting.title"), description: t("features.items.hosting.description"), icon: ( ), }, ]; return ( {t("features.title")} {t("features.subtitle")} {items.map((it, idx) => ( ))} ); }
{t("features.subtitle")}