diff --git a/package.json b/package.json index eaa9e5fe..38cc654c 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "encoding": "^0.1.13", "mailgun-js": "^0.22.0", "markdown-pdf": "^11.0.0", + "marked-react": "^2.0.0", "mustache": "^4.2.0", "next": "13", "rate-limiter-flexible": "^2.4.1", diff --git a/src/components/Markdown.tsx b/src/components/Markdown.tsx new file mode 100644 index 00000000..251ada2c --- /dev/null +++ b/src/components/Markdown.tsx @@ -0,0 +1,7 @@ +import type { ReactNode } from "react"; + +export const SpanRenderer = { + paragraph(children: ReactNode) { + return {children}; + }, +}; diff --git a/src/components/Nav.module.css b/src/components/Nav.module.css index 3bb58986..6f77fab5 100644 --- a/src/components/Nav.module.css +++ b/src/components/Nav.module.css @@ -27,6 +27,7 @@ } .link { + color: inherit !important; margin-left: 16px; margin-right: 16px; } diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index b8dd01ce..99f7f5f6 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -1,6 +1,4 @@ -/* eslint-disable @typescript-eslint/no-unsafe-assignment */ - -import { Button, Link as GLink, Select, Spacer, Text } from "@geist-ui/react"; +import { Button, Select, Spacer, Text } from "@geist-ui/react"; import Image from "next/image"; import { useRouter } from "next/router"; import React from "react"; @@ -45,15 +43,15 @@ export function Nav(): React.ReactElement {
- {d.nav.pricing} - + - {d.nav.help} - +