Skip to content

Commit 1d3a1a4

Browse files
committed
feat: changed
1 parent 3ffaf9c commit 1d3a1a4

File tree

6 files changed

+1459
-2317
lines changed

6 files changed

+1459
-2317
lines changed

package.json

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,21 @@
1111
"format": "prettier --write src"
1212
},
1313
"dependencies": {
14-
"framer-motion": "^12.23.22",
14+
"framer-motion": "^12.23.24",
1515
"gray-matter": "^4.0.3",
1616
"highlight.js": "^11.11.1",
17-
"i18next": "^25.3.2",
17+
"i18next": "^25.6.3",
1818
"i18next-browser-languagedetector": "^8.2.0",
1919
"i18next-http-backend": "^3.0.2",
20-
"install": "^0.13.0",
21-
"lighthouse": "^12.6.1",
20+
"lighthouse": "^13.0.1",
2221
"negotiator": "^1.0.0",
23-
"next": "15.5.4",
24-
"next-intl": "^4.3.4",
22+
"next": "^16.0.3",
23+
"next-intl": "^4.5.5",
2524
"next-sitemap": "^4.2.3",
26-
"npm": "^11.4.2",
27-
"prettier": "^3.6.2",
28-
"puppeteer": "^24.11.1",
29-
"react": "^19.1.0",
30-
"react-dom": "^19.1.0",
31-
"react-i18next": "^15.5.3",
25+
"puppeteer": "^24.31.0",
26+
"react": "^19.2.0",
27+
"react-dom": "^19.2.0",
28+
"react-i18next": "^16.3.5",
3229
"rehype-format": "^5.0.1",
3330
"rehype-highlight": "^7.0.2",
3431
"rehype-parse": "^9.0.1",
@@ -38,21 +35,21 @@
3835
"remark-gfm": "^4.0.1",
3936
"remark-parse": "^11.0.0",
4037
"remark-rehype": "^11.1.2",
41-
"serve": "^14.2.4",
42-
"shiki": "^3.13.0",
43-
"unified": "^11.0.5",
44-
"yarn": "^1.22.22"
38+
"serve": "^14.2.5",
39+
"shiki": "^3.15.0",
40+
"unified": "^11.0.5"
4541
},
4642
"devDependencies": {
47-
"@eslint/eslintrc": "^3",
48-
"@next/bundle-analyzer": "^15.5.4",
49-
"@tailwindcss/postcss": "^4",
50-
"@types/node": "^24",
51-
"@types/react": "^19",
52-
"@types/react-dom": "^19",
53-
"eslint": "^9",
54-
"eslint-config-next": "15.5.4",
55-
"tailwindcss": "^4",
56-
"typescript": "^5"
43+
"@eslint/eslintrc": "^3.3.1",
44+
"@next/bundle-analyzer": "^16.0.3",
45+
"@tailwindcss/postcss": "^4.1.17",
46+
"@types/node": "^24.10.1",
47+
"@types/react": "^19.2.6",
48+
"@types/react-dom": "^19.2.3",
49+
"eslint": "^9.39.1",
50+
"eslint-config-next": "^16.0.3",
51+
"prettier": "^3.6.2",
52+
"tailwindcss": "^4.1.17",
53+
"typescript": "^5.9.3"
5754
}
58-
}
55+
}

src/app/minecraft/infinite-client/page.tsx

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,42 @@
1+
"use client";
12
import React from "react";
23
import "./page.css";
4+
import { useTranslations } from "next-intl";
5+
36
export default function InfiniteClientPage() {
7+
const t = useTranslations("pages.infiniteClient");
48
return (
59
<>
610
<section className="title">
7-
<h1>Infinite Client</h1>
11+
<h1>{t("title")}</h1>
812
</section>
913
<section className="section">
10-
<p>
11-
Infinite
12-
Clientは、Minecraftのプレイ体験を拡張するために開発された高機能なクライアントです。
13-
</p>
14-
<p>
15-
快適な操作性と多彩な機能を備え、初心者から上級者まで幅広いユーザーにおすすめです。
16-
</p>
14+
<p>{t("description.msg1")}</p>
15+
<p>{t("description.msg2")}</p>
1716
</section>
1817
<section className="section">
19-
<h2>主な特徴</h2>
18+
<h2>{t("features.title")}</h2>
2019
<ul>
21-
<li>軽量かつ高速な動作</li>
22-
<li>スタイリッシュなUI</li>
23-
<li>統合されたショートカット機能</li>
24-
<li>サーバー対策強化</li>
25-
<li>最新バージョンへの迅速な対応</li>
20+
<li>{t("features.feature1")}</li>
21+
<li>{t("features.feature2")}</li>
22+
<li>{t("features.feature3")}</li>
23+
<li>{t("features.feature4")}</li>
24+
<li>{t("features.feature5")}</li>
2625
</ul>
2726
</section>
2827
<section className="section">
29-
<h2>ダウンロード</h2>
30-
<p>最新版のダウンロードは以下のリンクから行えます。</p>
28+
<h2>{t("download.title")}</h2>
29+
<p>{t("download.msg1")}</p>
3130
<a
3231
href="https://github.com/The-Infinitys/minecraft.infinite-client"
3332
target="_blank"
3433
>
35-
Infinite Client ダウンロードページ
34+
{t("download.link")}
3635
</a>
3736
</section>
3837
<section className="section">
39-
<h2>サポート・お問い合わせ</h2>
40-
<p>ご質問や不具合報告は、GitHubまたはDiscordよりご連絡ください。</p>
38+
<h2>{t("support.title")}</h2>
39+
<p>{t("support.msg1")}</p>
4140
</section>
4241
</>
4342
);

src/i18n/en/common.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,30 @@
8383
"noImage": "No Image Selected"
8484
}
8585
}
86+
},
87+
"infiniteClient": {
88+
"title": "Infinite Client",
89+
"description": {
90+
"msg1": "Infinite Client is a feature-rich client developed to extend your Minecraft gaming experience.",
91+
"msg2": "With comfortable operability and diverse functions, it is recommended for a wide range of users from beginners to advanced players."
92+
},
93+
"features": {
94+
"title": "Main Features",
95+
"feature1": "Lightweight and high-speed operation",
96+
"feature2": "Stylish UI",
97+
"feature3": "Integrated shortcut functions",
98+
"feature4": "Enhanced server countermeasures",
99+
"feature5": "Quick adaptation to the latest version"
100+
},
101+
"download": {
102+
"title": "Download",
103+
"msg1": "The latest version can be downloaded from the link below.",
104+
"link": "Infinite Client Download Page"
105+
},
106+
"support": {
107+
"title": "Support / Contact",
108+
"msg1": "Please contact us via GitHub or Discord for questions or bug reports."
109+
}
86110
}
87111
}
88112
}

src/i18n/ja/common.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,30 @@
8383
"noImage": "画像が選択されていません"
8484
}
8585
}
86+
},
87+
"infiniteClient": {
88+
"title": "Infinite Client",
89+
"description": {
90+
"msg1": "Infinite Clientは、Minecraftのプレイ体験を拡張するために開発された高機能なクライアントです。",
91+
"msg2": "快適な操作性と多彩な機能を備え、初心者から上級者まで幅広いユーザーにおすすめです。"
92+
},
93+
"features": {
94+
"title": "主な特徴",
95+
"feature1": "軽量かつ高速な動作",
96+
"feature2": "スタイリッシュなUI",
97+
"feature3": "統合されたショートカット機能",
98+
"feature4": "サーバー対策強化",
99+
"feature5": "最新バージョンへの迅速な対応"
100+
},
101+
"download": {
102+
"title": "ダウンロード",
103+
"msg1": "最新版のダウンロードは以下のリンクから行えます。",
104+
"link": "Infinite Client ダウンロードページ"
105+
},
106+
"support": {
107+
"title": "サポート・お問い合わせ",
108+
"msg1": "ご質問や不具合報告は、GitHubまたはDiscordよりご連絡ください。"
109+
}
86110
}
87111
}
88112
}

tsconfig.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ES2018",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -11,17 +15,28 @@
1115
"moduleResolution": "bundler",
1216
"resolveJsonModule": true,
1317
"isolatedModules": true,
14-
"jsx": "preserve",
18+
"jsx": "react-jsx",
1519
"incremental": true,
1620
"plugins": [
1721
{
1822
"name": "next"
1923
}
2024
],
2125
"paths": {
22-
"@/*": ["./src/*"]
26+
"@/*": [
27+
"./src/*"
28+
]
2329
}
2430
},
25-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next-sitemap.config.js"],
26-
"exclude": ["node_modules"]
31+
"include": [
32+
"next-env.d.ts",
33+
"**/*.ts",
34+
"**/*.tsx",
35+
".next/types/**/*.ts",
36+
"next-sitemap.config.js",
37+
".next/dev/types/**/*.ts"
38+
],
39+
"exclude": [
40+
"node_modules"
41+
]
2742
}

0 commit comments

Comments
 (0)