create-dovite 2.0.1 → 2.2.2

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.
Files changed (37) hide show
  1. package/README.md +20 -16
  2. package/index.js +10 -4
  3. package/package.json +8 -4
  4. package/src/files.js +40 -1
  5. package/src/prompts.js +2 -0
  6. package/src/setup.js +56 -33
  7. package/templates/react-js/public/thumbnail.png +0 -0
  8. package/templates/react-js/src/App.jsx +3 -9
  9. package/templates/react-js/src/pages/index.css +96 -0
  10. package/templates/react-js/src/pages/index.jsx +340 -0
  11. package/templates/react-ts/public/thumbnail.png +0 -0
  12. package/templates/react-ts/src/App.tsx +3 -9
  13. package/templates/react-ts/src/pages/index.css +96 -0
  14. package/templates/react-ts/src/pages/index.tsx +347 -0
  15. package/templates/vue-js/jsconfig.json +7 -0
  16. package/templates/vue-js/public/manifest.json +12 -0
  17. package/templates/vue-js/public/thumbnail.png +0 -0
  18. package/templates/vue-js/src/API/currentUserContext.js +61 -0
  19. package/templates/vue-js/src/API/dataApi.js +238 -0
  20. package/templates/vue-js/src/API/domoAPI.js +311 -0
  21. package/templates/vue-js/src/App.vue +9 -0
  22. package/templates/vue-js/src/index.css +1 -0
  23. package/templates/vue-js/src/main.js +6 -0
  24. package/templates/vue-js/src/pages/index.vue +699 -0
  25. package/templates/vue-js/vite.config.js +40 -0
  26. package/templates/vue-ts/public/manifest.json +12 -0
  27. package/templates/vue-ts/public/thumbnail.png +0 -0
  28. package/templates/vue-ts/src/API/currentUserContext.ts +76 -0
  29. package/templates/vue-ts/src/API/dataApi.ts +284 -0
  30. package/templates/vue-ts/src/API/domoAPI.ts +340 -0
  31. package/templates/vue-ts/src/App.vue +9 -0
  32. package/templates/vue-ts/src/index.css +1 -0
  33. package/templates/vue-ts/src/main.ts +6 -0
  34. package/templates/vue-ts/src/pages/index.vue +706 -0
  35. package/templates/vue-ts/tsconfig.app.json +31 -0
  36. package/templates/vue-ts/tsconfig.json +17 -0
  37. package/templates/vue-ts/vite.config.ts +43 -0
@@ -0,0 +1,706 @@
1
+ <script setup lang="ts">
2
+ import { ref } from "vue";
3
+ import { Button } from "../components/ui/button";
4
+
5
+ interface DocLink {
6
+ title: string;
7
+ url: string;
8
+ description: string;
9
+ icon: "book" | "package" | "github";
10
+ }
11
+
12
+ const count = ref<number>(0);
13
+
14
+ const docLinks: DocLink[] = [
15
+ {
16
+ title: "DOMO APIs",
17
+ url: "https://developer.domo.com/portal/8ba9aedad3679-ap-is",
18
+ description: "Explore the API documentation",
19
+ icon: "book",
20
+ },
21
+ {
22
+ title: "Domo Starter Kit",
23
+ url: "https://developer.domo.com/portal/u8w475o2245yp-starter-kits",
24
+ description: "Get started quickly",
25
+ icon: "package",
26
+ },
27
+ {
28
+ title: "GitHub Repository",
29
+ url: "https://github.com/Ajay-Balu/create-dovite",
30
+ description: "View source code",
31
+ icon: "github",
32
+ },
33
+ ];
34
+ </script>
35
+
36
+ <template>
37
+ <div class="landing-page">
38
+ <!-- Main Content Area -->
39
+ <div class="main-content">
40
+ <!-- Left Side - Hero Section -->
41
+ <div class="hero-section">
42
+ <!-- Logo Container -->
43
+ <div class="logo-container">
44
+ <a
45
+ href="https://vitejs.dev"
46
+ target="_blank"
47
+ rel="noopener noreferrer"
48
+ class="logo-link"
49
+ >
50
+ <!-- Vite Logo -->
51
+ <svg
52
+ class="logo-icon logo-vite"
53
+ width="64"
54
+ height="64"
55
+ viewBox="0 0 410 404"
56
+ fill="none"
57
+ xmlns="http://www.w3.org/2000/svg"
58
+ >
59
+ <path
60
+ d="M399.641 59.5246L215.643 388.545C211.844 395.338 202.084 395.378 198.228 388.618L10.5817 59.5563C6.38087 52.1896 12.6802 43.2665 21.0281 44.7586L205.223 77.6824C206.398 77.8924 207.601 77.8904 208.776 77.6763L389.119 44.8058C397.439 43.2894 403.768 52.1434 399.641 59.5246Z"
61
+ fill="url(#paint0_linear)"
62
+ />
63
+ <path
64
+ d="M292.965 1.5744L156.801 28.2552C154.563 28.6937 152.906 30.5903 152.771 32.8664L144.395 174.33C144.198 177.662 147.258 180.248 150.51 179.498L188.42 170.749C191.967 169.931 195.172 173.055 194.443 176.622L183.18 231.775C182.422 235.487 185.907 238.661 189.532 237.56L212.947 230.446C216.577 229.344 220.065 232.527 219.297 236.242L201.398 322.875C200.278 328.294 207.486 331.249 210.492 326.603L212.5 323.5L323.454 102.072C325.312 98.3645 322.108 94.137 318.036 94.9228L279.014 102.454C275.347 103.161 272.227 99.746 273.262 96.1583L298.731 7.86689C299.767 4.27314 296.636 0.855181 292.965 1.5744Z"
65
+ fill="url(#paint1_linear)"
66
+ />
67
+ <defs>
68
+ <linearGradient
69
+ id="paint0_linear"
70
+ x1="6.00017"
71
+ y1="32.9999"
72
+ x2="235"
73
+ y2="344"
74
+ gradientUnits="userSpaceOnUse"
75
+ >
76
+ <stop stop-color="#41D1FF" />
77
+ <stop offset="1" stop-color="#BD34FE" />
78
+ </linearGradient>
79
+ <linearGradient
80
+ id="paint1_linear"
81
+ x1="194.651"
82
+ y1="8.81818"
83
+ x2="236.076"
84
+ y2="292.989"
85
+ gradientUnits="userSpaceOnUse"
86
+ >
87
+ <stop stop-color="#FFBD4F" />
88
+ <stop offset="1" stop-color="#FF980E" />
89
+ </linearGradient>
90
+ </defs>
91
+ </svg>
92
+ </a>
93
+ <span class="plus-sign">+</span>
94
+ <a
95
+ href="https://vuejs.org"
96
+ target="_blank"
97
+ rel="noopener noreferrer"
98
+ class="logo-link"
99
+ >
100
+ <!-- Vue Logo -->
101
+ <svg
102
+ class="logo-icon logo-vue"
103
+ width="64"
104
+ height="64"
105
+ viewBox="0 0 128 128"
106
+ xmlns="http://www.w3.org/2000/svg"
107
+ >
108
+ <path
109
+ fill="#42b883"
110
+ d="M78.8,10L64,35.4L49.2,10H0l64,110l64-110H78.8z"
111
+ />
112
+ <path
113
+ fill="#35495e"
114
+ d="M78.8,10L64,35.4L49.2,10H25.6L64,76l38.4-66H78.8z"
115
+ />
116
+ </svg>
117
+ </a>
118
+ <span class="plus-sign">+</span>
119
+ <a
120
+ href="https://www.domo.com"
121
+ target="_blank"
122
+ rel="noopener noreferrer"
123
+ class="logo-link"
124
+ >
125
+ <!-- Domo Logo -->
126
+ <svg
127
+ class="logo-icon logo-domo"
128
+ width="64"
129
+ height="64"
130
+ viewBox="0 0 100 100"
131
+ fill="none"
132
+ xmlns="http://www.w3.org/2000/svg"
133
+ >
134
+ <rect width="100" height="100" rx="16" fill="url(#domoGradient)" />
135
+ <text
136
+ x="50"
137
+ y="65"
138
+ text-anchor="middle"
139
+ fill="white"
140
+ font-size="36"
141
+ font-weight="bold"
142
+ font-family="Arial, sans-serif"
143
+ >
144
+ DOMO
145
+ </text>
146
+ <defs>
147
+ <linearGradient
148
+ id="domoGradient"
149
+ x1="0"
150
+ y1="0"
151
+ x2="100"
152
+ y2="100"
153
+ gradientUnits="userSpaceOnUse"
154
+ >
155
+ <stop stop-color="#00B5E2" />
156
+ <stop offset="1" stop-color="#0072BC" />
157
+ </linearGradient>
158
+ </defs>
159
+ </svg>
160
+ </a>
161
+ <span class="plus-sign">+</span>
162
+ <a
163
+ href="https://tailwindcss.com"
164
+ target="_blank"
165
+ rel="noopener noreferrer"
166
+ class="logo-link"
167
+ >
168
+ <!-- Tailwind Logo -->
169
+ <svg
170
+ class="logo-icon logo-tailwind"
171
+ width="64"
172
+ height="64"
173
+ viewBox="0 0 54 33"
174
+ fill="none"
175
+ xmlns="http://www.w3.org/2000/svg"
176
+ >
177
+ <g clip-path="url(#tailwindClip)">
178
+ <path
179
+ fill-rule="evenodd"
180
+ clip-rule="evenodd"
181
+ d="M27 0C19.8 0 15.3 3.6 13.5 10.8C16.2 7.2 19.35 5.85 22.95 6.75C25.004 7.263 26.472 8.754 28.097 10.403C30.744 13.09 33.808 16.2 40.5 16.2C47.7 16.2 52.2 12.6 54 5.4C51.3 9 48.15 10.35 44.55 9.45C42.496 8.937 41.028 7.446 39.403 5.797C36.756 3.11 33.692 0 27 0ZM13.5 16.2C6.3 16.2 1.8 19.8 0 27C2.7 23.4 5.85 22.05 9.45 22.95C11.504 23.464 12.972 24.954 14.597 26.603C17.244 29.29 20.308 32.4 27 32.4C34.2 32.4 38.7 28.8 40.5 21.6C37.8 25.2 34.65 26.55 31.05 25.65C28.996 25.137 27.528 23.646 25.903 21.997C23.256 19.31 20.192 16.2 13.5 16.2Z"
182
+ fill="url(#tailwindGradient)"
183
+ />
184
+ </g>
185
+ <defs>
186
+ <linearGradient
187
+ id="tailwindGradient"
188
+ x1="0"
189
+ y1="16.2"
190
+ x2="54"
191
+ y2="16.2"
192
+ gradientUnits="userSpaceOnUse"
193
+ >
194
+ <stop stop-color="#06B6D4" />
195
+ <stop offset="1" stop-color="#22D3EE" />
196
+ </linearGradient>
197
+ <clipPath id="tailwindClip">
198
+ <rect width="54" height="33" fill="white" />
199
+ </clipPath>
200
+ </defs>
201
+ </svg>
202
+ </a>
203
+ <span class="plus-sign">+</span>
204
+ <a
205
+ href="https://www.shadcn-vue.com"
206
+ target="_blank"
207
+ rel="noopener noreferrer"
208
+ class="logo-link"
209
+ >
210
+ <!-- Shadcn Logo -->
211
+ <svg
212
+ class="logo-icon logo-shadcn"
213
+ width="64"
214
+ height="64"
215
+ viewBox="0 0 256 256"
216
+ fill="none"
217
+ xmlns="http://www.w3.org/2000/svg"
218
+ >
219
+ <rect width="256" height="256" rx="60" fill="currentColor" />
220
+ <line
221
+ x1="208"
222
+ y1="128"
223
+ x2="128"
224
+ y2="208"
225
+ stroke="url(#shadcnGradient)"
226
+ stroke-width="24"
227
+ stroke-linecap="round"
228
+ />
229
+ <line
230
+ x1="192"
231
+ y1="40"
232
+ x2="40"
233
+ y2="192"
234
+ stroke="url(#shadcnGradient)"
235
+ stroke-width="24"
236
+ stroke-linecap="round"
237
+ />
238
+ <defs>
239
+ <linearGradient
240
+ id="shadcnGradient"
241
+ x1="40"
242
+ y1="40"
243
+ x2="208"
244
+ y2="208"
245
+ gradientUnits="userSpaceOnUse"
246
+ >
247
+ <stop stop-color="#fff" />
248
+ <stop offset="1" stop-color="#a1a1aa" />
249
+ </linearGradient>
250
+ </defs>
251
+ </svg>
252
+ </a>
253
+ </div>
254
+
255
+ <!-- Title -->
256
+ <h1 class="title">
257
+ <span class="gradient-text">Dovite</span>
258
+ </h1>
259
+ <p class="subtitle">Vite + Vue + DOMO + Tailwind + Shadcn-Vue</p>
260
+ <p class="description">
261
+ Build beautiful DOMO apps with modern web technologies
262
+ </p>
263
+
264
+ <!-- Interactive Demo Section -->
265
+ <div class="demo-section">
266
+ <div class="demo-box">
267
+ <Button @click="count++">Count is {{ count }}</Button>
268
+ <p class="demo-hint">
269
+ Edit
270
+ <code>src/pages/index.vue</code>
271
+ and save to test HMR
272
+ </p>
273
+ </div>
274
+ </div>
275
+ </div>
276
+
277
+ <!-- Right Side - Documentation Links -->
278
+ <div class="resources-panel">
279
+ <h2 class="resources-title">Resources</h2>
280
+ <div class="resources-list">
281
+ <a
282
+ v-for="(link, index) in docLinks"
283
+ :key="index"
284
+ :href="link.url"
285
+ target="_blank"
286
+ rel="noopener noreferrer"
287
+ class="resource-link"
288
+ >
289
+ <!-- Book Icon -->
290
+ <svg
291
+ v-if="link.icon === 'book'"
292
+ class="resource-icon"
293
+ width="20"
294
+ height="20"
295
+ fill="none"
296
+ stroke="currentColor"
297
+ viewBox="0 0 24 24"
298
+ >
299
+ <path
300
+ stroke-linecap="round"
301
+ stroke-linejoin="round"
302
+ stroke-width="2"
303
+ d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
304
+ />
305
+ </svg>
306
+ <!-- Package Icon -->
307
+ <svg
308
+ v-else-if="link.icon === 'package'"
309
+ class="resource-icon"
310
+ width="20"
311
+ height="20"
312
+ fill="none"
313
+ stroke="currentColor"
314
+ viewBox="0 0 24 24"
315
+ >
316
+ <path
317
+ stroke-linecap="round"
318
+ stroke-linejoin="round"
319
+ stroke-width="2"
320
+ d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"
321
+ />
322
+ </svg>
323
+ <!-- GitHub Icon -->
324
+ <svg
325
+ v-else-if="link.icon === 'github'"
326
+ class="resource-icon"
327
+ width="20"
328
+ height="20"
329
+ fill="currentColor"
330
+ viewBox="0 0 24 24"
331
+ >
332
+ <path
333
+ d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
334
+ />
335
+ </svg>
336
+ <div class="resource-info">
337
+ <span class="resource-title">{{ link.title }}</span>
338
+ <span class="resource-description">{{ link.description }}</span>
339
+ </div>
340
+ <!-- External Link Icon -->
341
+ <svg
342
+ class="external-icon"
343
+ width="16"
344
+ height="16"
345
+ fill="none"
346
+ stroke="currentColor"
347
+ viewBox="0 0 24 24"
348
+ >
349
+ <path
350
+ stroke-linecap="round"
351
+ stroke-linejoin="round"
352
+ stroke-width="2"
353
+ d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
354
+ />
355
+ </svg>
356
+ </a>
357
+ </div>
358
+ <p class="resources-footer">Click on the logos to learn more</p>
359
+ </div>
360
+ </div>
361
+
362
+ <!-- Footer -->
363
+ <footer class="footer">
364
+ <p>
365
+ Built with <span style="color: #ef4444">❤</span> using
366
+ <a
367
+ href="https://github.com/Ajay-Balu/create-dovite"
368
+ target="_blank"
369
+ rel="noopener noreferrer"
370
+ class="footer-link"
371
+ >
372
+ create-dovite
373
+ </a>
374
+ </p>
375
+ </footer>
376
+ </div>
377
+ </template>
378
+
379
+ <style>
380
+ /* Reset and Base */
381
+ * {
382
+ box-sizing: border-box;
383
+ margin: 0;
384
+ padding: 0;
385
+ }
386
+
387
+ /* Landing Page */
388
+ .landing-page {
389
+ min-height: 100vh;
390
+ width: 100%;
391
+ display: flex;
392
+ flex-direction: column;
393
+ overflow: hidden;
394
+ background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
395
+ }
396
+
397
+ /* Main Content */
398
+ .main-content {
399
+ flex: 1;
400
+ display: flex;
401
+ align-items: center;
402
+ justify-content: center;
403
+ gap: 4rem;
404
+ padding: 2rem;
405
+ max-width: 1400px;
406
+ margin: 0 auto;
407
+ width: 100%;
408
+ }
409
+
410
+ /* Hero Section */
411
+ .hero-section {
412
+ flex: 1;
413
+ display: flex;
414
+ flex-direction: column;
415
+ align-items: center;
416
+ justify-content: center;
417
+ text-align: center;
418
+ gap: 1rem;
419
+ }
420
+
421
+ /* Logo Container */
422
+ .logo-container {
423
+ display: flex;
424
+ justify-content: center;
425
+ align-items: center;
426
+ gap: 0.5rem;
427
+ flex-wrap: wrap;
428
+ margin-bottom: 0.5rem;
429
+ }
430
+
431
+ .logo-link {
432
+ display: inline-flex;
433
+ transition: transform 0.3s ease;
434
+ }
435
+
436
+ .logo-link:hover {
437
+ transform: scale(1.15);
438
+ }
439
+
440
+ .plus-sign {
441
+ font-size: 1.5rem;
442
+ font-weight: 300;
443
+ color: rgba(113, 113, 122, 0.5);
444
+ margin: 0 0.25rem;
445
+ }
446
+
447
+ /* Logo Icons */
448
+ .logo-icon {
449
+ height: 4rem;
450
+ width: 4rem;
451
+ padding: 0.5rem;
452
+ will-change: filter, transform;
453
+ transition: filter 0.3s, transform 0.3s;
454
+ }
455
+
456
+ .logo-vite:hover {
457
+ filter: drop-shadow(0 0 2em rgba(189, 52, 254, 0.667));
458
+ }
459
+
460
+ .logo-vue:hover {
461
+ filter: drop-shadow(0 0 2em rgba(66, 184, 131, 0.667));
462
+ }
463
+
464
+ .logo-domo:hover {
465
+ filter: drop-shadow(0 0 2em rgba(0, 181, 226, 0.667));
466
+ }
467
+
468
+ .logo-tailwind:hover {
469
+ filter: drop-shadow(0 0 2em rgba(6, 182, 212, 0.667));
470
+ }
471
+
472
+ .logo-shadcn {
473
+ color: #27272a;
474
+ }
475
+
476
+ .logo-shadcn:hover {
477
+ filter: drop-shadow(0 0 2em rgba(161, 161, 170, 0.667));
478
+ }
479
+
480
+ /* Title */
481
+ .title {
482
+ font-size: 3rem;
483
+ font-weight: 800;
484
+ letter-spacing: -0.025em;
485
+ line-height: 1.1;
486
+ }
487
+
488
+ .gradient-text {
489
+ background: linear-gradient(
490
+ 135deg,
491
+ #bd34fe 0%,
492
+ #41d1ff 25%,
493
+ #0072bc 50%,
494
+ #06b6d4 75%,
495
+ #a1a1aa 100%
496
+ );
497
+ background-size: 200% auto;
498
+ background-clip: text;
499
+ -webkit-background-clip: text;
500
+ -webkit-text-fill-color: transparent;
501
+ animation: gradient-shift 5s ease infinite;
502
+ }
503
+
504
+ @keyframes gradient-shift {
505
+ 0%, 100% {
506
+ background-position: 0% 50%;
507
+ }
508
+ 50% {
509
+ background-position: 100% 50%;
510
+ }
511
+ }
512
+
513
+ .subtitle {
514
+ font-size: 1rem;
515
+ color: #a1a1aa;
516
+ font-weight: 500;
517
+ }
518
+
519
+ .description {
520
+ font-size: 0.875rem;
521
+ color: #71717a;
522
+ max-width: 400px;
523
+ }
524
+
525
+ /* Demo Section */
526
+ .demo-section {
527
+ margin-top: 1.5rem;
528
+ }
529
+
530
+ .demo-box {
531
+ padding: 1.5rem 2rem;
532
+ background: rgba(255, 255, 255, 0.03);
533
+ border: 1px solid rgba(255, 255, 255, 0.08);
534
+ border-radius: 1rem;
535
+ backdrop-filter: blur(12px);
536
+ }
537
+
538
+ .demo-hint {
539
+ margin-top: 1rem;
540
+ font-size: 0.75rem;
541
+ color: #71717a;
542
+ }
543
+
544
+ .demo-hint code {
545
+ background: rgba(113, 113, 122, 0.15);
546
+ padding: 0.125rem 0.375rem;
547
+ border-radius: 0.25rem;
548
+ color: #a1a1aa;
549
+ font-family: monospace;
550
+ font-size: 0.7em;
551
+ }
552
+
553
+ /* Resources Panel */
554
+ .resources-panel {
555
+ width: 320px;
556
+ display: flex;
557
+ flex-direction: column;
558
+ gap: 1rem;
559
+ padding: 1.5rem;
560
+ background: rgba(255, 255, 255, 0.02);
561
+ border: 1px solid rgba(255, 255, 255, 0.06);
562
+ border-radius: 1rem;
563
+ backdrop-filter: blur(12px);
564
+ }
565
+
566
+ .resources-title {
567
+ font-size: 0.75rem;
568
+ font-weight: 600;
569
+ color: #a1a1aa;
570
+ text-transform: uppercase;
571
+ letter-spacing: 0.1em;
572
+ padding-bottom: 0.75rem;
573
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
574
+ }
575
+
576
+ .resources-list {
577
+ display: flex;
578
+ flex-direction: column;
579
+ gap: 0.5rem;
580
+ }
581
+
582
+ .resource-link {
583
+ display: flex;
584
+ align-items: center;
585
+ gap: 0.75rem;
586
+ padding: 0.875rem 1rem;
587
+ background: rgba(255, 255, 255, 0.02);
588
+ border: 1px solid rgba(255, 255, 255, 0.04);
589
+ border-radius: 0.75rem;
590
+ text-decoration: none;
591
+ color: inherit;
592
+ transition: all 0.3s ease;
593
+ }
594
+
595
+ .resource-link:hover {
596
+ background: rgba(255, 255, 255, 0.06);
597
+ border-color: rgba(6, 182, 212, 0.3);
598
+ transform: translateX(4px);
599
+ }
600
+
601
+ .resource-icon {
602
+ width: 20px;
603
+ height: 20px;
604
+ color: #06b6d4;
605
+ flex-shrink: 0;
606
+ }
607
+
608
+ .resource-info {
609
+ flex: 1;
610
+ display: flex;
611
+ flex-direction: column;
612
+ gap: 0.125rem;
613
+ min-width: 0;
614
+ }
615
+
616
+ .resource-title {
617
+ font-size: 0.875rem;
618
+ font-weight: 600;
619
+ color: #f4f4f5;
620
+ }
621
+
622
+ .resource-description {
623
+ font-size: 0.75rem;
624
+ color: #71717a;
625
+ }
626
+
627
+ .external-icon {
628
+ width: 16px;
629
+ height: 16px;
630
+ color: #52525b;
631
+ flex-shrink: 0;
632
+ transition: all 0.3s ease;
633
+ }
634
+
635
+ .resource-link:hover .external-icon {
636
+ color: #06b6d4;
637
+ transform: translate(2px, -2px);
638
+ }
639
+
640
+ .resources-footer {
641
+ font-size: 0.75rem;
642
+ color: #52525b;
643
+ text-align: center;
644
+ padding-top: 0.5rem;
645
+ }
646
+
647
+ /* Footer */
648
+ .footer {
649
+ padding: 1rem 2rem;
650
+ text-align: center;
651
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
652
+ background: rgba(0, 0, 0, 0.2);
653
+ }
654
+
655
+ .footer p {
656
+ font-size: 0.75rem;
657
+ color: #52525b;
658
+ }
659
+
660
+ .footer-link {
661
+ color: #06b6d4;
662
+ text-decoration: none;
663
+ font-weight: 500;
664
+ transition: color 0.3s ease;
665
+ }
666
+
667
+ .footer-link:hover {
668
+ color: #a855f7;
669
+ }
670
+
671
+ /* Responsive */
672
+ @media (max-width: 1024px) {
673
+ .main-content {
674
+ flex-direction: column;
675
+ gap: 2rem;
676
+ overflow-y: auto;
677
+ }
678
+
679
+ .resources-panel {
680
+ width: 100%;
681
+ max-width: 400px;
682
+ }
683
+ }
684
+
685
+ @media (max-width: 768px) {
686
+ .logo-icon {
687
+ height: 3rem;
688
+ width: 3rem;
689
+ }
690
+
691
+ .title {
692
+ font-size: 2.5rem;
693
+ }
694
+ }
695
+
696
+ @media (max-width: 480px) {
697
+ .logo-icon {
698
+ height: 2.5rem;
699
+ width: 2.5rem;
700
+ }
701
+
702
+ .title {
703
+ font-size: 2rem;
704
+ }
705
+ }
706
+ </style>