nextjs-test/app/page.tsx

30 lines
760 B
TypeScript

import Link from "next/link";
export default function Home() {
return (
<>
<div className="flex">
<Link
href="/draw-io"
className="m-4 cursor-pointer rounded-md bg-blue-500 p-2 text-white"
>
Draw.io
</Link>
<Link
href="/unity"
className="m-4 cursor-pointer rounded-md bg-blue-500 p-2 text-white"
>
Unity
</Link>
<Link
href={`/json-placeholder/${Math.floor(Math.random() * (200 - 1)) + 1}`}
className="m-4 cursor-pointer rounded-md bg-blue-500 p-2 text-white"
>
JSON Placeholder
</Link>
</div>
<p>Next.js tailwind css, ... </p>
</>
);
}