Skip to content

Commit

Permalink
docs: improve landing
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Dec 21, 2023
1 parent 895903b commit b2577cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import { Hero } from "@/components/Hero";

<div className="flex flex-col gap-8">
<div className="flex-1">
<div className="text-xl text-center font-semibold">Without `twc`:</div>
<div className="text-xl text-center font-semibold">Turn this React component:</div>

```tsx
import * as React from "react";
import clsx from "clsx";

const Card = React.forwardRef<
HTMLDivElement,
Expand All @@ -31,7 +32,7 @@ const Card = React.forwardRef<

</div>
<div className="flex-1">
<div className="text-xl text-center font-semibold">With `twc`:</div>
<div className="text-xl text-center font-semibold">Into a single line:</div>

```tsx
import { twc } from "react-twc";
Expand Down

1 comment on commit b2577cb

@vercel
Copy link

@vercel vercel bot commented on b2577cb Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

twc – ./website

twc-git-main-argos-ci.vercel.app
twc-argos-ci.vercel.app
react-twc.vercel.app

Please sign in to comment.