Compare commits

...

2 Commits

Author SHA1 Message Date
689c9a744e chore: 更新 readme 2024-04-07 05:32:17 +08:00
2224af6bb0 feat: 增加陌陌入口 2024-04-07 05:16:38 +08:00
3 changed files with 21 additions and 31 deletions

View File

@ -1,36 +1,15 @@
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). 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 ```bash
npm run dev # 安装依赖
# or pnpm i
yarn dev # 启动服务
# or
pnpm dev pnpm dev
# or
bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. 用浏览器打开 [http://localhost:3000](http://localhost:3000) 就能看到结果了!
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,8 +41,12 @@ export default async function RootLayout({
<Link href="/songs" className="mr-5 hover:text-gray-900"> <Link href="/songs" className="mr-5 hover:text-gray-900">
</Link> </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>
<Link href="/danmu" className="mr-5 hover:text-gray-900"> <Link href="/danmu" className="mr-5 hover:text-gray-900">
AI AI
@ -52,6 +56,13 @@ export default async function RootLayout({
</Link> </Link>
</nav> </nav>
<div className="join"> <div className="join">
<Link
href="https://web.immomo.com/"
target="_blank"
className="btn join-item"
>
</Link>
<AdminButton className="btn join-item" /> <AdminButton className="btn join-item" />
<TokenButton className="btn join-item" token={token} /> <TokenButton className="btn join-item" token={token} />
<SignoutButton className="btn join-item" /> <SignoutButton className="btn join-item" />

View File

@ -21,7 +21,7 @@ export default async function Home() {
href="/danmu" 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" 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>
<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"> <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">