From 6860d30e1c42998c6ee7f294b73fbb99aed938f9 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Wed, 9 Jul 2025 01:16:37 +0100 Subject: [PATCH] Start cleaning up other pages --- next.config.js | 2 +- src/app/(root)/cv/page.tsx | 5 +-- src/app/(root)/layout.tsx | 8 +---- src/app/(root)/page.tsx | 18 ----------- src/app/(root)/posts/layout.tsx | 9 ------ src/app/(root)/posts/page.tsx | 2 +- src/app/_components/cv.tsx | 29 +++++++++-------- src/app/_components/navbar-client.tsx | 4 +-- src/app/_components/theme-switcher.tsx | 6 ++-- src/env.js | 8 ++--- src/styles/globals.css | 44 ++------------------------ 11 files changed, 33 insertions(+), 102 deletions(-) delete mode 100644 src/app/(root)/posts/layout.tsx diff --git a/next.config.js b/next.config.js index 6807ba7..ddac90c 100644 --- a/next.config.js +++ b/next.config.js @@ -8,7 +8,7 @@ import createMDX from "@next/mdx"; /** @type {import("next").NextConfig} */ const config = { pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"], - allowedDevOrigins: ["*.vscode.home.joemonk.co.uk"], + allowedDevOrigins: ["*.vscode.home.joemonk.co.uk", "*.vscode.localhost"], experimental: { reactCompiler: true, }, diff --git a/src/app/(root)/cv/page.tsx b/src/app/(root)/cv/page.tsx index 4f05975..ccde92c 100644 --- a/src/app/(root)/cv/page.tsx +++ b/src/app/(root)/cv/page.tsx @@ -4,11 +4,12 @@ import Cv from "@/app/_components/cv"; export default function CvPage(): React.JSX.Element { return (
-
-
+
); diff --git a/src/app/(root)/layout.tsx b/src/app/(root)/layout.tsx index 7619b20..08298e0 100644 --- a/src/app/(root)/layout.tsx +++ b/src/app/(root)/layout.tsx @@ -9,16 +9,10 @@ export default function RootLayout({ return ( <> - -
+
{children}