From 87f7984d76782f23172503b50beefc5b814a7a7d Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Wed, 16 Jun 2021 13:42:30 +0100 Subject: [PATCH 1/3] added billing to settings --- components/ActiveLink.tsx | 1 - components/Settings.tsx | 7 ++++++- pages/settings/billing.tsx | 26 ++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 pages/settings/billing.tsx diff --git a/components/ActiveLink.tsx b/components/ActiveLink.tsx index f4da7d65..d7ae61c3 100644 --- a/components/ActiveLink.tsx +++ b/components/ActiveLink.tsx @@ -1,5 +1,4 @@ import { useRouter } from 'next/router' -import PropTypes from 'prop-types' import Link from 'next/link' import React, { Children } from 'react' diff --git a/components/Settings.tsx b/components/Settings.tsx index ff23e35b..bfbfd19c 100644 --- a/components/Settings.tsx +++ b/components/Settings.tsx @@ -1,5 +1,5 @@ import ActiveLink from '../components/ActiveLink'; -import { UserCircleIcon, KeyIcon, CodeIcon, UserGroupIcon } from '@heroicons/react/outline'; +import { UserCircleIcon, KeyIcon, CodeIcon, UserGroupIcon, CreditCardIcon } from '@heroicons/react/outline'; export default function SettingsShell(props) { return ( @@ -37,6 +37,11 @@ export default function SettingsShell(props) { Teams + {/* Change/remove me, if you're self-hosting */} + + Billing + + {/* + Billing | Calendso + + +
+
+

Change your Subscription

+

+ Cancel, update credit card or change plan +

+
+
+