Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit 29cc161

Browse files
Merge pull request #47 from frontendweb3/docs
update the Docs #48
2 parents b36b732 + b0d5281 commit 29cc161

File tree

13 files changed

+55
-4
lines changed

13 files changed

+55
-4
lines changed

docs/public/alert.png

17.4 KB
Loading

docs/public/icons.png

19.5 KB
Loading

docs/public/separator.png

14.2 KB
Loading

docs/public/space.png

13.7 KB
Loading

docs/public/tabs.png

25.1 KB
Loading

docs/src/pages/docs/Built-ins.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import {
77
IconHighlight,
88
IconSpace,
99
IconBlockquote,
10-
IconAlertCircle,
10+
IconAlertCircle
11+
1112
} from "@tabler/icons-react"
1213

1314
The Section Theme integrates additional built-in components based on mantine UI. Components help you style your blog.
@@ -33,5 +34,10 @@ The Section Theme integrates additional built-in components based on mantine UI.
3334
title="Tabs"
3435
href="/docs/Built-ins/Tabs"
3536
/>
37+
<Card
38+
icon={ <IconSpace /> }
39+
title="Space"
40+
href="/docs/Built-ins/Tabs"
41+
/>
3642
</Cards>
3743

docs/src/pages/docs/Built-ins/Alert.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Alert
22

3+
![alert component](/alert.png)
4+
35
Section blog theme comes with Alert component, Alert component built with [shadcn/ui](https://ui.shadcn.com/docs/components/alert)
46

57
## Example

docs/src/pages/docs/Built-ins/Icons.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Icons
22

3+
![icons component](/icons.png)
4+
35
The section blog theme provides icons to use with the Alert component.
46

57
## Example

docs/src/pages/docs/Built-ins/Separator.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Separator
22

3+
![separator component](/separator.png)
4+
35
You can add Separator component inside your MDX file. The Separator component is built with [Shadcn/ui](https://ui.shadcn.com/docs/components/separator).
46

57
## Example
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Space
2+
3+
![Space component](/space.png)
4+
5+
You can add space between two element inside your MDX file. The Space component is
6+
7+
## Example
8+
9+
```javascript
10+
11+
<Space />
12+
13+
```
14+
## How to use it?
15+
16+
```javascript
17+
18+
import { Separator } from "section-blog-theme/components"
19+
20+
<Space />
21+
22+
// xs | sm | md | lg | xl | 2xl
23+
24+
<Space h={'xs'} />
25+
26+
```

0 commit comments

Comments
 (0)