Compare commits

..

No commits in common. "689c9a744ecee21a098b18673b79b4bd77b47320" and "eeaa7a7044dd543ad1d8386ccfd88a15bbf8cb6f" have entirely different histories.

3 changed files with 31 additions and 21 deletions

View File

@ -1,15 +1,36 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## 直播弹幕
只需在搜索框中输入你感兴趣的歌曲名称或歌手,即可找到相关的歌词。然后,选择你喜欢的歌词段落,将其发送为弹幕,即可在视频播放时实现动态同步。这种互动方式不仅有助于分享感受,还能让观众更深入地了解你所喜爱的音乐。
## Getting Started
## 如何开始
First, run the development server:
```bash
# 安装依赖
pnpm i
# 启动服务
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
用浏览器打开 [http://localhost:3000](http://localhost:3000) 就能看到结果了!
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

View File

@ -41,12 +41,8 @@ export default async function RootLayout({
<Link href="/songs" className="mr-5 hover:text-gray-900">
</Link>
<Link
target="_blank"
href="https://tachy.daoyoucloud.com/apps/danmu-sim/admin/9nzr816par6"
className="mr-5 hover:text-gray-900"
>
<Link target="_blank" href="https://tachy.daoyoucloud.com/apps/danmu-sim/admin/9nzr816par6" className="mr-5 hover:text-gray-900">
</Link>
<Link href="/danmu" className="mr-5 hover:text-gray-900">
AI
@ -56,13 +52,6 @@ export default async function RootLayout({
</Link>
</nav>
<div className="join">
<Link
href="https://web.immomo.com/"
target="_blank"
className="btn join-item"
>
</Link>
<AdminButton className="btn join-item" />
<TokenButton className="btn join-item" token={token} />
<SignoutButton className="btn join-item" />

View File

@ -21,7 +21,7 @@ export default async function Home() {
href="/danmu"
className="inline-flex text-white bg-indigo-500 border-0 py-2 px-6 focus:outline-none hover:bg-indigo-600 rounded text-lg"
>
AI
</Link>
<Link href="/songs" className="ml-4 inline-flex text-gray-700 bg-gray-100 border-0 py-2 px-6 focus:outline-none hover:bg-gray-200 rounded text-lg">