diff --git a/src/components/Markdown/Markdawn.tsx b/src/components/Markdown/Markdawn.tsx new file mode 100644 index 0000000..0d85fda --- /dev/null +++ b/src/components/Markdown/Markdawn.tsx @@ -0,0 +1,24 @@ +import Markdown from "markdown-to-jsx"; +import SceneBreak from "./SceneBreak"; + +type ScenBreakProps = { + className?: string; + text: string; +}; + +export default function Markdawn(props: ScenBreakProps): JSX.Element { + return ( + + {props.text} + + ); +} diff --git a/src/components/Panels/MainPanel.tsx b/src/components/Panels/MainPanel.tsx index 47a0e3d..8685276 100644 --- a/src/components/Panels/MainPanel.tsx +++ b/src/components/Panels/MainPanel.tsx @@ -6,7 +6,6 @@ import Button from "components/Button"; import HorizontalLine from "components/HorizontalLine"; import { GetWebsiteInterfaceQuery } from "graphql/operations-types"; import Markdown from "markdown-to-jsx"; -import Script from "next/script"; type MainPanelProps = { langui: GetWebsiteInterfaceQuery["websiteInterfaces"]["data"][number]["attributes"]; @@ -21,16 +20,16 @@ export default function MainPanel(props: MainPanelProps): JSX.Element { className="flex flex-col justify-center content-start p-8 gap-y-2 justify-items-center text-center" >
-
+
-
+
-
+
{router.locale ? (