|
1 | | - |
2 | 1 | <!DOCTYPE html> |
3 | 2 | <html lang="en"> |
4 | 3 | <head> |
|
26 | 25 | "description":"Interactive playground for building and testing devtemDesign configurations." |
27 | 26 | } |
28 | 27 | </script> |
29 | | - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
30 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/devtemdesign@0.0.2/style.css"> |
| 28 | + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"> |
| 29 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/devtemdesign@0.1.0/style.min.css"> |
31 | 30 | <link rel="preconnect" href="https://fonts.googleapis.com"> |
32 | 31 | <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap" rel="stylesheet"> |
33 | | - <script src="https://cdn.jsdelivr.net/npm/devtemdesign@0.0.2/script.js"></script> |
| 32 | + <script src="https://cdn.jsdelivr.net/npm/devtemdesign@0.1.0/script.min.js"></script> |
34 | 33 |
|
35 | 34 | <style> |
36 | 35 | /* ── SUPPRESS ENGINE HERO ────────────────────────────────── */ |
37 | | - .hero-tag, .hero-title, .hero-sub, |
38 | | - .hero-buttons, .hero-inline-brands, |
39 | | - .features, .panels-section, .marquee-section { display: none !important; } |
| 36 | + .hero-badge, .hero-title, .hero-sub, |
| 37 | + .hero-actions, .hero-brands, |
| 38 | + .features-grid, .panels-grid, .marquee-section, |
| 39 | + .section:not(.cta-sec) { display: none !important; } |
40 | 40 | .hero { min-height: unset; padding: 0; } |
41 | 41 | footer { display: none !important; } |
42 | 42 |
|
|
357 | 357 | logoName: "DEVTEM", |
358 | 358 | logo: "https://fscss.devtem.org/assets/images/fscss.png", |
359 | 359 | navLinks: [ |
360 | | - { label: "Docs", href: "/docs" }, |
361 | | - { label: "Sandbox", href: "/sandbox" }, |
362 | | - { label: "Schema API", href: "/api" }, |
363 | | - { label: "npm Package",href: "https://www.npmjs.com/package/devtemdesign" }, |
364 | | - { label: "templates", href: "https://devtem.org/home?q=@devtemDesign"} |
365 | | - ], |
| 360 | + { label: "Docs", href: "/docs" }, |
| 361 | + { label: "Sandbox", href: "/sandbox" }, |
| 362 | + { label: "Schema API", href: "/api" }, |
| 363 | + { label: "npm Package", href: "https://www.npmjs.com/package/devtemdesign" }, |
| 364 | + { label: "templates", href: "https://devtem.org/home?q=@devtemDesign" } |
| 365 | +], |
366 | 366 | ctaText: "CDN →", |
367 | | - heroTag: "", heroTitleLine1: "", heroTitleLine2: "", |
| 367 | + heroBadge: "", heroTitleLine1: "", heroTitleLine2: "", |
368 | 368 | heroSubtitle: "", primaryBtnText: "", secondaryBtnText: "", |
369 | 369 | brands: [], features: [], panels: [] |
370 | 370 | }); |
371 | | -document.querySelector(".nav-logo").onclick = () =>{ |
372 | | - location.href = "/"; |
373 | | -} |
| 371 | + |
| 372 | +document.querySelector(".nav-brand")?.addEventListener("click", () => { |
| 373 | + location.href = "/"; |
| 374 | +}); |
374 | 375 | // ── DEFAULT CONFIG ─────────────────────────────────────────────── |
375 | 376 | const DEFAULT_CONFIG = `devtemDesign("app-root", { |
376 | 377 | template: "cyber", |
|
384 | 385 | ], |
385 | 386 | ctaText: "Get Started →", |
386 | 387 |
|
387 | | - heroTag: "✦ Live Preview", |
| 388 | + heroBadge: "✦ Live Preview", |
388 | 389 | heroTitleLine1: "Edit the config.", |
389 | 390 | heroTitleLine2: "See it render.", |
390 | 391 | heroSubtitle: "Modify the schema on the left. Hit Run or press Ctrl+Enter to update the preview.", |
|
394 | 395 | brands: ["DEVTEMPLE", "FSCSS", "FIGSH", "ESBUILD"], |
395 | 396 | brandsSubtitle: "built with open source", |
396 | 397 |
|
397 | | - featuresSectionLabel: "core mechanics", |
398 | | - featuresSectionTitle: "Pass data. The engine paints itself.", |
| 398 | + featuresLabel: "core mechanics", |
| 399 | + featuresTitle: "Pass data. The engine paints itself.", |
399 | 400 | features: [ |
400 | 401 | { |
401 | 402 | title: "Declarative Schema", |
402 | 403 | desc: "Map a config object to hardware-accelerated layouts.", |
403 | 404 | icon: "<i class='fas fa-cube'></i>" |
404 | 405 | }, |
405 | 406 | { |
406 | | - title: "4 Live Themes", |
407 | | - desc: "Switch figsh, cyber, aurora, monochrome with one token.", |
| 407 | + title: "7 Live Themes", |
| 408 | + desc: "Switch figsh, cyber, aurora, monochrome, sunset, ocean, paper with one token.", |
408 | 409 | icon: "<i class='fas fa-palette'></i>" |
409 | 410 | }, |
410 | 411 | { |
|
438 | 439 | legal: [ |
439 | 440 | { label: "MIT License", href: "/license" } |
440 | 441 | ], |
441 | | - copy: "© 2026 Figsh Digital · devtemDesign" |
| 442 | + copy: "© 2026 Figsh / DevTemple · devtemDesign" |
442 | 443 | } |
443 | 444 | });`; |
444 | 445 |
|
|
449 | 450 | <head> |
450 | 451 | <meta charset="UTF-8"> |
451 | 452 | <meta name="viewport" content="width=device-width,initial-scale=1"> |
452 | | -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
453 | | -<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/devtemdesign@0.0.2/style.css"> |
454 | | -<script src="https://cdn.jsdelivr.net/npm/devtemdesign@0.0.2/script.js"><\/script> |
| 453 | +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"> |
| 454 | +<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/devtemdesign@0.1.0/style.min.css"> |
| 455 | +<script src="https://cdn.jsdelivr.net/npm/devtemdesign@0.1.0/script.min.js"><\/script> |
455 | 456 | <style>body{cursor:auto;}</style> |
456 | 457 | </head> |
457 | 458 | <body> |
|
482 | 483 | <div class="sb-topbar"> |
483 | 484 | <div class="sb-topbar-left"> |
484 | 485 | <span class="sb-title"><i class="fas fa-flask"></i> Sandbox</span> |
485 | | - <span class="sb-version">v0.0.2</span> |
| 486 | + <span class="sb-version">v0.1.0</span> |
486 | 487 | <div class="tpl-pills"> |
487 | 488 | <button class="tpl-pill" data-tpl="figsh">FIGSH</button> |
488 | 489 | <button class="tpl-pill active" data-tpl="cyber">CYBER</button> |
|
542 | 543 | <span class="sb-stat" id="statLines"><i class="fas fa-lines-leaning"></i> <span id="lineCount">-</span> lines</span> |
543 | 544 | </div> |
544 | 545 | <div class="sb-status-right"> |
545 | | - <span class="sb-stat"><i class="fas fa-cube"></i> devtemdesign@0.0.2</span> |
| 546 | + <span class="sb-stat"><i class="fas fa-cube"></i> devtemdesign@0.1.0</span> |
546 | 547 | <span class="sb-stat"><i class="fab fa-js"></i> Vanilla JS</span> |
547 | 548 | </div> |
548 | 549 | </div> |
|
695 | 696 | </script> |
696 | 697 | </body> |
697 | 698 | </html> |
| 699 | + |
0 commit comments