Reacord
-code snippet here-
Create interactive Discord messages using React and JSX.
- +reacord
++ Create interactive Discord messages using React and JSX. +
+ + Get Started + +From 88426791f070f82b9e80ef5e24ed8d7f30cca0af Mon Sep 17 00:00:00 2001
From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com>
Date: Thu, 30 Dec 2021 14:53:45 -0600
Subject: [PATCH] neat landing page
---
packages/docs/app/landing-example.mdx | 19 ++++++++
packages/docs/app/root.tsx | 38 +---------------
packages/docs/app/routes/docs.tsx | 65 +++++++++++++++++++++------
packages/docs/app/routes/index.tsx | 28 +++++++++---
4 files changed, 94 insertions(+), 56 deletions(-)
create mode 100644 packages/docs/app/landing-example.mdx
diff --git a/packages/docs/app/landing-example.mdx b/packages/docs/app/landing-example.mdx
new file mode 100644
index 0000000..aa74822
--- /dev/null
+++ b/packages/docs/app/landing-example.mdx
@@ -0,0 +1,19 @@
+{/* prettier-ignore */}
+```tsx
+import * as React from "react"
+import { Embed, Button } from "reacord"
+
+function Counter() {
+ const [count, setCount] = React.useState(0)
+ return (
+ <>
+
+
+ >
+ )
+}
+```
diff --git a/packages/docs/app/root.tsx b/packages/docs/app/root.tsx
index d401b91..b5e0f01 100644
--- a/packages/docs/app/root.tsx
+++ b/packages/docs/app/root.tsx
@@ -1,12 +1,5 @@
-import { CodeIcon } from "@heroicons/react/outline"
-import {
- DatabaseIcon,
- DocumentTextIcon,
- ExternalLinkIcon,
-} from "@heroicons/react/solid"
import type { LinksFunction, MetaFunction } from "remix"
import {
- Link,
Links,
LiveReload,
Meta,
@@ -14,9 +7,6 @@ import {
Scripts,
ScrollRestoration,
} from "remix"
-import { ExternalLink } from "~/components/external-link"
-import { HeaderLayout } from "~/components/header-layout"
-import { linkClass } from "~/styles"
import prismThemeCss from "./prism-theme.css"
export const meta: MetaFunction = () => {
@@ -48,7 +38,7 @@ export default function App() {
code snippet here-
Create interactive Discord messages using React and JSX.
- ++ Create interactive Discord messages using React and JSX. +
+ + Get Started + +