From b70203ede888b1365adc47a523992aac7038c5b5 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Fri, 20 Sep 2024 08:57:05 +0100 Subject: [PATCH 1/7] - --- website/app/layouts/DocsPage.tsx | 17 +++ website/app/routes/$/route.tsx | 101 +-------------- website/app/routes/_layout._index/route.tsx | 39 ++++++ website/app/utils.ts | 132 +++++++++++++++----- 4 files changed, 163 insertions(+), 126 deletions(-) create mode 100644 website/app/layouts/DocsPage.tsx diff --git a/website/app/layouts/DocsPage.tsx b/website/app/layouts/DocsPage.tsx new file mode 100644 index 00000000..64f50e5b --- /dev/null +++ b/website/app/layouts/DocsPage.tsx @@ -0,0 +1,17 @@ +import { Scripts } from "@remix-run/react"; +import { type Context, PageContext } from "~/context"; +import { DocsLayout } from "./DocsLayout"; + +export function DocsPage({ ctx }: { ctx: Context }) { + return ( + + `); - - return ( - <> - {scripts} - `); + + return ( + <> + + {title} + + + + + + + + + + + + {scripts} + `); - return ( - <> - {scripts} +
@@ -44,7 +33,7 @@ export default function GetStartedRoute() {