From 0533a25347301e0e4d7a996671e152d4f9b9c030 Mon Sep 17 00:00:00 2001 From: nk4dev Date: Wed, 6 May 2026 15:40:02 +0900 Subject: [PATCH 1/7] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20applist=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.html | 43 +++++++++++++++++++++++++++++++++++++++++ next-env.d.ts | 5 ++--- next.config.js | 5 +---- package.json | 10 +--------- src/pages/api/teapot.ts | 8 ++++++++ 5 files changed, 55 insertions(+), 16 deletions(-) create mode 100644 docs/index.html create mode 100644 src/pages/api/teapot.ts diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..831f2cb --- /dev/null +++ b/docs/index.html @@ -0,0 +1,43 @@ + + + + + + + Nknight AMAMIYA's apps@nk4dev + + + + +
+

Nknight AMAMIYA's apps@nk4dev

+
+
+ +
+ + + + \ No newline at end of file diff --git a/next-env.d.ts b/next-env.d.ts index 8bb7c5a..246eb55 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,7 +1,6 @@ /// /// -/// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited -// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. +// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/next.config.js b/next.config.js index ba13efd..b7a6b1a 100644 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,6 @@ -import { createMDX } from 'fumadocs-mdx/next'; import { defineCloudflareConfig } from "@opennextjs/cloudflare"; -const withMDX = createMDX(); - /** @type {import('next').NextConfig} */ const nextConfig = { plugins: [ @@ -20,4 +17,4 @@ plugins: [ }, }; -export default withMDX(nextConfig); +export default nextConfig; diff --git a/package.json b/package.json index dfd7da4..936672d 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,8 @@ "license": "MIT", "scripts": { "prepare": "panda codegen", - "postinstall": "fumadocs-mdx", "dev": "next dev", - "build": "fumadocs-mdx && next build", + "build": "next build", "start": "next start", "preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview", "deploy": "opennextjs-cloudflare build && opennextjs-cloudflare deploy", @@ -15,11 +14,6 @@ }, "dependencies": { "@opennextjs/cloudflare": "^1.19.4", - "framer-motion": "^12.23.7", - "fumadocs-core": "^16.8.5", - "fumadocs-mdx": "^14.3.2", - "fumadocs-ui": "^16.8.5", - "gh-pages": "^6.3.0", "gray-matter": "^4.0.3", "gsap": "^3.13.0", "microcms-js-sdk": "^3.1.2", @@ -32,10 +26,8 @@ }, "devDependencies": { "@pandacss/dev": "^0.53.0", - "@tailwindcss/postcss": "^4.2.4", "@types/node": "22.13.8", "@types/react": "19.0.10", - "tailwindcss": "^4.2.4", "typescript": "5.8.2" } } diff --git a/src/pages/api/teapot.ts b/src/pages/api/teapot.ts new file mode 100644 index 0000000..1ab3e47 --- /dev/null +++ b/src/pages/api/teapot.ts @@ -0,0 +1,8 @@ +import type { NextApiRequest, NextApiResponse } from 'next'; + +export default function handler( + req: NextApiRequest, + res: NextApiResponse +) { + res.status(418).send("I'm a teapot"); +} \ No newline at end of file From aa126b103de8db90cfe4404426b0f289bb171a03 Mon Sep 17 00:00:00 2001 From: Nknight AMAMIYA <88763245+nk4dev@users.noreply.github.com> Date: Wed, 6 May 2026 21:17:39 +0900 Subject: [PATCH 2/7] Create CNAME --- docs/CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/CNAME diff --git a/docs/CNAME b/docs/CNAME new file mode 100644 index 0000000..47db9e6 --- /dev/null +++ b/docs/CNAME @@ -0,0 +1 @@ +apps.nknighta.me \ No newline at end of file From 5f35db8d39e94530509b164788daef149dfc0e9d Mon Sep 17 00:00:00 2001 From: Nknight AMAMIYA <88763245+nk4dev@users.noreply.github.com> Date: Wed, 6 May 2026 21:22:18 +0900 Subject: [PATCH 3/7] Update CNAME --- CNAME | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CNAME b/CNAME index 8ef6876..47db9e6 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -nknighta.me +apps.nknighta.me \ No newline at end of file From e3d71fd6956d0c85e7554576af86bfab8382ebc7 Mon Sep 17 00:00:00 2001 From: nk4dev Date: Wed, 6 May 2026 21:44:27 +0900 Subject: [PATCH 4/7] =?UTF-8?q?update:=20=F0=9F=91=86=20move=20index.html?= =?UTF-8?q?=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 ------------------ docs/CNAME | 1 - docs/index.html => index.html | 0 3 files changed, 19 deletions(-) delete mode 100644 README.md delete mode 100644 docs/CNAME rename docs/index.html => index.html (100%) diff --git a/README.md b/README.md deleted file mode 100644 index dd080da..0000000 --- a/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Nknight AMAMIYA's website -available here! https://nk4dev.github.io - -## tech stack -### Framework -Nextjs + React -PandaCSS - -### Runtime -Bun.sh -### backend -MicroCMS - -### CI / CD -GitHub Actions(Nextjs + Bun) - -## another infomation -LLMs.txt [https://nk4dev.github.io/llms.txt](https://nk4dev.github.io/llms.txt) \ No newline at end of file diff --git a/docs/CNAME b/docs/CNAME deleted file mode 100644 index 47db9e6..0000000 --- a/docs/CNAME +++ /dev/null @@ -1 +0,0 @@ -apps.nknighta.me \ No newline at end of file diff --git a/docs/index.html b/index.html similarity index 100% rename from docs/index.html rename to index.html From 5edbc1e84c747bbfe1719ba132b4093f04b8271d Mon Sep 17 00:00:00 2001 From: nk4dev Date: Wed, 6 May 2026 21:51:46 +0900 Subject: [PATCH 5/7] =?UTF-8?q?update:=20=F0=9F=91=86=20update=20index.htm?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 831f2cb..0aeb940 100644 --- a/index.html +++ b/index.html @@ -35,7 +35,7 @@

Nknight AMAMIYA's apps@nk4dev

-

Copyright © 2021 Nknight AMAMIYA@nk4dev

+ qrcode-gen

All rights reserved.

From 8aebca142d3b05f1002f8a57f3e4c575fd902abd Mon Sep 17 00:00:00 2001 From: nk4dev Date: Wed, 6 May 2026 22:00:14 +0900 Subject: [PATCH 6/7] =?UTF-8?q?update:=20=F0=9F=91=86=20index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0aeb940..f5c09c7 100644 --- a/index.html +++ b/index.html @@ -35,7 +35,7 @@

Nknight AMAMIYA's apps@nk4dev

From 6f694d9c191468866b4917a3607b5277b27ce4b4 Mon Sep 17 00:00:00 2001 From: nk4dev Date: Sat, 16 May 2026 01:20:10 +0900 Subject: [PATCH 7/7] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20custom=20404,=20CLAU?= =?UTF-8?q?DE.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit redirect app.nknighta.me, add CLAUDE.md --- CLAUDE.md | 76 ++++++++++++++++++++++++++++++++++++++ package.json | 1 + postcss.config.cjs | 1 - source.config.ts | 9 ----- src/lib/source.ts | 7 ---- src/pages/404.tsx | 24 ++++++++++-- src/pages/index.tsx | 24 ------------ src/pages/nk4dev/index.tsx | 10 +++++ src/pages/vrchat.tsx | 3 ++ 9 files changed, 111 insertions(+), 44 deletions(-) create mode 100644 CLAUDE.md delete mode 100644 source.config.ts delete mode 100644 src/lib/source.ts create mode 100644 src/pages/nk4dev/index.tsx diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..946a51f --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,76 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Commands + +```bash +bun run dev # local dev server +bun run build # Next.js build +bun run preview # OpenNext Cloudflare build + local preview +bun run deploy # OpenNext Cloudflare build + deploy to Workers +bun run prepare # regenerate PandaCSS styled-system/ (run after panda.config.ts changes) +bun run cf-typegen # regenerate cloudflare-env.d.ts bindings +``` + +No test suite is configured. + +## Environment + +Copy `.env.local.example` to `.env.local` and set: + +``` +CMS_API_KEY= +``` + +The microCMS service domain is hard-coded as `nknighta-github` in `src/utils/cms.ts`. + +## Architecture + +**Stack**: Next.js 16 (Pages Router) · React 19 · TypeScript · PandaCSS · microCMS · GSAP · Framer Motion · deployed to **Cloudflare Workers** via `@opennextjs/cloudflare`. + +### Styling — PandaCSS + +All styles use the `css()` utility imported from `../../styled-system/css` (a codegen artifact). This is **not** Tailwind. The `styled-system/` directory is generated — never edit it by hand; run `bun run prepare` to regenerate after config changes. + +### CMS — microCMS + +`src/utils/cms.ts` exports a singleton client and typed helpers (`getBlogs`, `getBlog`, `getCategories`). Content endpoints used across the site: + +| Endpoint | Used by | +|---|---| +| `blogs` | `/blog`, `/blog/[id]`, `/blog/category/[id]`, `/blog/page/[p]` | +| `categories` | `/blog` | +| `projects` | `/dev`, `/dev/[id]` | +| `scraps` | `/scraps`, `/scraps/[id]` | + +CMS content bodies are rendered as raw HTML via `dangerouslySetInnerHTML`. An inline `