diff --git a/ssg/src/components/page/solutions/mpc-wallet/Header.tsx b/ssg/src/components/page/solutions/mpc-wallet/Header.tsx new file mode 100644 index 00000000..9a8ecead --- /dev/null +++ b/ssg/src/components/page/solutions/mpc-wallet/Header.tsx @@ -0,0 +1,130 @@ +import React from "react" +import Translate, { translate } from "@docusaurus/Translate" +import SectionTitle from "../../../common/SectionTitle" +import clsx from "clsx" + +const Item = ({ + cover, + background, + title, + description, + className, + coverClassName, +}: { + cover: string + background: string + title: string + description: string + className?: string + coverClassName?: string +}) => { + return ( +
+ + +
+
{title}
+
{description}
+
+
+ ) +} + +export const Header = () => ( + <> + + What are the benefits of MPC wallets? + +
+ + + + + + + + + +
+ +) diff --git a/ssg/src/pages/solutions/mpc-wallet/index.tsx b/ssg/src/pages/solutions/mpc-wallet/index.tsx index d9d5f602..4237b683 100644 --- a/ssg/src/pages/solutions/mpc-wallet/index.tsx +++ b/ssg/src/pages/solutions/mpc-wallet/index.tsx @@ -3,135 +3,8 @@ import "react-multi-carousel/lib/styles.css" import React from "react" import { GetStartedSection } from "../../../components/common/GetStartedSection" import { MoreFeaturesSection } from "../../../components/common/MoreFeaturesSection" -import Translate, { translate } from "@docusaurus/Translate" -import SectionTitle from "../../../components/common/SectionTitle" -import clsx from "clsx" - -const Item = ({ - cover, - background, - title, - description, - className, - coverClassName, -}: { - cover: string - background: string - title: string - description: string - className?: string - coverClassName?: string -}) => { - return ( -
- - -
-
{title}
-
{description}
-
-
- ) -} - -const Header = () => ( - <> - - What are the benefits of MPC wallets? - -
- - - - - - - - - -
- -) +import { translate } from "@docusaurus/Translate" +import { Header } from "../../../components/page/solutions/mpc-wallet/Header" export default function Root() { return (