danmu-sim/app/page.tsx

42 lines
1.8 KiB
TypeScript
Raw Normal View History

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
export default 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:08:52 +08:00
<br className="hidden lg:inline-block" />
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:08:52 +08:00
</p>
<div className="flex justify-center">
<Link
href="/music"
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-06 02:12:38 +08:00
<Link href="/danmu" 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 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>
);
}