-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
120 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,6 @@ | |
padding-top: 24px !important; | ||
} | ||
|
||
.icon { | ||
margin-right: 16px; | ||
} | ||
|
||
.mo { | ||
font-size: 1.25rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.icon { | ||
margin-right: 16px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { Spacer, Text } from "@geist-ui/react"; | ||
import React from "react"; | ||
|
||
import styles from "./Features.module.css"; | ||
import { Check } from "@geist-ui/react-icons"; | ||
import Markdown from "marked-react"; | ||
import { SpanRenderer } from "@/components/Markdown"; | ||
|
||
export function Features({ | ||
features, | ||
title, | ||
}: { | ||
features: string[]; | ||
title: string; | ||
}) { | ||
return ( | ||
<> | ||
<Text b small> | ||
{title} | ||
</Text> | ||
<Spacer /> | ||
{features?.map((f, i) => ( | ||
<div key={i}> | ||
<div className="flex align-center"> | ||
<div className={styles.icon}> | ||
<Check width={24} /> | ||
</div> | ||
<Text small> | ||
<Markdown renderer={SpanRenderer}>{f}</Markdown> | ||
</Text> | ||
</div> | ||
<Spacer h={0.5} /> | ||
</div> | ||
))} | ||
<Spacer /> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.