diff --git a/.gitignore b/.gitignore index 5d78e4f..4a966c1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ coverage/ *.log .claude/ .worktrees/ +homepage/public/demo/ diff --git a/homepage/src/components/Showcase.astro b/homepage/src/components/Showcase.astro index 1510079..6b6bfc6 100644 --- a/homepage/src/components/Showcase.astro +++ b/homepage/src/components/Showcase.astro @@ -1,90 +1,42 @@ --- -const structuralVideoUrl = import.meta.env.VITE_STRUCTURAL_VIDEO_URL; -const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL; +const base = import.meta.env.BASE_URL; /* /Understand-Anything/ in prod */ +const demoUrl = `${base}demo/index.html`; --- - -
- Structural View + +
+ Live Demo

- Yes, we do structure too -

-

- Explore every file, function, and dependency as an interactive graph. - Click to drill down, search to find anything, filter by type or complexity. - But that's just the map — not the story. -

-
-
- - - - Structural Graph -
- {structuralVideoUrl ? ( -
-
- Hierarchical drill-down - Fuzzy search - Filter by type - 26+ file types -
-
- - -
- Business Knowledge Mode -

- Now see what the code is for + See what your code is really doing

- This is what makes us different. Switch to business knowledge mode and watch - your code transform into something readable — authentication flows, - payment pipelines, user lifecycles. Not files and functions. - Domains, processes, and the logic that drives your product. + Explore every file, function, and dependency — or switch to business + knowledge mode and watch your code transform into authentication flows, + payment pipelines, and user lifecycles. Not just a map. + The story behind your codebase, fully interactive.

+ Hierarchical drill-down + Fuzzy search + Filter by type + 26+ file types Domain mapping Business flows Process steps @@ -100,8 +52,9 @@ const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL; text-align: center; } - .showcase--domain { + .showcase--demo { padding: 8rem 2rem 6rem; + max-width: 1400px; } /* Section label */ @@ -199,6 +152,22 @@ const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL; display: block; } + /* Iframe embed */ + .showcase-iframe-wrap { + position: relative; + width: 100%; + aspect-ratio: 16 / 9; + background: #0a0a0a; + } + + .showcase-iframe { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + border: none; + } + /* Feature pills below frame */ .showcase-features { display: flex; @@ -228,8 +197,9 @@ const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL; /* Responsive */ @media (max-width: 768px) { .showcase { padding: 4rem 1rem 2rem; } - .showcase--domain { padding: 4rem 1rem 4rem; } + .showcase--demo { padding: 4rem 1rem 4rem; } .showcase-features { gap: 0.5rem; } .showcase-pill { font-size: 0.7rem; padding: 0.25rem 0.65rem; } + .showcase-iframe-wrap { aspect-ratio: 4 / 3; } }