From f4e5ab46d1ae9a974f865abda6569eef4ec3fc09 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Tue, 26 Apr 2022 14:45:07 +0200 Subject: [PATCH] formatting --- apps/temp-docs/components/AuthProviders.tsx | 12 +- .../components/CodeBlock/CodeBlock.tsx | 4 +- apps/temp-docs/components/Footer.tsx | 172 +++++++++--------- apps/temp-docs/components/LinkCard.tsx | 4 +- .../temp-docs/components/LinkCardsWrapper.tsx | 2 +- apps/temp-docs/components/Providers.tsx | 3 +- apps/temp-docs/components/Sponsor.tsx | 4 +- apps/temp-docs/components/SponsorsWrapper.tsx | 2 +- apps/temp-docs/components/ThemeToggle.tsx | 4 +- apps/temp-docs/components/layouts/Layout.tsx | 6 +- apps/temp-docs/components/nav/NavBar.tsx | 4 +- apps/temp-docs/components/nav/SideBar.tsx | 2 +- apps/temp-docs/data/authProviders.js | 2 +- apps/temp-docs/data/footer.json | 170 ++++++++--------- apps/temp-docs/data/sponsors.json | 2 +- supabase-docs | 1 - 16 files changed, 192 insertions(+), 202 deletions(-) delete mode 160000 supabase-docs diff --git a/apps/temp-docs/components/AuthProviders.tsx b/apps/temp-docs/components/AuthProviders.tsx index 49389e585f8..660f2c2e1f3 100644 --- a/apps/temp-docs/components/AuthProviders.tsx +++ b/apps/temp-docs/components/AuthProviders.tsx @@ -4,27 +4,27 @@ import Link from 'next/link' export default function AuthProviders() { return ( -
+
{authProviders.map((x: any) => (

{x.name}

-

+

{x.official ? ( - Official + Official ) : ( - Unofficial + Unofficial )}

-
+
Platform: {x.platform.toString()}
-
+
Self-Hosted: {x.selfHosted.toString()}
diff --git a/apps/temp-docs/components/CodeBlock/CodeBlock.tsx b/apps/temp-docs/components/CodeBlock/CodeBlock.tsx index d5dcc6c44ef..d8444bac260 100644 --- a/apps/temp-docs/components/CodeBlock/CodeBlock.tsx +++ b/apps/temp-docs/components/CodeBlock/CodeBlock.tsx @@ -38,7 +38,7 @@ function CodeBlock(props: Props) { {!props.hideCopy && props.children ? ( -
+
) } -export default DarkModeToggle \ No newline at end of file +export default DarkModeToggle diff --git a/apps/temp-docs/components/layouts/Layout.tsx b/apps/temp-docs/components/layouts/Layout.tsx index 84480d36289..4a60d6ab71d 100644 --- a/apps/temp-docs/components/layouts/Layout.tsx +++ b/apps/temp-docs/components/layouts/Layout.tsx @@ -42,11 +42,11 @@ const DocsLayout = ({
-
-
+
+
{children}
-
+
On this page
{toc ? toc.json.map((item: any) => { diff --git a/apps/temp-docs/components/nav/NavBar.tsx b/apps/temp-docs/components/nav/NavBar.tsx index ff2f8c6fb8a..d6354a613bc 100644 --- a/apps/temp-docs/components/nav/NavBar.tsx +++ b/apps/temp-docs/components/nav/NavBar.tsx @@ -33,10 +33,10 @@ const NavBar = ({ currentPage }: { currentPage: string }) => { return (