From 2726c8c87b3489bea0101b0ca7b7f3519fc1befa Mon Sep 17 00:00:00 2001 From: Bailey Pumfleet Date: Wed, 26 May 2021 17:24:10 +0100 Subject: [PATCH] Add embed section in Settings --- components/Settings.tsx | 11 ++++- pages/settings/embed.tsx | 103 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 pages/settings/embed.tsx diff --git a/components/Settings.tsx b/components/Settings.tsx index 5a7042f9..480e0757 100644 --- a/components/Settings.tsx +++ b/components/Settings.tsx @@ -1,6 +1,6 @@ import Link from 'next/link'; import { useRouter } from "next/router"; -import { UserCircleIcon, KeyIcon } from '@heroicons/react/outline'; +import { UserCircleIcon, KeyIcon, CodeIcon } from '@heroicons/react/outline'; export default function SettingsShell(props) { const router = useRouter(); @@ -42,6 +42,15 @@ export default function SettingsShell(props) { + + + + + Embed + + + + {/*

Loading...

; + } + + return( + + + Embed | Calendso + + + +
+
+

Iframe Embed

+

+ The easiest way to embed Calendso on your website. +

+
+
+
+ +
+