Skip to content

Commit 892b392

Browse files
committed
updated to new docs
1 parent fede845 commit 892b392

File tree

11 files changed

+51
-23
lines changed

11 files changed

+51
-23
lines changed

app/(docs)/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export async function generateMetadata({ params }: IProps): Promise<Metadata> {
3232

3333
return {
3434
title: `${doc.title} | Retro UI`,
35-
description: doc.description
35+
description: doc.description,
3636
};
3737
}
3838

components/ComponentShowcase.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function ComponentShowcase({ name, children }: IComponentShowcase) {
1313

1414
return (
1515
<TabGroup>
16-
<TabList className="space-x-4 mb-4">
16+
<TabList className="space-x-4 ">
1717
<Tab className="text-lg px-1 border-black data-[selected]:border-b-2">
1818
Preview
1919
</Tab>
@@ -23,7 +23,7 @@ export function ComponentShowcase({ name, children }: IComponentShowcase) {
2323
</TabList>
2424
<TabPanels>
2525
<TabPanel>
26-
<div className="border rounded p-6">
26+
<div className="border rounded p-6 mt-4">
2727
<Preview />
2828
</div>
2929
</TabPanel>

content/docs/components/accordion.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
2-
title: Default Accordion
2+
title: Accordion
33
description: This collapsible component let's your users read only the content they care about. 😌
4-
lastUpdated: 7 Oct, 2024
4+
lastUpdated: 08 Oct, 2024
55
---
66

7+
### Default
8+
9+
<hr />
10+
<br />
711
<ComponentShowcase name="accordion-style-default" />

content/docs/components/avatar.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
2-
title: Default Avatar
2+
title: Avatar
33
description: Default rounded avatar that can show your users profile picture. ✨
4-
lastUpdated: 7 Oct, 2024
4+
lastUpdated: 08 Oct, 2024
55
---
66

7-
<ComponentShowcase name="avatar-style-circle" />
7+
### Circle
8+
9+
<hr />
10+
<br />
11+
<ComponentShowcase name="avatar-style-circle" />

content/docs/components/badge.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
---
22
title: Badge
33
description: The component that looks like a button but isn't clickable!
4-
lastUpdated: 7 Oct, 2024
4+
lastUpdated: 08 Oct, 2024
55
---
66

7-
## Default
7+
### Default
88

99
<hr />
1010
<br />
1111
<ComponentShowcase name="badge-style-default" />
1212
<br />
1313
<br />
1414

15-
## Success
15+
### Success
1616

1717
<hr />
1818
<br />
1919
<ComponentShowcase name="badge-style-success" />
2020
<br />
2121
<br />
2222

23-
## Error
23+
### Error
2424

2525
<hr />
2626
<br />
2727
<ComponentShowcase name="badge-style-error" />
2828
<br />
2929
<br />
3030

31-
## Filled
31+
### Filled
3232

3333
<hr />
3434
<br />

content/docs/components/button.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
2-
title: Default Button
2+
title: Button
33
description: This bold button makes sure your users click on it and perform the actions you want! 🚀
44
lastUpdated: 30 Sep, 2024
55
---
66

7-
<ComponentShowcase name="button-style-default" />
7+
### Default
8+
9+
<hr />
10+
<br />
11+
<ComponentShowcase name="button-style-default" />

content/docs/components/card.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
2-
title: Default Card
2+
title: Card
33
description: A customizable card component to visualize your content. 📝
4-
lastUpdated: 7 Oct, 2024
4+
lastUpdated: 8 Oct, 2024
55
---
66

7-
<ComponentShowcase name="card-style-default" />
7+
### Title with description
8+
9+
<hr />
10+
<br />
11+
<ComponentShowcase name="card-style-default" />

content/docs/components/input.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
2-
title: Default Input
2+
title: Input
33
description: This pretty input makes your users want to type stuff! ⌨️
4-
lastUpdated: 07 Oct, 2024
4+
lastUpdated: 08 Oct, 2024
55
---
66

7+
### Default
8+
9+
<hr />
10+
<br />
711
<ComponentShowcase name="input-style-default" />

content/docs/components/tab.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ description: Switch between different views using tabs.
44
lastUpdated: 08 Oct, 2024
55
---
66

7+
### Default
8+
9+
<hr />
10+
<br />
711
<ComponentShowcase name="tab-style-default" />

content/docs/components/textarea.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
2-
title: Default Textarea
2+
title: Textarea
33
description: This pretty input makes your users want to type lots of stuff! ⌨️ ⌨️
4-
lastUpdated: 07 Oct, 2024
4+
lastUpdated: 08 Oct, 2024
55
---
66

7+
### Default
8+
9+
<hr />
10+
<br />
711
<ComponentShowcase name="textarea-style-default" />

0 commit comments

Comments
 (0)