Newer
Older
vmk-ui-kit / demo / index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VMK UI Kit Demo</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="/assets/fonts/phosphor-icons/src/css/icons.css">
    <link rel="stylesheet" href="/css/kit.css">
    <link rel="stylesheet" href="/css/demo.css">
    <script type="importmap">
    {
      "imports": {
        "vue": "https://unpkg.com/vue@3.4.0/dist/vue.esm-browser.js"
      }
    }
    </script>
    <style>
      main.container {
        padding-bottom: 96px;
      }
      .demo-section p {
        margin-top: 0;
        margin-bottom: 16px;
      }
    </style>
  </head>
  <body>
    <div class="vmk-bg-layer is-parallax" data-variant="gradient" data-device="desktop" aria-hidden="true"></div>
    <main class="container py-4">
        <h1>VMK UI Kit</h1>
        <p>Demo page placeholder. Component sections will be added here.</p>

        @@include('./partials/typography.html')
      @@include('./partials/palette.html')
      @@include('./partials/utilities.html')
      @@include('./partials/buttons.html')
      @@include('./partials/choices.html')
      @@include('./partials/select-textarea.html')
      @@include('./partials/inputs.html')
      @@include('./partials/input-group.html')
      @@include('./partials/cards.html')
      @@include('./partials/badges.html')
      @@include('./partials/alerts.html')
      @@include('./partials/modals.html')
      @@include('./partials/confirm-dialog.html')
      @@include('./partials/data-patterns.html')
      @@include('./partials/drawer.html')
      @@include('./partials/toasts.html')
      @@include('./partials/tabs.html')
      @@include('./partials/avatar.html')
      @@include('./partials/chips.html')
      @@include('./partials/progress.html')
      @@include('./partials/tables.html')
      @@include('./partials/description-list.html')
      @@include('./partials/empty-state.html')
      @@include('./partials/page-header.html')
      @@include('./partials/lists.html')
      @@include('./partials/skeleton.html')
      @@include('./partials/tooltips.html')
      @@include('./partials/dropdowns.html')
      @@include('./partials/overlays.html')
      @@include('./partials/advanced-select.html')
      @@include('./partials/navigation-shell.html')
      @@include('./partials/backgrounds.html')
      @@include('./partials/breadcrumbs.html')
      @@include('./partials/divider.html')
      @@include('./partials/accordion.html')
      @@include('./partials/stepper.html')
      @@include('./partials/file-upload.html')
      @@include('./partials/popover.html')
      @@include('./partials/pagination.html')
      @@include('./partials/timeline.html')
        @@include('./partials/loader.html')
      </main>
    <script src="/js/vmk-ui-kit.js"></script>
    <script>
      // Very subtle parallax drift for the fixed demo background.
      (function () {
        const layer = document.querySelector(".vmk-bg-layer.is-parallax");
        if (!layer) return;
        let ticking = false;
        function update() {
          layer.style.setProperty("--vmk-bg-y", String(window.scrollY) + "px");
          ticking = false;
        }
        window.addEventListener("scroll", function () {
          if (!ticking) {
            requestAnimationFrame(update);
            ticking = true;
          }
        }, { passive: true });
      })();
    </script>
  </body>
</html>