2024-04-05 13:12:55 +08:00
|
|
|
|
import Image from "next/image";
|
2024-04-05 15:35:01 +08:00
|
|
|
|
import Link from "next/link";
|
2024-04-06 01:08:52 +08:00
|
|
|
|
import musicSvg from "@/app/music.svg";
|
2024-04-05 13:12:55 +08:00
|
|
|
|
|
2024-04-07 01:53:46 +08:00
|
|
|
|
export default async function Home() {
|
2024-04-06 01:08:52 +08:00
|
|
|
|
return (
|
|
|
|
|
<section className="text-gray-600 body-font">
|
|
|
|
|
<div className="container mx-auto flex px-5 py-24 md:flex-row flex-col items-center">
|
|
|
|
|
<div className="lg:flex-grow md:w-1/2 lg:pr-24 md:pr-16 flex flex-col md:items-start md:text-left mb-16 md:mb-0 items-center text-center">
|
|
|
|
|
<h1 className="title-font sm:text-4xl text-3xl mb-4 font-medium text-gray-900">
|
2024-04-06 01:43:25 +08:00
|
|
|
|
搜索直播间
|
2024-04-06 01:08:52 +08:00
|
|
|
|
<br className="hidden lg:inline-block" />
|
2024-04-06 01:43:25 +08:00
|
|
|
|
同步发送歌曲歌词
|
2024-04-06 01:08:52 +08:00
|
|
|
|
</h1>
|
2024-04-05 13:12:55 +08:00
|
|
|
|
|
2024-04-06 01:08:52 +08:00
|
|
|
|
<p className="mb-8 leading-relaxed">
|
2024-04-06 01:43:25 +08:00
|
|
|
|
只需在搜索框中输入你感兴趣的歌曲名称或歌手,即可找到相关的歌词。然后,选择你喜欢的歌词段落,将其发送为弹幕,即可在视频播放时实现动态同步。这种互动方式不仅有助于分享感受,还能让观众更深入地了解你所喜爱的音乐。
|
2024-04-06 01:08:52 +08:00
|
|
|
|
</p>
|
|
|
|
|
<div className="flex justify-center">
|
|
|
|
|
<Link
|
2024-04-07 01:53:46 +08:00
|
|
|
|
href="/danmu"
|
2024-04-06 01:08:52 +08:00
|
|
|
|
className="inline-flex text-white bg-indigo-500 border-0 py-2 px-6 focus:outline-none hover:bg-indigo-600 rounded text-lg"
|
|
|
|
|
>
|
|
|
|
|
弹幕测试
|
|
|
|
|
</Link>
|
2024-04-07 01:53:46 +08:00
|
|
|
|
<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">
|
2024-04-06 01:43:25 +08:00
|
|
|
|
歌词曲库
|
2024-04-06 02:12:38 +08:00
|
|
|
|
</Link>
|
2024-04-06 01:08:52 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="lg:max-w-lg lg:w-full md:w-1/2 w-5/6">
|
|
|
|
|
<Image
|
|
|
|
|
className="object-cover object-center rounded"
|
|
|
|
|
alt="hero"
|
|
|
|
|
src={musicSvg}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
);
|
|
|
|
|
}
|