Skip to content

Commit 0a2520d

Browse files
committed
feat: upgrade to Next.js 16
1 parent 5749690 commit 0a2520d

File tree

18 files changed

+876
-606
lines changed

18 files changed

+876
-606
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ dist
123123
.yarn/install-state.gz
124124
.pnp.*
125125

126+
# pnpm
127+
.pnpm-store/
128+
126129
/.vuepress/dist/
127130

128131
# sitemap

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Try [Nexty.dev today](https://nexty.dev?utm_source=github-nextjs-starter)
1111

1212
🌍 *[English](README.md)[简体中文](README_zh.md)[日本語](README_ja.md)*
1313

14-
# Next Forge - Multilingual Next.js 15 Starter
14+
# Next Forge - Multilingual Next.js 16 Starter
1515

16-
A feature-rich Next.js 15 multilingual starter template to help you quickly build globally-ready websites.
16+
A feature-rich Next.js 16 multilingual starter template to help you quickly build globally-ready websites.
1717

1818
- [👉 Source Code](https://github.com/weijunext/nextjs-15-starter)
1919
- [👉 Live Demo](https://nextforge.dev/)
@@ -169,7 +169,7 @@ nextjs-15-starter/
169169

170170
## 🛠️ Tech Stack
171171

172-
- **Framework**: Next.js 15 (App Router)
172+
- **Framework**: Next.js 16 (App Router)
173173
- **Language**: TypeScript
174174
- **Styling**: Tailwind CSS + Shadcn/ui
175175
- **Internationalization**: next-intl

README_ja.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Nexty で SaaS を迅速に立ち上げよう - ビジュアル料金ダッシ
88

99
🌍 *[English](README.md)[简体中文](README_zh.md)[日本語](README_ja.md)*
1010

11-
# Next Forge - 多言語対応 Next.js 15 スターター
11+
# Next Forge - 多言語対応 Next.js 16 スターター
1212

1313
グローバル対応のウェブサイトを素早く構築するための、機能豊富なNext.js 15多言語スターターテンプレートです。
1414

@@ -166,7 +166,7 @@ nextjs-15-starter/
166166

167167
## 🛠️ 技術スタック
168168

169-
- **フレームワーク**: Next.js 15 (App Router)
169+
- **フレームワーク**: Next.js 16 (App Router)
170170
- **言語**: TypeScript
171171
- **スタイリング**: Tailwind CSS + Shadcn/ui
172172
- **国際化**: next-intl

README_zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
🌍 *[English](README.md)[简体中文](README_zh.md)[日本语](README_ja.md)*
1010

11-
# Next Forge - 多语言 Next.js 15 启动模板
11+
# Next Forge - 多语言 Next.js 16 启动模板
1212

13-
一个轻量的 Next.js 15 多语言启动模板,帮助你快速构建面向全球的网站。
13+
一个轻量的 Next.js 16 多语言启动模板,帮助你快速构建面向全球的网站。
1414

1515
- [👉 源码地址](https://github.com/weijunext/nextjs-15-starter)
1616
- [👉 在线预览](https://nextforge.dev/)
@@ -166,7 +166,7 @@ nextjs-15-starter/
166166

167167
## 🛠️ 技术栈
168168

169-
- **框架**: Next.js 15 (App Router)
169+
- **框架**: Next.js 16 (App Router)
170170
- **语言**: TypeScript
171171
- **样式**: Tailwind CSS + Shadcn/ui
172172
- **国际化**: next-intl

app/[locale]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default async function LocaleLayout({
5252
params,
5353
}: {
5454
children: React.ReactNode;
55-
params: { locale: string };
55+
params: Promise<{ locale: string }>;
5656
}) {
5757
const { locale } = await params;
5858

components/home/index.tsx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Button } from "@/components/ui/button";
2-
import WebsiteLogo from "@/components/WebsiteLogo";
32
import { siteConfig } from "@/config/site";
43
import { MousePointerClick } from "lucide-react";
54
import { useTranslations } from "next-intl";
@@ -71,37 +70,6 @@ export default function HomeComponent() {
7170
</Button>
7271
</div>
7372
</section>
74-
75-
<section className="py-16">
76-
<h2
77-
id="who-is-using"
78-
className="text-center text-3xl font-bold tracking-tight text-slate-900 dark:text-gray-200 mb-12"
79-
>
80-
{t("whoIsUsing")}
81-
</h2>
82-
83-
<div className="flex flex-wrap items-center justify-center gap-8">
84-
{WEBSITE_LOGO_DEMO.map((website) => (
85-
<a
86-
key={website.name}
87-
href={website.url}
88-
className="flex flex-col items-center p-4 w-[160px]"
89-
>
90-
<WebsiteLogo url={website.url} size={36} className="mb-3" />
91-
<p className="mt-3 line-clamp-2 h-[3rem] text-sm text-slate-600 dark:text-slate-400 text-center">
92-
{website.name}
93-
</p>
94-
</a>
95-
))}
96-
</div>
97-
</section>
9873
</>
9974
);
10075
}
101-
102-
const WEBSITE_LOGO_DEMO = [
103-
{ name: "J Blog", url: "https://weijunext.com/" },
104-
{ name: "OG Image Generator", url: "https://ogimage.click/" },
105-
{ name: "newTab", url: "https://ntab.dev/" },
106-
{ name: "NextJS 中文文档", url: "https://nextjscn.org/" },
107-
];

config/site.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const DISCORD_URL = process.env.NEXT_PUBLIC_DISCORD_INVITE_URL
1313

1414
export const siteConfig: SiteConfig = {
1515
name: "Next Forge",
16-
tagLine: 'Multilingual Next.js 15 Starter',
16+
tagLine: 'Multilingual Next.js 16 Starter',
1717
description:
18-
"A multilingual Next.js 15 starter with built-in i18n support. Launch your global-ready web application with a clean, efficient, and SEO-friendly foundation.",
18+
"A multilingual Next.js 16 starter with built-in i18n support. Launch your global-ready web application with a clean, efficient, and SEO-friendly foundation.",
1919
url: BASE_URL,
2020
authors: [
2121
{

content/about/en.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: About
3-
description: About Next Forge - Multilingual Next.js 15 Starter
3+
description: About Next Forge - Multilingual Next.js 16 Starter
44
lastUpdated: 2025-02-19
55
---
66

77
> Update date: 2025-02-19
88
99
# About Next Forge
1010

11-
Next Forge is a feature-rich Next.js 15 multilingual starter template designed to help developers quickly build globally-ready websites. It comes with built-in i18n support, modern UI design, dark/light theme toggling, responsive layout, MDX blog system, SEO optimization, and integrated analytics tools.
11+
Next Forge is a feature-rich Next.js 16 multilingual starter template designed to help developers quickly build globally-ready websites. It comes with built-in i18n support, modern UI design, dark/light theme toggling, responsive layout, MDX blog system, SEO optimization, and integrated analytics tools.
1212

1313
## ✨ Key Features
1414

content/about/ja.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: サイトについて
3-
description: Next Forge - 多言語対応 Next.js 15 スターターについて
3+
description: Next Forge - 多言語対応 Next.js 16 スターターについて
44
lastUpdated: 2025-02-19
55
---
66

77
> 更新日: 2025-02-19
88
99
# Next Forge について
1010

11-
Next Forge は、グローバル対応のウェブサイトを素早く構築するための、機能豊富な Next.js 15 多言語スターターテンプレートです。多言語対応、モダンな UI デザイン、ダーク/ライトテーマ切り替え、レスポンシブデザイン、MDX ブログシステム、SEO 最適化、アナリティクス統合など、多くの機能を備えています。
11+
Next Forge は、グローバル対応のウェブサイトを素早く構築するための、機能豊富な Next.js 16 多言語スターターテンプレートです。多言語対応、モダンな UI デザイン、ダーク/ライトテーマ切り替え、レスポンシブデザイン、MDX ブログシステム、SEO 最適化、アナリティクス統合など、多くの機能を備えています。
1212

1313
## ✨ 主な機能
1414

content/about/zh.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ lastUpdated: 2025-02-19
88
99
# 关于 Next Forge
1010

11-
Next Forge 是一个功能完备的 Next.js 15 多语言启动模板,旨在帮助开发者快速构建面向全球的网站。它内置了多语言支持、现代 UI 设计、深色/浅色主题切换、响应式布局、MDX 博客系统、SEO 优化以及多种统计分析工具。
11+
Next Forge 是一个功能完备的 Next.js 16 多语言启动模板,旨在帮助开发者快速构建面向全球的网站。它内置了多语言支持、现代 UI 设计、深色/浅色主题切换、响应式布局、MDX 博客系统、SEO 优化以及多种统计分析工具。
1212

1313
## ✨ 主要特性
1414

0 commit comments

Comments
 (0)