Skip to content

Commit 926df70

Browse files
committed
docs: update typo
1 parent 2012147 commit 926df70

File tree

8 files changed

+25
-18
lines changed

8 files changed

+25
-18
lines changed

content/blocks/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Copy and paste blocks for your React app
44
---
55

66
Beautifully designed blocks that you can copy and paste into your apps. Accessible. Customizable. Open Source, crafted with Tailwind CSS, fully responsive.
7-
If you think it's missing a block, please [open an issue](https://github.com/mehdibha/rcopy/issues/new).
7+
If you think it's missing a block, please [open a discussion](https://github.com/mehdibha/rcopy/discussions/new?category=requests).
88

99
## Marketing
1010

content/components/index.mdx

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ title: Components
33
description: Copy and paste components for your React app
44
---
55

6-
Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source, crafted with Tailwind CSS, fully responsive. We use [shadcn-ui](https://github.com/shadcn-ui/ui) as our core components.
7-
If you think it's missing a component, please [open an issue](https://github.com/mehdibha/rcopy/issues/new).
6+
Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source, crafted with Tailwind CSS, fully responsive.
7+
If you think it's missing a component, please [open a discussion](https://github.com/mehdibha/rcopy/discussions/new?category=requests).
8+
9+
**Credits:** [shadcn-ui](https://ui.shadcn.com), [radix-ui](https://radix-ui.com)
810

911
## Inputs
1012

content/docs/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ In other words, sometimes copy and paste can be better than using the wrong abst
3434
- **Ownership**: You own the code and can modify it as you wish.
3535

3636
## Credits
37-
- [shadcn ui](https://ui.shadcn.com) - for the core components.
38-
- [radix ui](https://ui.shadcn.com) - for the primitives.
37+
- [shadcn/ui](https://ui.shadcn.com) - for the core components.
38+
- [radix-ui](https://ui.shadcn.com) - for the primitives.
3939
- [vercel](https://ui.shadcn.com) - where I host all my projects.

content/hooks/index.mdx

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ title: Hooks
33
description: Copy and paste hooks for your React app
44
---
55

6-
A collection of modern, server-safe React hooks, most of them are inspired by [usehooks](https://github.com/uidotdev/usehooks), [useHooks-ts](https://github.com/juliencrn/usehooks-ts) and [react-use](https://github.com/streamich/react-use).
7-
If you think it's missing a hook, please [open an issue](https://github.com/mehdibha/rcopy/issues/new).
6+
A collection of modern, server-safe React hooks.
7+
If you think it's missing a hook, please [open a discussion](https://github.com/mehdibha/rcopy/discussions/new?category=requests).
8+
9+
**Credits:** [usehooks](https://github.com/uidotdev/usehooks), [useHooks-ts](https://github.com/juliencrn/usehooks-ts)
810

911
## Elements
1012

content/icons/index.mdx

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ title: Icons
33
description: Copy and paste icons for your React app
44
---
55

6-
Beautiful icons for your React app. Copy and paste the icons you need. Credits to [Lucide icons](https://github.com/lucide-icons/lucide) and [Simple icons](https://github.com/simple-icons/simple-icons) for brands icons.
7-
If you think it's missing another icon library, please [open an issue](https://github.com/mehdibha/rcopy/issues/new).
6+
Beautiful icons for your React app. Copy and paste the icons you need.
7+
If you think it's missing another icon library, please [open a discussion](https://github.com/mehdibha/rcopy/discussions/new?category=requests).
8+
9+
**Credits:** [Lucide icons](https://github.com/lucide-icons/lucide) and [Simple icons](https://github.com/simple-icons/simple-icons) for brands icons.
10+
811

912
<IconsExplorer libraries={["simple-icons", "lucide-icons"]} />

scripts/build-docs-config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const docsConfig: DocsConfig = {
7979
slug: "blocks",
8080
items: [
8181
{
82-
title: "All blocks",
82+
title: "Overview",
8383
href: "/blocks",
8484
},
8585
{
@@ -101,7 +101,7 @@ const docsConfig: DocsConfig = {
101101
slug: "hooks",
102102
items: [
103103
{
104-
title: "All hooks",
104+
title: "Overview",
105105
href: "/hooks",
106106
},
107107
{
@@ -131,7 +131,7 @@ const docsConfig: DocsConfig = {
131131
slug: "icons",
132132
items: [
133133
{
134-
title: "All icons",
134+
title: "Overview",
135135
href: "/icons",
136136
},
137137
...getCategoryItems("icons"),
@@ -142,7 +142,7 @@ const docsConfig: DocsConfig = {
142142
slug: "templates",
143143
items: [
144144
{
145-
title: "All templates",
145+
title: "Overview",
146146
href: "/templates",
147147
},
148148
],

src/components/mdx/mdx-components.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const components = {
8787
),
8888
a: Link,
8989
p: ({ className, ...props }: ComponentProps<"p">) => (
90-
<p className={cn("leading-7 [&:not(:first-child)]:mt-6", className)} {...props} />
90+
<p className={cn("leading-7 [&:not(:first-child)]:mt-4", className)} {...props} />
9191
),
9292
ul: ({ className, ...props }: ComponentProps<"ul">) => (
9393
<ul className={cn("my-6 ml-6 list-disc", className)} {...props} />

src/config/docs-config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export const docsConfig: DocsConfig = {
121121
title: "Blocks",
122122
slug: "blocks",
123123
items: [
124-
{ title: "All blocks", href: "/blocks" },
124+
{ title: "Overview", href: "/blocks" },
125125
{
126126
title: "Marketing",
127127
items: [{ title: "Pricing page", href: "/blocks/marketing/pages/pricing" }],
@@ -134,7 +134,7 @@ export const docsConfig: DocsConfig = {
134134
title: "Hooks",
135135
slug: "hooks",
136136
items: [
137-
{ title: "All hooks", href: "/hooks" },
137+
{ title: "Overview", href: "/hooks" },
138138
{
139139
title: "Browser",
140140
items: [{ title: "useMediaQuery", href: "/hooks/browser/use-media-query" }],
@@ -175,11 +175,11 @@ export const docsConfig: DocsConfig = {
175175
},
176176
],
177177
},
178-
{ title: "Icons", slug: "icons", items: [{ title: "All icons", href: "/icons" }] },
178+
{ title: "Icons", slug: "icons", items: [{ title: "Overview", href: "/icons" }] },
179179
{
180180
title: "Templates",
181181
slug: "templates",
182-
items: [{ title: "All templates", href: "/templates" }],
182+
items: [{ title: "Overview", href: "/templates" }],
183183
},
184184
],
185185
};

0 commit comments

Comments
 (0)