Files
reacord/packages/docs/app/routes/index.tsx
2021-12-30 14:53:45 -06:00

27 lines
967 B
TypeScript

import { Link } from "remix"
import LandingExample from "~/landing-example.mdx"
export default function Landing() {
return (
<main className="flex min-w-0 min-h-screen p-4 text-center">
<div className="w-full max-w-screen-md px-4 py-6 m-auto space-y-5 rounded-lg shadow-md bg-slate-800">
<h1 className="text-6xl font-light">reacord</h1>
<div className="w-full overflow-x-auto">
<section className="mx-auto text-sm shadow w-fit sm:text-base">
<LandingExample />
</section>
</div>
<p className="px-8 text-2xl font-light">
Create interactive Discord messages using React and JSX.
</p>
<Link
to="/docs/guides/getting-started"
className="inline-block px-4 py-3 text-xl transition rounded-lg bg-emerald-700 hover:translate-y-[-2px] hover:bg-emerald-800 hover:shadow-md "
>
Get Started
</Link>
</div>
</main>
)
}