Skip to content

Commit aece525

Browse files
committed
chore: integrete the demo to the website
1 parent bd536a4 commit aece525

9 files changed

Lines changed: 625 additions & 3 deletions

File tree

example/web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
.btn.success { background: #a6e3a1; color: #1e1e2e; border-color: #a6e3a1; font-weight: 600; }
7979
.btn.warning { background: #fab387; color: #1e1e2e; border-color: #fab387; font-weight: 600; }
8080
.btn.danger { background: #f38ba8; color: #1e1e2e; border-color: #f38ba8; font-weight: 600; }
81-
.event-log { max-height: 500px; overflow-y: auto; }
81+
.event-log { overflow-y: auto; }
8282
.event { padding: 8px; margin-bottom: 6px; border-radius: 6px; background: #313244; border-left: 3px solid #585b70; word-break: break-all; }
8383
.event .event-type { font-weight: 700; font-size: 11px; text-transform: uppercase; margin-bottom: 4px; }
8484
.event.formDetected { border-left-color: #89b4fa; }

pnpm-lock.yaml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tasks": {
44
"build": {
55
"dependsOn": ["^build"],
6-
"outputs": ["dist/**"]
6+
"outputs": ["dist/**", ".vitepress/dist/**"]
77
},
88
"test": {
99
"dependsOn": ["build"]

website/.vitepress/config.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default defineConfig({
1515
{ text: 'Guide', link: '/guide/getting-started' },
1616
{ text: 'API', link: '/api/' },
1717
{ text: 'Platforms', link: '/platforms/react-native' },
18+
{ text: 'Demo', link: '/demo' },
1819
],
1920

2021
sidebar: {

0 commit comments

Comments
 (0)