Skip to content

Commit 1c5498b

Browse files
committed
improve styling
1 parent 5ccc3bb commit 1c5498b

File tree

3 files changed

+10
-67
lines changed

3 files changed

+10
-67
lines changed

apps/landing/src/app/(detail)/components/overview/Description.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
If you want to use Devup UI Components, you need to install it.
1+
If you want to use Devup UI Components, you need to **install** it.
22

3-
```
3+
```typescript
44
npm install @devup-ui/components
55
// or
66
yarn add @devup-ui/components
@@ -10,7 +10,7 @@ pnpm add @devup-ui/components
1010

1111
You need to configure the include option for each bundler environment to properly load the `@devup-ui/components` package.
1212

13-
### using Vite
13+
# using Vite
1414

1515
```typescript
1616
//vite.config.js
@@ -27,15 +27,15 @@ export default defineConfig({
2727
});
2828
```
2929

30-
### using Next.js
30+
# using Next.js
3131

3232
```typescript
3333
// next.config.js
3434
import { DevupUI } from "@devup-ui/next-plugin";
3535
export default DevupUI({ include: ["@devup-ui/components"] });
3636
```
3737

38-
### using Rsbuild
38+
# using Rsbuild
3939

4040
```typescript
4141
// rsbuild.config.mjs
@@ -52,6 +52,4 @@ export default defineConfig({
5252
});
5353
```
5454

55-
Note: If you encounter "Cannot run on the runtime" error, make sure the include option is properly configured for your bundler.
56-
57-
### Examples
55+
Note: If you encounter `Cannot run on the runtime` error, make sure the include option is properly configured for your bundler.

apps/landing/src/app/(detail)/components/overview/page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ export default function Page() {
1919
<Text color="$text" typography="bodyReg">
2020
<Description />
2121
</Text>
22-
<VStack gap="16px" overflow="visible" py="30px">
22+
<Text color="$title" typography="h4" pt="30px">
23+
Examples
24+
</Text>
25+
<VStack gap="16px" overflow="visible" pb="30px">
2326
<Text color="$title" typography="h6">
2427
Form
2528
</Text>

ui-components.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)