Skip to content

Commit 9521091

Browse files
committed
feat: some updates
1 parent 4622b7a commit 9521091

File tree

9 files changed

+58
-168
lines changed

9 files changed

+58
-168
lines changed

app/[locale]/layout.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,8 @@ export default async function LocaleLayout({
4949
<body>
5050
<NextIntlClientProvider messages={messages}>
5151
<CSPostHogProvider>
52-
<SessionProvider>
5352
{children}
54-
<AccButton />
5553
<Toaster richColors />
56-
</SessionProvider>
5754
</CSPostHogProvider>
5855
</NextIntlClientProvider>
5956
</body>

app/[locale]/solutions/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { AiOutlineLoading3Quarters } from "react-icons/ai";
22

33
export default async function Home() {
44
return (
5-
<div className="flex min-h-screen items-center justify-center p-4">
5+
<div className="flex flex-col min-h-screen items-center justify-center p-4">
66
<AiOutlineLoading3Quarters className="w-12 h-12 animate-spin text-white" />
77
</div>
88
);

app/api/auth/[...nextauth]/route.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

app/components/AccButton.tsx

Lines changed: 0 additions & 143 deletions
This file was deleted.

app/components/vrm.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function VRM() {
4646
return new Promise<import("@pixiv/three-vrm").VRM>(
4747
(resolve, reject) => {
4848
loader.load(
49-
"https://mikn.dev/vroid/mikan.dev(web).vrm",
49+
"https://cdn.mikn.dev/vroid/mikan.dev(web).vrm",
5050
(gltf: GLTF) => {
5151
const loadedVrm = gltf.userData.vrm;
5252
setVrm(loadedVrm);
@@ -68,8 +68,8 @@ export function VRM() {
6868
const loadAnimation = (loadedVrm: import("@pixiv/three-vrm").VRM) => {
6969
const animationUrl =
7070
Math.random() < 0.3
71-
? "https://mikn.dev/vroid/shikanoko.vrma"
72-
: "https://mikn.dev/vroid/hi.vrma";
71+
? "https://cdn.mikn.dev/vroid/shikanoko.vrma"
72+
: "https://cdn.mikn.dev/vroid/hi.vrma";
7373

7474
loader.load(
7575
animationUrl,
@@ -89,7 +89,7 @@ export function VRM() {
8989

9090
if (
9191
animationUrl ===
92-
"https://mikn.dev/vroid/hi.vrma"
92+
"https://cdn.mikn.dev/vroid/hi.vrma"
9393
) {
9494
action.setLoop(LoopOnce, 1);
9595
action.clampWhenFinished = true;

bun.lockb

6.31 KB
Binary file not shown.

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@
88
"format": "biome format --write .",
99
"lint": "next lint",
1010
"start": "next start",
11-
"preview": "opennextjs-cloudflare && wrangler dev",
12-
"deploy": "opennextjs-cloudflare && wrangler deploy",
11+
"build": "next build",
12+
"preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview",
13+
"deploy": "opennextjs-cloudflare build && opennextjs-cloudflare deploy",
14+
"upload": "opennextjs-cloudflare build && opennextjs-cloudflare upload",
1315
"cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts"
1416
},
1517
"dependencies": {
1618
"@emotion/react": "^11.11.4",
1719
"@emotion/styled": "^11.11.5",
18-
"@opennextjs/cloudflare": "^0.5.10",
20+
"@opennextjs/cloudflare": "^1.0.4",
1921
"@pixiv/three-vrm": "^3.3.4",
2022
"@pixiv/three-vrm-animation": "^3.3.4",
2123
"@react-three/fiber": "^9.0.4",
@@ -25,15 +27,15 @@
2527
"clsx": "^2.1.1",
2628
"daisyui": "^5.0.0",
2729
"motion": "^11.15.0",
28-
"next": "^15.3.0",
30+
"next": "^15.3.2",
2931
"next-auth": "^5.0.0-beta.25",
3032
"next-intl": "^4.0.2",
3133
"next-themes": "^0.4.4",
3234
"postcss": "^8.5.3",
3335
"posthog-js": "^1.203.1",
34-
"react": "^19.0.0",
36+
"react": "^19.1.0",
3537
"react-cookie-consent": "^9.0.0",
36-
"react-dom": "^19.0.0",
38+
"react-dom": "^19.1.0",
3739
"react-icons": "^5.2.1",
3840
"react-use": "^17.6.0",
3941
"sharp": "^0.33.5",

wrangler.jsonc

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"$schema": "node_modules/wrangler/config-schema.json",
3+
"main": ".open-next/worker.js",
4+
"name": "mikn-dev",
5+
"compatibility_date": "2025-05-03",
6+
"compatibility_flags": [
7+
// Enable Node.js API
8+
// see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#nodejs-compatibility-flag
9+
"nodejs_compat",
10+
// Allow to fetch URLs in your app
11+
// see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
12+
"global_fetch_strictly_public"
13+
],
14+
"assets": {
15+
"directory": ".open-next/assets",
16+
"binding": "ASSETS"
17+
},
18+
"kv_namespaces": [
19+
{
20+
"binding": "NEXT_INC_CACHE_KV",
21+
"id": "914f30b5215d4d3c9dbae19952e042c5"
22+
}
23+
],
24+
"durable_objects": {
25+
"bindings": [
26+
{
27+
"name": "NEXT_CACHE_DO_QUEUE",
28+
"class_name": "DOQueueHandler"
29+
}
30+
]
31+
},
32+
"migrations": [
33+
{
34+
"tag": "v1",
35+
"new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"]
36+
}
37+
],
38+
"services": [
39+
{
40+
"binding": "WORKER_SELF_REFERENCE",
41+
// The service should match the "name" of your worker
42+
"service": "mikn-dev"
43+
}
44+
]
45+
}

wrangler.toml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)