diff --git a/examples/github-pages/app/about/page.tsx b/examples/github-pages/app/about/page.tsx
index 47de2787d14d..f320a32074ff 100644
--- a/examples/github-pages/app/about/page.tsx
+++ b/examples/github-pages/app/about/page.tsx
@@ -3,7 +3,7 @@ import Link from 'next/link'
export default function About() {
return (
<>
-
About
+ About Page
Back to Home
diff --git a/examples/github-pages/app/layout.tsx b/examples/github-pages/app/layout.tsx
index dbce4ea8e3ae..9526c89fc472 100644
--- a/examples/github-pages/app/layout.tsx
+++ b/examples/github-pages/app/layout.tsx
@@ -1,3 +1,13 @@
+import type { Metadata } from 'next'
+import { Inter } from 'next/font/google'
+
+const inter = Inter({ subsets: ['latin'] })
+
+export const metadata: Metadata = {
+ title: 'Next.js on GitHub Pages',
+ description: 'A Next.js web application on GitHub Pages',
+}
+
export default function RootLayout({
children,
}: {
@@ -5,7 +15,7 @@ export default function RootLayout({
}) {
return (
- {children}
+ {children}
)
}
diff --git a/examples/github-pages/next.config.js b/examples/github-pages/next.config.js
index 78bd32350ef7..98b10c1c0d5c 100644
--- a/examples/github-pages/next.config.js
+++ b/examples/github-pages/next.config.js
@@ -1,8 +1,4 @@
-// @ts-check
-
-/**
- * @type {import('next').NextConfig}
- **/
+/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
basePath: '/gh-pages-test',