create-rue 0.0.7 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,19 +13,19 @@
13
13
  "format-check": "oxfmt --check ."
14
14
  },
15
15
  "dependencies": {
16
- "@rue-js/jsx-runtime": "^0.0.32",
17
- "@rue-js/runtime": "^0.0.32",
18
- "@rue-js/router": "^0.0.32",
19
- "@rue-js/rue": "^0.0.32",
20
- "@rue-js/runtime-vapor": "^0.0.32",
16
+ "@rue-js/jsx-runtime": "^0.0.33",
17
+ "@rue-js/runtime": "^0.0.33",
18
+ "@rue-js/router": "^0.0.33",
19
+ "@rue-js/rue": "^0.0.33",
20
+ "@rue-js/runtime-vapor": "^0.0.33",
21
21
  "oxfmt": "^0.42.0",
22
22
  "oxlint": "^1.57.0",
23
23
  "daisyui": "^5.5.11"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@swc/core": "^1.15.3",
27
- "@rue-js/jsx-dev-runtime": "^0.0.32",
28
- "@rue-js/vite-plugin-rue": "^0.0.32",
27
+ "@rue-js/jsx-dev-runtime": "^0.0.33",
28
+ "@rue-js/vite-plugin-rue": "^0.0.33",
29
29
  "typescript": "^5.9.3",
30
30
  "vite": "^8.0.3",
31
31
  "@tailwindcss/typography": "^0.5.19",
@@ -9,20 +9,20 @@ importers:
9
9
  .:
10
10
  dependencies:
11
11
  '@rue-js/jsx-runtime':
12
- specifier: ^0.0.30
13
- version: 0.0.30(typescript@5.9.3)
12
+ specifier: ^0.0.33
13
+ version: 0.0.33(typescript@5.9.3)
14
14
  '@rue-js/router':
15
- specifier: ^0.0.30
16
- version: 0.0.30(typescript@5.9.3)
15
+ specifier: ^0.0.33
16
+ version: 0.0.33(typescript@5.9.3)
17
17
  '@rue-js/rue':
18
- specifier: ^0.0.30
19
- version: 0.0.30(typescript@5.9.3)
18
+ specifier: ^0.0.33
19
+ version: 0.0.33(typescript@5.9.3)
20
20
  '@rue-js/runtime':
21
- specifier: ^0.0.30
22
- version: 0.0.30(typescript@5.9.3)
21
+ specifier: ^0.0.33
22
+ version: 0.0.33(typescript@5.9.3)
23
23
  '@rue-js/runtime-vapor':
24
- specifier: ^0.0.30
25
- version: 0.0.30
24
+ specifier: ^0.0.33
25
+ version: 0.0.33
26
26
  daisyui:
27
27
  specifier: ^5.5.11
28
28
  version: 5.5.19
@@ -34,11 +34,11 @@ importers:
34
34
  version: 1.57.0
35
35
  devDependencies:
36
36
  '@rue-js/jsx-dev-runtime':
37
- specifier: ^0.0.30
38
- version: 0.0.30(typescript@5.9.3)
37
+ specifier: ^0.0.33
38
+ version: 0.0.33(typescript@5.9.3)
39
39
  '@rue-js/vite-plugin-rue':
40
- specifier: ^0.0.30
41
- version: 0.0.30(typescript@5.9.3)
40
+ specifier: ^0.0.33
41
+ version: 0.0.33(typescript@5.9.3)
42
42
  '@swc/core':
43
43
  specifier: ^1.15.3
44
44
  version: 1.15.21
@@ -439,37 +439,37 @@ packages:
439
439
  '@rolldown/pluginutils@1.0.0-rc.12':
440
440
  resolution: {integrity: sha512-HHMwmarRKvoFsJorqYlFeFRzXZqCt2ETQlEDOb9aqssrnVBB1/+xgTGtuTrIk5vzLNX1MjMtTf7W9z3tsSbrxw==}
441
441
 
442
- '@rue-js/jsx-dev-runtime@0.0.30':
443
- resolution: {integrity: sha512-GdqrDFa8KnZm2xRg869FVOtiTPh/tzuIi70zGTwJGgAhQ9iCmuGsZy2Rs7Ay2ksXY5GwZ5i190UinCK1rmMU1A==}
442
+ '@rue-js/jsx-dev-runtime@0.0.33':
443
+ resolution: {integrity: sha512-GlqCBaa8WDAaegq1p2VxMDp+Leym7Ty+HU9P9ROF3lz1lN9iT5S4f1oCe6/Xcm3+B1eQEiaBNu/2X0QCHrPvUQ==}
444
444
 
445
- '@rue-js/jsx-runtime@0.0.30':
446
- resolution: {integrity: sha512-BFbgC5Rkd7ksRVtWnAuW+jdGwOcELwViYziQB4yMquGh6bZwre5y0wXiSHfNxE0VBRHnim4GtqmXzCz1FpC6rA==}
445
+ '@rue-js/jsx-runtime@0.0.33':
446
+ resolution: {integrity: sha512-V0nybkNTwybZZcNGUVBmE+/DwYrHvYhL8Mf1kBm6Qjzr7rprnib7obFKsqZqE7PrJmIYKRbGbzLTEiqg48MkRw==}
447
447
 
448
- '@rue-js/router@0.0.30':
449
- resolution: {integrity: sha512-P//uoQb1KA/FH1yWsCVxf2sJ/fSJuIx9X+awvTneRRiAvqk5f6bwDiITIcUqdv1zah1/oSdqFr/6HkBpC5N/EA==}
448
+ '@rue-js/router@0.0.33':
449
+ resolution: {integrity: sha512-fgyggZxjcXpkFReAVT2obWP2TP4dqbbzzttvzBEkUEt7QtnvicI4DZh0TX/g1muN4odtzxl+q0qrnBT8uROC6w==}
450
450
 
451
- '@rue-js/rue@0.0.30':
452
- resolution: {integrity: sha512-4My32Iq3NGASiroKdLvskx46MiOx1ofbnyCTtBqUJ331G/Fosq2CxMPF6K0RfPV6VDAiCM0OhBBLgyHPhBDBEA==}
451
+ '@rue-js/rue@0.0.33':
452
+ resolution: {integrity: sha512-jfCjuBZI4axs287OiIiHDRh105uQstpVQYzzLcmw5XiJGlVzqdTq6wM4CBRxMxNGgnNPBwJvoPpVQ+8aqSanwg==}
453
453
  peerDependencies:
454
454
  typescript: '*'
455
455
  peerDependenciesMeta:
456
456
  typescript:
457
457
  optional: true
458
458
 
459
- '@rue-js/runtime-vapor@0.0.30':
460
- resolution: {integrity: sha512-4IyNTaRRdq5VdWF7dIGaiGUyHGat+ByJdyZUOVSYuBpQUbiNn7uXCZB6GJ6/eu8N4vw0uqbChzb3VI6Avi71ZA==}
459
+ '@rue-js/runtime-vapor@0.0.33':
460
+ resolution: {integrity: sha512-Jl83+FGh7XRbCM2DZsZOxDX1W5Tyxvxh/0K/Ex0pvnC/9pABVM17p6jtgzOkoVxuenPxXalnn8fzhipjsFWq8Q==}
461
461
 
462
- '@rue-js/runtime@0.0.30':
463
- resolution: {integrity: sha512-iGlbhmrKFxBdPxF+J5XAprLHE6rqwJqNo5dEhhGlrpKB7rsqEl7F/kRzo7tjtRIXArjrIISlnlTqO+kZjpwMVQ==}
462
+ '@rue-js/runtime@0.0.33':
463
+ resolution: {integrity: sha512-agL3S4f3xNL7fagLG5AcrM5dlC4WmEAFUl7AYkFlGrIuvA9GrSp9enKHoikaOCUG3ph6OQNY0YbRJ9/wYWzBwQ==}
464
464
 
465
- '@rue-js/shared@0.0.30':
466
- resolution: {integrity: sha512-FVKcUNOIvtkN6CuHvi6478ZXXbJFHwU7LakNERKtKS70mfTAek2HZy2NfMMmeATGOGZmSdJJA8Agjvn7AwzElQ==}
465
+ '@rue-js/shared@0.0.33':
466
+ resolution: {integrity: sha512-7R3Beg6NTiZ4bPRQHivdb81GzHf3wDNJUjEtyZHtkABELS1ap/yV8tdAiKL8Hfplsok+SNYpiaaAmp2xKoihYA==}
467
467
 
468
- '@rue-js/swc-plugin-rue@0.0.30':
469
- resolution: {integrity: sha512-jIR6KcdAiF6abKwn4q8/wLpDGw5t+9MgeACKOxTUuYTSOnSVKQtCafTxupaEolp84QEN+0rTC/1Jg1gfOQ/DEQ==}
468
+ '@rue-js/swc-plugin-rue@0.0.33':
469
+ resolution: {integrity: sha512-Xw+jokLM4dDP0Sq6+dBPG9LURcZUHzTf/gN/Bk33uy3mR0mxWmiEAMyB5hqDHQY0G0DdzvvuzaQQWWTX5LMpjg==}
470
470
 
471
- '@rue-js/vite-plugin-rue@0.0.30':
472
- resolution: {integrity: sha512-BubpAcj/HVEyfoLTAkKBRZa/tz8cg/BHhWTcqZ2ZfOi8GPV1esaV+7P4qL7S4SuEhYkSHxV9C42huv9d4WDLKA==}
471
+ '@rue-js/vite-plugin-rue@0.0.33':
472
+ resolution: {integrity: sha512-jONy9UFT4sw9xqYE9JsUNKbJQBGUsge40obnOiQQEo2apo+mqVu7KFu0x2k65E4s/uXpgCrOuPNmFNp657WxIQ==}
473
473
 
474
474
  '@swc/core-darwin-arm64@1.15.21':
475
475
  resolution: {integrity: sha512-SA8SFg9dp0qKRH8goWsax6bptFE2EdmPf2YRAQW9WoHGf3XKM1bX0nd5UdwxmC5hXsBUZAYf7xSciCler6/oyA==}
@@ -1119,50 +1119,50 @@ snapshots:
1119
1119
 
1120
1120
  '@rolldown/pluginutils@1.0.0-rc.12': {}
1121
1121
 
1122
- '@rue-js/jsx-dev-runtime@0.0.30(typescript@5.9.3)':
1122
+ '@rue-js/jsx-dev-runtime@0.0.33(typescript@5.9.3)':
1123
1123
  dependencies:
1124
- '@rue-js/rue': 0.0.30(typescript@5.9.3)
1124
+ '@rue-js/rue': 0.0.33(typescript@5.9.3)
1125
1125
  transitivePeerDependencies:
1126
1126
  - typescript
1127
1127
 
1128
- '@rue-js/jsx-runtime@0.0.30(typescript@5.9.3)':
1128
+ '@rue-js/jsx-runtime@0.0.33(typescript@5.9.3)':
1129
1129
  dependencies:
1130
- '@rue-js/rue': 0.0.30(typescript@5.9.3)
1130
+ '@rue-js/rue': 0.0.33(typescript@5.9.3)
1131
1131
  transitivePeerDependencies:
1132
1132
  - typescript
1133
1133
 
1134
- '@rue-js/router@0.0.30(typescript@5.9.3)':
1134
+ '@rue-js/router@0.0.33(typescript@5.9.3)':
1135
1135
  dependencies:
1136
- '@rue-js/rue': 0.0.30(typescript@5.9.3)
1136
+ '@rue-js/rue': 0.0.33(typescript@5.9.3)
1137
1137
  transitivePeerDependencies:
1138
1138
  - typescript
1139
1139
 
1140
- '@rue-js/rue@0.0.30(typescript@5.9.3)':
1140
+ '@rue-js/rue@0.0.33(typescript@5.9.3)':
1141
1141
  dependencies:
1142
- '@rue-js/runtime': 0.0.30(typescript@5.9.3)
1143
- '@rue-js/shared': 0.0.30
1142
+ '@rue-js/runtime': 0.0.33(typescript@5.9.3)
1143
+ '@rue-js/shared': 0.0.33
1144
1144
  optionalDependencies:
1145
1145
  typescript: 5.9.3
1146
1146
 
1147
- '@rue-js/runtime-vapor@0.0.30': {}
1147
+ '@rue-js/runtime-vapor@0.0.33': {}
1148
1148
 
1149
- '@rue-js/runtime@0.0.30(typescript@5.9.3)':
1149
+ '@rue-js/runtime@0.0.33(typescript@5.9.3)':
1150
1150
  dependencies:
1151
- '@rue-js/rue': 0.0.30(typescript@5.9.3)
1152
- '@rue-js/runtime-vapor': 0.0.30
1153
- '@rue-js/shared': 0.0.30
1151
+ '@rue-js/rue': 0.0.33(typescript@5.9.3)
1152
+ '@rue-js/runtime-vapor': 0.0.33
1153
+ '@rue-js/shared': 0.0.33
1154
1154
  csstype: 3.2.3
1155
1155
  transitivePeerDependencies:
1156
1156
  - typescript
1157
1157
 
1158
- '@rue-js/shared@0.0.30': {}
1158
+ '@rue-js/shared@0.0.33': {}
1159
1159
 
1160
- '@rue-js/swc-plugin-rue@0.0.30': {}
1160
+ '@rue-js/swc-plugin-rue@0.0.33': {}
1161
1161
 
1162
- '@rue-js/vite-plugin-rue@0.0.30(typescript@5.9.3)':
1162
+ '@rue-js/vite-plugin-rue@0.0.33(typescript@5.9.3)':
1163
1163
  dependencies:
1164
- '@rue-js/rue': 0.0.30(typescript@5.9.3)
1165
- '@rue-js/swc-plugin-rue': 0.0.30
1164
+ '@rue-js/rue': 0.0.33(typescript@5.9.3)
1165
+ '@rue-js/swc-plugin-rue': 0.0.33
1166
1166
  transitivePeerDependencies:
1167
1167
  - typescript
1168
1168
 
@@ -1,433 +1,44 @@
1
- :root {
2
- color-scheme: dark;
3
- font-family:
4
- Inter,
5
- ui-sans-serif,
6
- system-ui,
7
- -apple-system,
8
- BlinkMacSystemFont,
9
- 'Segoe UI',
10
- sans-serif;
11
- background:
12
- radial-gradient(circle at top, rgba(124, 58, 237, 0.18), transparent 32%),
13
- linear-gradient(180deg, #0f1220 0%, #090b14 100%);
14
- color: #f4f7fb;
15
- }
16
-
17
- * {
18
- box-sizing: border-box;
19
- }
20
-
21
- html,
22
- body,
23
- #app {
24
- min-height: 100%;
25
- margin: 0;
26
- }
27
-
28
- body {
29
- background: transparent;
30
- }
31
-
32
- a {
33
- color: inherit;
34
- text-decoration: none;
35
- }
36
-
37
- pre,
38
- code {
39
- font-family:
40
- 'SFMono-Regular',
41
- ui-monospace,
42
- 'Cascadia Code',
43
- 'Source Code Pro',
44
- Menlo,
45
- monospace;
46
- }
47
-
48
- .site-frame {
49
- min-height: 100vh;
50
- }
51
-
52
- .shell {
53
- width: min(1120px, calc(100vw - 48px));
54
- margin: 0 auto;
55
- }
56
-
57
- .site-header {
58
- position: sticky;
59
- top: 0;
60
- z-index: 10;
61
- backdrop-filter: blur(18px);
62
- background: rgba(9, 11, 20, 0.65);
63
- border-bottom: 1px solid rgba(255, 255, 255, 0.08);
64
- }
65
-
66
- .header-inner,
67
- .footer-inner {
68
- display: flex;
69
- align-items: center;
70
- justify-content: space-between;
71
- gap: 24px;
72
- padding: 18px 0;
73
- }
74
-
75
- .brand {
76
- display: inline-flex;
77
- align-items: center;
78
- gap: 14px;
79
- }
80
-
81
- .brand-mark {
82
- display: inline-flex;
83
- align-items: center;
84
- justify-content: center;
85
- width: 44px;
86
- height: 44px;
87
- border-radius: 14px;
88
- background: linear-gradient(135deg, #7c3aed, #d946ef 55%, #ec4899);
89
- color: white;
90
- font-size: 24px;
91
- font-weight: 800;
92
- box-shadow: 0 16px 40px rgba(217, 70, 239, 0.28);
93
- }
94
-
95
- .brand-copy {
96
- display: flex;
97
- flex-direction: column;
98
- gap: 3px;
99
- }
100
-
101
- .brand-title {
102
- font-size: 18px;
103
- font-weight: 700;
104
- }
105
-
106
- .brand-subtitle {
107
- font-size: 12px;
108
- color: rgba(244, 247, 251, 0.68);
109
- }
110
-
111
- .main-nav {
112
- display: flex;
113
- flex-wrap: wrap;
114
- gap: 10px;
115
- }
116
-
117
- .nav-link {
118
- padding: 10px 14px;
119
- border-radius: 999px;
120
- color: rgba(244, 247, 251, 0.72);
121
- transition:
122
- background-color 0.2s ease,
123
- color 0.2s ease,
124
- transform 0.2s ease;
125
- }
126
-
127
- .nav-link:hover,
128
- .nav-link.is-active {
129
- color: white;
130
- background: rgba(255, 255, 255, 0.08);
131
- transform: translateY(-1px);
132
- }
133
-
134
- .site-main {
135
- padding: 48px 0 72px;
136
- }
137
-
138
- .page-stack {
139
- display: flex;
140
- flex-direction: column;
141
- gap: 28px;
142
- }
143
-
144
- .hero-card,
145
- .split-card,
146
- .content-card,
147
- .table-card,
148
- .info-card {
149
- border: 1px solid rgba(255, 255, 255, 0.08);
150
- background: rgba(255, 255, 255, 0.04);
151
- box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
152
- }
153
-
154
- .hero-card,
155
- .split-card,
156
- .content-card {
157
- border-radius: 28px;
158
- }
159
-
160
- .hero-card {
161
- display: grid;
162
- grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
163
- gap: 28px;
164
- padding: 36px;
165
- }
166
-
167
- .hero-copy h1,
168
- .content-card h1,
169
- .split-card h2 {
170
- margin: 0;
171
- line-height: 1.05;
172
- }
173
-
174
- .hero-copy h1 {
175
- font-size: clamp(34px, 6vw, 60px);
176
- max-width: 11ch;
177
- }
178
-
179
- .hero-text,
180
- .content-card p,
181
- .info-card p,
182
- .split-card p,
183
- .footer-copy {
184
- color: rgba(244, 247, 251, 0.72);
185
- line-height: 1.75;
186
- }
187
-
188
- .eyebrow,
189
- .section-tag {
190
- display: inline-flex;
191
- align-items: center;
192
- padding: 8px 12px;
193
- border-radius: 999px;
194
- font-size: 12px;
195
- font-weight: 700;
196
- letter-spacing: 0.08em;
197
- text-transform: uppercase;
198
- color: #f5d0fe;
199
- background: rgba(217, 70, 239, 0.14);
200
- border: 1px solid rgba(217, 70, 239, 0.28);
201
- }
1
+ @import 'tailwindcss';
202
2
 
203
- .hero-actions {
204
- display: flex;
205
- flex-wrap: wrap;
206
- gap: 12px;
207
- margin-top: 24px;
3
+ @plugin "daisyui" {
4
+ themes: all;
208
5
  }
209
6
 
210
- .button {
211
- display: inline-flex;
212
- align-items: center;
213
- justify-content: center;
214
- min-height: 44px;
215
- padding: 0 18px;
216
- border-radius: 999px;
217
- font-weight: 700;
218
- transition:
219
- transform 0.2s ease,
220
- background-color 0.2s ease,
221
- border-color 0.2s ease;
222
- }
223
-
224
- .button:hover {
225
- transform: translateY(-1px);
226
- }
227
-
228
- .button.primary {
229
- color: white;
230
- background: linear-gradient(135deg, #7c3aed, #d946ef 55%, #ec4899);
231
- }
232
-
233
- .button.secondary {
234
- border: 1px solid rgba(255, 255, 255, 0.14);
235
- background: rgba(255, 255, 255, 0.04);
236
- }
237
-
238
- .hero-panel,
239
- .content-card,
240
- .split-card {
241
- padding: 28px;
242
- }
243
-
244
- .panel-title {
245
- font-size: 14px;
246
- font-weight: 700;
247
- margin-bottom: 12px;
248
- color: #f5d0fe;
249
- }
250
-
251
- .code-block {
252
- margin: 0;
253
- padding: 18px;
254
- overflow: auto;
255
- border-radius: 20px;
256
- background: rgba(5, 7, 15, 0.82);
257
- border: 1px solid rgba(255, 255, 255, 0.08);
258
- color: #dbeafe;
259
- line-height: 1.7;
260
- }
261
-
262
- .grid-cards {
263
- display: grid;
264
- grid-template-columns: repeat(3, minmax(0, 1fr));
265
- gap: 20px;
266
- }
267
-
268
- .info-card {
269
- padding: 24px;
270
- border-radius: 24px;
271
- }
272
-
273
- .info-card h2,
274
- .content-card h2 {
275
- margin-top: 0;
276
- margin-bottom: 10px;
277
- }
278
-
279
- .split-card {
280
- display: grid;
281
- grid-template-columns: minmax(0, 1fr) auto;
282
- gap: 24px;
283
- align-items: center;
284
- }
285
-
286
- .package-list {
287
- display: flex;
288
- flex-wrap: wrap;
289
- gap: 12px;
290
- justify-content: flex-end;
291
- }
292
-
293
- .package-pill,
294
- .footer-meta span {
295
- display: inline-flex;
296
- align-items: center;
297
- padding: 10px 14px;
298
- border-radius: 999px;
299
- background: rgba(255, 255, 255, 0.06);
300
- border: 1px solid rgba(255, 255, 255, 0.08);
301
- color: #dbeafe;
302
- }
303
-
304
- .step-list {
305
- display: grid;
306
- gap: 14px;
307
- }
7
+ @plugin "@tailwindcss/typography";
308
8
 
309
- .step-item {
310
- display: grid;
311
- grid-template-columns: 56px minmax(0, 1fr);
312
- gap: 16px;
313
- align-items: start;
314
- padding: 18px;
315
- border-radius: 20px;
316
- background: rgba(255, 255, 255, 0.04);
317
- border: 1px solid rgba(255, 255, 255, 0.08);
318
- }
319
-
320
- .step-item p {
321
- margin: 0;
322
- }
323
-
324
- .step-index {
325
- display: inline-flex;
326
- align-items: center;
327
- justify-content: center;
328
- width: 56px;
329
- height: 56px;
330
- border-radius: 18px;
331
- font-weight: 800;
332
- color: white;
333
- background: linear-gradient(135deg, #7c3aed, #d946ef 55%, #ec4899);
334
- }
335
-
336
- .table-card {
337
- overflow: hidden;
338
- border-radius: 24px;
339
- }
340
-
341
- .table-head,
342
- .table-row {
343
- display: grid;
344
- grid-template-columns: minmax(180px, 0.9fr) minmax(120px, 0.7fr) minmax(0, 1.4fr);
345
- gap: 16px;
346
- padding: 18px 22px;
347
- }
348
-
349
- .table-head {
350
- font-size: 13px;
351
- font-weight: 700;
352
- letter-spacing: 0.04em;
353
- text-transform: uppercase;
354
- color: #f5d0fe;
355
- background: rgba(255, 255, 255, 0.05);
356
- }
357
-
358
- .table-row + .table-row {
359
- border-top: 1px solid rgba(255, 255, 255, 0.08);
360
- }
361
-
362
- .cell-name {
363
- font-weight: 700;
364
- color: #e9d5ff;
365
- }
366
-
367
- .bullet-list {
368
- margin: 0;
369
- padding-left: 18px;
370
- color: rgba(244, 247, 251, 0.72);
371
- line-height: 1.9;
372
- }
373
-
374
- .site-footer {
375
- border-top: 1px solid rgba(255, 255, 255, 0.08);
376
- background: rgba(255, 255, 255, 0.02);
377
- }
378
-
379
- .footer-title {
380
- font-size: 18px;
381
- font-weight: 700;
382
- margin-bottom: 8px;
383
- }
384
-
385
- .footer-meta {
386
- display: flex;
387
- flex-wrap: wrap;
388
- gap: 10px;
389
- justify-content: flex-end;
390
- }
391
-
392
- @media (max-width: 900px) {
393
- .header-inner,
394
- .footer-inner,
395
- .hero-card,
396
- .split-card,
397
- .grid-cards {
398
- grid-template-columns: 1fr;
399
- flex-direction: column;
400
- align-items: flex-start;
9
+ @layer base {
10
+ html,
11
+ body,
12
+ #app {
13
+ @apply min-h-screen;
401
14
  }
402
15
 
403
- .main-nav,
404
- .footer-meta,
405
- .package-list {
406
- justify-content: flex-start;
16
+ body {
17
+ @apply bg-base-200 text-base-content antialiased;
18
+ background-image:
19
+ radial-gradient(circle at top, color-mix(in oklch, var(--color-primary) 14%, transparent), transparent 28%),
20
+ radial-gradient(circle at bottom right, color-mix(in oklch, var(--color-accent) 10%, transparent), transparent 24%);
407
21
  }
408
22
 
409
- .table-head,
410
- .table-row {
411
- grid-template-columns: 1fr;
23
+ * {
24
+ box-sizing: border-box;
412
25
  }
413
- }
414
26
 
415
- @media (max-width: 640px) {
416
- .shell {
417
- width: min(1120px, calc(100vw - 28px));
27
+ a {
28
+ @apply text-inherit no-underline;
418
29
  }
30
+ }
419
31
 
420
- .site-main {
421
- padding-top: 28px;
32
+ @layer components {
33
+ .app-shell {
34
+ @apply min-h-screen bg-base-200/80;
422
35
  }
423
36
 
424
- .hero-card,
425
- .content-card,
426
- .split-card {
427
- padding: 22px;
37
+ .app-surface {
38
+ @apply min-h-screen bg-[radial-gradient(circle_at_top,rgba(255,255,255,0.22),transparent_24%),linear-gradient(180deg,color-mix(in_oklch,var(--color-base-100)_82%,transparent),color-mix(in_oklch,var(--color-base-200)_92%,transparent))];
428
39
  }
429
40
 
430
- .brand-subtitle {
431
- display: none;
41
+ .content-width {
42
+ @apply mx-auto w-full max-w-7xl px-4 sm:px-6;
432
43
  }
433
44
  }
@@ -1,47 +0,0 @@
1
- import { type FC } from '@rue-js/rue'
2
-
3
- const ecosystemItems = [
4
- {
5
- title: '官网入口',
6
- desc: '用最小 Rue 应用结构承载内容页面,便于继续往文档站或产品站扩展。',
7
- },
8
- {
9
- title: '路由层',
10
- desc: '通过 hash history 直接适配静态站点部署,不要求服务端额外做重写配置。',
11
- },
12
- {
13
- title: '构建层',
14
- desc: '依赖 Vite 与官方插件完成编译,生产构建方式和外部用户保持一致。',
15
- },
16
- ]
17
-
18
- const Ecosystem: FC = () => (
19
- <div className="page-stack">
20
- <section className="content-card">
21
- <p className="section-tag">生态能力</p>
22
- <h1>从应用迁移到官网的结构拆分</h1>
23
- <p>迁移后的站点把入口、路由、布局和内容页解耦,后续扩展成完整官网时会更容易维护。</p>
24
- </section>
25
-
26
- <section className="grid-cards">
27
- {ecosystemItems.map(item => (
28
- <article key={item.title} className="info-card">
29
- <h2>{item.title}</h2>
30
- <p>{item.desc}</p>
31
- </article>
32
- ))}
33
- </section>
34
-
35
- <section className="content-card">
36
- <h2>适合继续扩展的方向</h2>
37
- <ul className="bullet-list">
38
- <li>补充文档页与 API 页</li>
39
- <li>接入组件示例与代码演示</li>
40
- <li>增加下载、版本、生态导航</li>
41
- <li>对接真实官网视觉资源</li>
42
- </ul>
43
- </section>
44
- </div>
45
- )
46
-
47
- export default Ecosystem