diff --git a/apps/dashboard/src/components/dashboard-account-settings/page-layout.tsx b/apps/dashboard/src/components/dashboard-account-settings/page-layout.tsx new file mode 100644 index 000000000..cee4d95f0 --- /dev/null +++ b/apps/dashboard/src/components/dashboard-account-settings/page-layout.tsx @@ -0,0 +1,9 @@ +import React from "react"; + +export function PageLayout(props: { children: React.ReactNode }) { + return ( +
+ {props.children} +
+ ); +} diff --git a/apps/dashboard/src/components/dashboard-account-settings/section.tsx b/apps/dashboard/src/components/dashboard-account-settings/section.tsx new file mode 100644 index 000000000..4f4b6e3c0 --- /dev/null +++ b/apps/dashboard/src/components/dashboard-account-settings/section.tsx @@ -0,0 +1,21 @@ +import React from "react"; + +export function Section(props: { title: string, description?: string, children: React.ReactNode }) { + return ( +
+
+

+ {props.title} +

+ {props.description && ( +

+ {props.description} +

+ )} +
+
+ {props.children} +
+
+ ); +}