From 6faad76ac90d363af28ae8a203718ecfde49240b Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 22 Feb 2021 15:31:43 +0100 Subject: [PATCH] settings --- packages/dashboard/src/components/Layout.js | 23 +++++++++------------ packages/dashboard/src/pages/index.js | 6 +----- packages/dashboard/src/pages/settings.js | 13 ++++++------ 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/packages/dashboard/src/components/Layout.js b/packages/dashboard/src/components/Layout.js index 2b60faa4..bf6858e0 100644 --- a/packages/dashboard/src/components/Layout.js +++ b/packages/dashboard/src/components/Layout.js @@ -131,13 +131,11 @@ export default function Layout({ title, children }) { aria-orientation="vertical" aria-labelledby="user-menu" > - - Settings (coming soon) - + + + Settings + +
- - Settings (coming soon) - + + + Settings + +
-
- - View current payments - -
+
Upgrade options coming soon!
diff --git a/packages/dashboard/src/pages/settings.js b/packages/dashboard/src/pages/settings.js index ef9d2e05..7960b61a 100644 --- a/packages/dashboard/src/pages/settings.js +++ b/packages/dashboard/src/pages/settings.js @@ -1,4 +1,5 @@ import { Configuration, PublicApi } from "@ory/kratos-client"; +import Layout from "../components/Layout"; import config from "../config"; import SelfServiceForm from "../components/Form/SelfServiceForm"; @@ -72,13 +73,11 @@ export default function Settings({ flow }) { console.log(flow); return ( -
-
-

Update your settings

+ +
+ +
- - - -
+ ); }