Skip to content

Commit 9701ba5

Browse files
committed
Fix landing docs api
1 parent 856d688 commit 9701ba5

File tree

9 files changed

+53
-53
lines changed

9 files changed

+53
-53
lines changed

apps/landing/src/app/(detail)/docs/api/box/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ By using the as prop, you can render it as another element as shown below:
6464

6565
```tsx
6666
function App() {
67-
return <span className="aa" />
67+
return <span className="a" />
6868
}
6969
```
7070

7171
```css
72-
.aa {
72+
.a {
7373
background: red;
7474
}
7575
```

apps/landing/src/app/(detail)/docs/api/button/page.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ The Button component defined above will render like this:
2929
```tsx
3030
function App() {
3131
return (
32-
<button className="aa ab ac" onClick="alert('clicked!!')">
32+
<button className="a b c" onClick="alert('clicked!!')">
3333
click me
3434
</button>
3535
)
3636
}
3737
```
3838

3939
```css
40-
.aa {
40+
.a {
4141
background: red;
4242
}
43-
.ab {
43+
.b {
4444
width: 100px;
4545
}
46-
.ac {
46+
.c {
4747
height: 100px;
4848
}
4949
```

apps/landing/src/app/(detail)/docs/api/center/page.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,35 @@ The Center component defined above will render like this:
3232
```tsx
3333
function App() {
3434
return (
35-
<div className="ae af ag">
36-
<div className="aa ab ac"></div>
37-
<div className="aa ab ac a-d"></div>
38-
<div className="aa ab ac"></div>
35+
<div className="e f g">
36+
<div className="a b c"></div>
37+
<div className="a b c d"></div>
38+
<div className="a b c"></div>
3939
</div>
4040
)
4141
}
4242
```
4343

4444
```css
45-
.aa {
45+
.a {
4646
background: blue;
4747
}
48-
.ab {
48+
.b {
4949
height: 100px;
5050
}
51-
.ac {
51+
.c {
5252
width: 100px;
5353
}
54-
.a-d {
54+
.d {
5555
display: flex;
5656
}
57-
.ae {
57+
.e {
5858
display: flex;
5959
}
60-
.af {
60+
.f {
6161
justify-content: center;
6262
}
63-
.ag {
63+
.g {
6464
align-items: center;
6565
}
6666
```

apps/landing/src/app/(detail)/docs/api/css/page.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ The content above is rendered/transformed as shown below:
3737

3838
```tsx
3939
function App() {
40-
return <div className="aa ab ac" />
40+
return <div className="a b c" />
4141
}
4242
```
4343

4444
```css
45-
.aa {
45+
.a {
4646
background: red;
4747
}
48-
.ab {
48+
.b {
4949
width: 100px;
5050
}
51-
.ac {
51+
.c {
5252
height: 100px;
5353
}
5454
```
@@ -77,18 +77,18 @@ The content above is rendered/transformed as shown below:
7777

7878
```tsx
7979
function App() {
80-
return <div className="aa ab ac" />
80+
return <div className="a b c" />
8181
}
8282
```
8383

8484
```css
85-
.aa {
85+
.a {
8686
background: red;
8787
}
88-
.ab {
88+
.b {
8989
width: 100px;
9090
}
91-
.ac {
91+
.c {
9292
height: 100px;
9393
}
9494
```

apps/landing/src/app/(detail)/docs/api/flex/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ The Flex component defined above will render like this:
2626

2727
```tsx
2828
function App() {
29-
return <div className="aa" />
29+
return <div className="a" />
3030
}
3131
```
3232

3333
```css
34-
.aa {
34+
.a {
3535
display: flex;
3636
}
3737
```

apps/landing/src/app/(detail)/docs/api/grid/page.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,26 @@ The Grid component defined above will render like this:
3333
```tsx
3434
function App() {
3535
return (
36-
<div className="a-d">
37-
<div className="aa ab ac"></div>
38-
<div className="aa ab ac"></div>
39-
<div className="aa ab ac"></div>
36+
<div className="d">
37+
<div className="a b c"></div>
38+
<div className="a b c"></div>
39+
<div className="a b c"></div>
4040
</div>
4141
)
4242
}
4343
```
4444

4545
```css
46-
.aa {
46+
.a {
4747
background: blue;
4848
}
49-
.ab {
49+
.b {
5050
height: 100px;
5151
}
52-
.ac {
52+
.c {
5353
width: 100px;
5454
}
55-
.a-d {
55+
.d {
5656
display: grid;
5757
}
5858
```

apps/landing/src/app/(detail)/docs/api/input/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ The Input component defined above will render like this:
2626

2727
```tsx
2828
function App() {
29-
return <input className="aa" />
29+
return <input className="a" />
3030
}
3131
```
3232

3333
```css
34-
.aa {
34+
.a {
3535
border: 3px solid black;
3636
}
3737
```

apps/landing/src/app/(detail)/docs/api/text/page.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ The Text component defined above will render like this:
3030

3131
```tsx
3232
function App() {
33-
return <span className="aa ab">This is Text component.</span>
33+
return <span className="a b">This is Text component.</span>
3434
}
3535
```
3636

3737
```css
38-
.aa {
38+
.a {
3939
color: red;
4040
}
41-
.ab {
41+
.b {
4242
font-size: 24px;
4343
}
4444
```
@@ -63,15 +63,15 @@ The Text component defined above will render like this:
6363

6464
```tsx
6565
function App() {
66-
return <p className="aa ab">This is Text component.</p>
66+
return <p className="a b">This is Text component.</p>
6767
}
6868
```
6969

7070
```css
71-
.aa {
71+
.a {
7272
color: red;
7373
}
74-
.ab {
74+
.b {
7575
font-size: 24px;
7676
}
7777
```

apps/landing/src/app/(detail)/docs/api/v-stack/page.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,32 +33,32 @@ The VStack component defined above will render like this:
3333
```tsx
3434
function App() {
3535
return (
36-
<div className="ae af">
37-
<div className="aa ab ac"></div>
38-
<div className="aa ab ac a-d"></div>
39-
<div className="aa ab ac"></div>
36+
<div className="e f">
37+
<div className="a b c"></div>
38+
<div className="a b c d"></div>
39+
<div className="a b c"></div>
4040
</div>
4141
)
4242
}
4343
```
4444

4545
```css
46-
.aa {
46+
.a {
4747
background: blue;
4848
}
49-
.ab {
49+
.b {
5050
height: 100px;
5151
}
52-
.ac {
52+
.c {
5353
width: 100px;
5454
}
55-
.a-d {
55+
.d {
5656
display: flex;
5757
}
58-
.ae {
58+
.e {
5959
display: flex;
6060
}
61-
af {
61+
.f {
6262
flex-direction: column;
6363
}
6464
```

0 commit comments

Comments
 (0)