实现贴纸粒子系统,添加 HeroScene 组件,优化 Next.js 配置,更新依赖

This commit is contained in:
2026-08-31 22:06:36 +08:00
parent 77b928c442
commit 836239beca
9 changed files with 756 additions and 3 deletions
+2
View File
@@ -4,6 +4,7 @@ import "./globals.css";
import SmoothScroller from "@/components/dom/SmoothScroller";
import Header from "@/components/dom/Header";
import BackgroundGrid from "@/components/dom/BackgroundGrid";
import { HeroScene } from "@/components/canvas/HeroScene";
const tiktokSans = localFont({
src: "./fonts/TikTokSans.ttf",
@@ -37,6 +38,7 @@ export default function RootLayout({
<html lang="en" className={`${tiktokSans.variable} ${geistMono.variable} ${departureMono.variable}`}>
<body className="min-h-screen relative">
<BackgroundGrid />
<HeroScene />
<SmoothScroller />
<Header />
{children}