diff --git a/package.json b/package.json
index f66c8e60..d274c8f8 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,7 @@
"devDependencies": {
"@types/diff": "5.0.3",
"@types/marked": "5.0.1",
- "@types/mdx": "2.0.8",
+ "@types/mdx": "2.0.10",
"@types/node": "20.7.2",
"@types/prettier": "2.7.3",
"@types/react": "18.2.23",
diff --git a/posts/build-a-blog-with-nextjs-13.mdx b/posts/build-a-blog-with-nextjs-13.mdx
index b6e82ee9..3c63e2bb 100644
--- a/posts/build-a-blog-with-nextjs-13.mdx
+++ b/posts/build-a-blog-with-nextjs-13.mdx
@@ -1,6 +1,6 @@
---
-title: Building a blog with Next.js 13 and React Server Components
-description: Use MDX, RSC, and Bright to build a blog with Next.js 13.
+title: Building a blog with Next.js 14 and React Server Components
+description: Use MDX, RSC, and Bright to build a blog with Next.js 14.
slug: build-a-blog-with-nextjs-13
date: Apr 16, 2023
---
@@ -9,6 +9,8 @@ I've been tinkering with this website and the [Next.js 13 App Router](https://be
and it's been a great experience, especially in the last few months. But I've seen some confusion around
how to use the new features and React Server Components, so I wrote up an outline on building this website.
+ This post has been updated for [Next.js 14.](https://nextjs.org/blog/next-14)
+
To address the React-sized elephant in the room:
you do not need this fancy setup to build a blog.
HTML and CSS may be a better choice for you, but I'd find little fun in that, and I'm a strong believer in having a website to experiment with.
@@ -495,10 +497,6 @@ export const metadata = {
default: 'Max Leiter',
},
description: 'Full-stack developer.',
- themeColor: [
- { media: '(prefers-color-scheme: light)', color: '#f5f5f5' },
- { media: '(prefers-color-scheme: dark)', color: '#000' },
- ],
openGraph: {
title: 'Max Leiter',
description: 'Full-stack developer.',
@@ -534,6 +532,13 @@ export const metadata = {
},
},
}
+
+export const viewport = {
+ themeColor: [
+ { media: '(prefers-color-scheme: light)', color: '#f5f5f5' },
+ { media: '(prefers-color-scheme: dark)', color: '#000' },
+ ],
+}
```
And a pages metadata may look like this: