From eb0907fdfdd3f085500ce2e3d3c86ec40973d9e2 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Tue, 15 Jul 2025 00:54:33 +0100 Subject: [PATCH] Load mdx files, make navbar good --- next.config.js | 4 + src/app/(root)/cv/page.tsx | 2 +- src/app/(root)/layout.tsx | 2 +- src/app/(root)/posts/[...slug]/page.tsx | 28 +++--- src/app/(root)/posts/page.tsx | 48 ++++++----- src/app/_components/auth/login.tsx | 4 +- src/app/_components/cv.tsx | 12 +-- src/app/_components/navbar-client.tsx | 4 +- src/app/_components/post-header.tsx | 10 +-- src/markdown/posts/[...slug]/developer.mdx | 1 - .../posts/[...slug]/learning-kubernetes.mdx | 1 - .../[...slug]/managing-a-team-remotely.mdx | 1 - src/styles/globals.css | 85 ++++++++++--------- 13 files changed, 104 insertions(+), 98 deletions(-) diff --git a/next.config.js b/next.config.js index ddac90c..397c636 100644 --- a/next.config.js +++ b/next.config.js @@ -20,6 +20,10 @@ const config = { protocol: "https", hostname: "fly.storage.tigris.dev", }, + { + protocol: "https", + hostname: "img.daisyui.com", + }, ], }, }; diff --git a/src/app/(root)/cv/page.tsx b/src/app/(root)/cv/page.tsx index ccde92c..e8776af 100644 --- a/src/app/(root)/cv/page.tsx +++ b/src/app/(root)/cv/page.tsx @@ -9,7 +9,7 @@ export default function CvPage(): React.JSX.Element { Download -
+
); diff --git a/src/app/(root)/layout.tsx b/src/app/(root)/layout.tsx index 08298e0..bb76f08 100644 --- a/src/app/(root)/layout.tsx +++ b/src/app/(root)/layout.tsx @@ -9,7 +9,7 @@ export default function RootLayout({ return ( <> -
+
{children}