From 71dfeb721d271dd58c5e2f4f26cff1fe407eef80 Mon Sep 17 00:00:00 2001 From: Nikita Tchayka Date: Thu, 14 Sep 2023 23:01:22 +0100 Subject: Start roadmap --- src/components/HomepageFeatures/index.tsx | 40 +++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 7 deletions(-) (limited to 'src/components/HomepageFeatures') diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index a13fb23..f4471f3 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -4,6 +4,7 @@ import styles from "./styles.module.css"; import CodeFrame from "../CodeFrame"; import Button from "../Button"; import CodeBlock from "@theme/CodeBlock"; +import Frame from "../Frame"; type ShowCase = | { code: string; language: string } @@ -81,13 +82,13 @@ const FeatureList: FeatureItem[] = [ function Feature({ n, title, showcase, description, buttonText }: FeatureItem) { const k = n ?? 0; - const reverse = k % 2 === 0 ? "flex-row" : "flex-row-reverse"; + const reverse = k % 2 === 0 ? "xl:flex-row" : "xl:flex-row-reverse"; const showcaseComponent = "code" in showcase ? ( // {showcase.code} {showcase.code} @@ -98,13 +99,15 @@ function Feature({ n, title, showcase, description, buttonText }: FeatureItem) { //
return (
-
{showcaseComponent}
-
+
+ {showcaseComponent} +
+

{title}

{description}

-
+
@@ -117,8 +120,31 @@ function Feature({ n, title, showcase, description, buttonText }: FeatureItem) { export default function HomepageFeatures(): JSX.Element { return (
-
+
+
+
+ {/* horrible hack to hide the vertical bar */} + + + +

+ Roadmap +

+
+
+ +

Coming Soon

+ +
+
+
{FeatureList.map((props, idx) => ( ))} -- cgit