docs(www): update text

This commit is contained in:
shadcn
2023-02-07 23:12:45 +04:00
parent b386de2cfe
commit 85d5861fa2
2 changed files with 12 additions and 5 deletions

View File

@@ -17,9 +17,13 @@ export default function IndexPage() {
Beautifully designed components <br className="hidden sm:inline" />
built with Radix UI and Tailwind CSS.
</h1>
<p className="max-w-[700px] text-lg text-slate-700 dark:text-slate-400 sm:text-xl">
<p className="max-w-[750px] text-lg text-slate-700 dark:text-slate-400 sm:text-xl">
Accessible and customizable components that you can copy and paste
into your apps. Free. Open Source. And Next.js 13 Ready.
into your apps. Free. Open Source.{" "}
<span className="font-semibold">
Use this to build your own component library
</span>
.
</p>
</div>
<div className="block lg:hidden">

View File

@@ -13,15 +13,17 @@ This is **NOT** a component library.
It's a collection of re-usable components built using [Radix UI](https://radix-ui.com/) and [Tailwind CSS](https://tailwindcss.com/). It's a work in progress and I'm adding components as I need them.
**All components are compatible with Next.js 13 (Client Components).**
**All components are compatible with Next.js 13 (Client & Server Components).**
## FAQs
### What do you mean by not a component library?
I mean you do not install it as a dependency. You copy and paste the code into your project and customize to your needs. The code is yours.
I mean you do not install it as a dependency.
You can also use it as a reference to build your own components.
Pick the components you need. Copy and paste the code into your project and customize to your needs. The code is yours.
**Use this as a reference to build your own component libraries.**
### What is this based on?
@@ -79,3 +81,4 @@ But hey, let me know if you do. I'd love to see what you build.
- [Vercel](https://vercel.com) - Where I host all my projects.
- [Shu Ding](https://shud.in) - The typography styles is adapted from his work on Nextra.
- [Cal](https://cal.com) - Where I copied the styles for the first component: the `Button`.
- [cmdk](https://cmdk.paco.me) - For the `<Command />` component.