Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions next.config.js

This file was deleted.

11 changes: 11 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import nextra from "nextra";

const withNextra = nextra({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.jsx",
});

export default withNextra();

// If you have other Next.js configurations, you can pass them as the parameter:
// export default withNextra({ /* other next.js config */ })
4,853 changes: 3,257 additions & 1,596 deletions package-lock.json

Large diffs are not rendered by default.

19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"version": "1.0.0",
"description": "Web Performance Snippets",
"scripts": {
"build": "npx next build",
"test": "echo \"Error: no test specified\" && exit 1"
"dev": "next",
"build": "next build",
"start": "next start"
},
"keywords": [
"webperf",
Expand All @@ -16,14 +17,14 @@
"author": "Joan Leon | @nucliweb",
"license": "MIT",
"dependencies": {
"next": "^13.4.19",
"next-cloudinary": "^4.18.0",
"nextra": "^2.11.0",
"nextra-theme-docs": "^2.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"next": "^15.0.2",
"next-cloudinary": "^6.16.0",
"nextra": "^3.2.0",
"nextra-theme-docs": "^3.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"vercel": "^32.4.1"
"vercel": "^37.14.0"
}
}
14 changes: 14 additions & 0 deletions pages/CoreWebVitals/_meta.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export default {
CLS: {
title: "CLS",
},
LCP: {
title: "LCP",
},
"LCP-Image-Entropy": {
title: "LCP Image Entropy",
},
"LCP-Sub-Parts": {
title: "LCP Sub-Parts",
},
};
14 changes: 0 additions & 14 deletions pages/CoreWebVitals/_meta.json

This file was deleted.

5 changes: 5 additions & 0 deletions pages/Loading/_meta.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
TTFB: {
title: "TTFB",
},
};
5 changes: 0 additions & 5 deletions pages/Loading/_meta.json

This file was deleted.

8 changes: 8 additions & 0 deletions pages/_meta.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default {
index: {
title: "Introduction",
},
CoreWebVitals: {
title: "Core Web Vitals",
},
};
9 changes: 0 additions & 9 deletions pages/_meta.json

This file was deleted.