mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
redesign: full homepage refresh with gradient keywords, new problem section, and improved visual hierarchy
- Hero: gradient "Understand" headline, badge pill, staggered entrance animations, star icon for GitHub - New Problem section: structure vs meaning comparison with hairball SVG and domain preview cards - Showcase: split into structural (table stakes) and business knowledge (star) with pill labels and feature tags - Features: 2-column layout with gradient icons and tighter copy - Install: copy-to-clipboard button - Footer: expanded with Live Demo link and updated tagline - Global: rose-gold-to-gold gradient tokens, .grad text utility Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a38dea9824
commit
16868f200d
@@ -3,32 +3,32 @@ const features = [
|
||||
{
|
||||
icon: '◈',
|
||||
title: 'Interactive Knowledge Graph',
|
||||
description: 'Visualize files, functions, and dependencies as an explorable graph with hierarchical drill-down and smart layout.',
|
||||
description: 'Explorable graph with hierarchical drill-down, smart layout, and community clustering.',
|
||||
},
|
||||
{
|
||||
icon: '⬡',
|
||||
title: 'Beyond Code Analysis',
|
||||
description: 'Analyze your entire project — Dockerfiles, Terraform, SQL, Markdown, and 26+ file types mapped into one unified graph.',
|
||||
description: 'Dockerfiles, Terraform, SQL, Markdown, and 26+ file types in one unified graph.',
|
||||
},
|
||||
{
|
||||
icon: '⊘',
|
||||
title: 'Smart Filtering & Search',
|
||||
description: 'Filter by node type, complexity, layer, or edge category. Fuzzy and semantic search to find anything instantly.',
|
||||
description: 'Filter by type, complexity, or layer. Fuzzy and semantic search to find anything.',
|
||||
},
|
||||
{
|
||||
icon: '⎙',
|
||||
title: 'Export & Share',
|
||||
description: 'Export your knowledge graph as high-quality PNG, SVG, or filtered JSON — ready for docs, presentations, or further analysis.',
|
||||
description: 'High-quality PNG, SVG, or filtered JSON for docs, presentations, or analysis.',
|
||||
},
|
||||
{
|
||||
icon: '⟿',
|
||||
title: 'Dependency Path Finder',
|
||||
description: 'Find the shortest path between any two components. Understand how parts of your system connect at a glance.',
|
||||
description: 'Shortest path between any two components. See how your system connects.',
|
||||
},
|
||||
{
|
||||
icon: '⟐',
|
||||
title: 'Guided Tours & Onboarding',
|
||||
description: 'AI-generated walkthroughs that teach the codebase step by step, plus onboarding guides for new team members.',
|
||||
description: 'AI-generated walkthroughs that teach the codebase step by step.',
|
||||
},
|
||||
];
|
||||
---
|
||||
@@ -36,10 +36,12 @@ const features = [
|
||||
<section class="features">
|
||||
<div class="features-grid">
|
||||
{features.map((f, i) => (
|
||||
<div class={`feature-card reveal reveal-delay-${(i % 3) + 1}`}>
|
||||
<span class="feature-icon">{f.icon}</span>
|
||||
<h3 class="feature-title">{f.title}</h3>
|
||||
<p class="feature-desc">{f.description}</p>
|
||||
<div class={`feature-card reveal reveal-delay-${(i % 2) + 1}`}>
|
||||
<span class="feature-icon grad">{f.icon}</span>
|
||||
<div class="feature-body">
|
||||
<h3 class="feature-title">{f.title}</h3>
|
||||
<p class="feature-desc">{f.description}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
@@ -47,43 +49,48 @@ const features = [
|
||||
|
||||
<style>
|
||||
.features {
|
||||
padding: 2rem 2rem 6rem;
|
||||
max-width: 1100px;
|
||||
padding: 4rem 2rem 8rem;
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.features-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 1.25rem;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
border-radius: 14px;
|
||||
padding: 2rem;
|
||||
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.feature-card:hover {
|
||||
border-color: rgba(212, 165, 116, 0.3);
|
||||
box-shadow: 0 0 20px var(--accent-glow);
|
||||
border-color: rgba(212, 165, 116, 0.25);
|
||||
box-shadow: 0 0 24px var(--accent-glow);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
display: block;
|
||||
font-size: 1.75rem;
|
||||
color: var(--accent);
|
||||
margin-bottom: 1rem;
|
||||
font-size: 2rem;
|
||||
line-height: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.feature-body {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.2rem;
|
||||
color: var(--text);
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.feature-desc {
|
||||
@@ -93,6 +100,7 @@ const features = [
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.features { padding: 2rem 1rem 6rem; }
|
||||
.features-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
|
||||
@@ -7,16 +7,18 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
<span class="footer-logo">Understand Anything</span>
|
||||
<div class="footer-links">
|
||||
<a href={githubUrl} target="_blank" rel="noopener noreferrer">GitHub</a>
|
||||
<span class="footer-sep">·</span>
|
||||
<a href={`${githubUrl}/blob/main/LICENSE`} target="_blank" rel="noopener noreferrer">License</a>
|
||||
<span class="footer-sep">·</span>
|
||||
<a href="/Understand-Anything/demo/">Live Demo</a>
|
||||
<span class="footer-sep">·</span>
|
||||
<a href={`${githubUrl}/blob/main/LICENSE`} target="_blank" rel="noopener noreferrer">MIT License</a>
|
||||
</div>
|
||||
<p class="footer-note">Built for AI coding assistants</p>
|
||||
<p class="footer-note">Graphs that teach. Built for AI coding assistants.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
.footer {
|
||||
padding: 3rem 2rem;
|
||||
padding: 4rem 2rem;
|
||||
border-top: 1px solid var(--border);
|
||||
text-align: center;
|
||||
}
|
||||
@@ -28,14 +30,14 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
|
||||
.footer-logo {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 1.1rem;
|
||||
font-size: 1.15rem;
|
||||
color: var(--text);
|
||||
display: block;
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
@@ -51,7 +53,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
|
||||
.footer-sep {
|
||||
color: var(--border);
|
||||
margin: 0 0.5rem;
|
||||
margin: 0 0.6rem;
|
||||
}
|
||||
|
||||
.footer-note {
|
||||
|
||||
@@ -7,17 +7,33 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
<img src="/Understand-Anything/images/hero.jpg" alt="" class="hero-bg-img" loading="eager" />
|
||||
<div class="hero-overlay"></div>
|
||||
</div>
|
||||
|
||||
<div class="hero-content">
|
||||
<h1 class="hero-title">Understand Any Codebase</h1>
|
||||
<p class="hero-sub">
|
||||
Turn 200,000 lines of code into an interactive knowledge graph you can
|
||||
explore, search, and learn from — powered by multi-agent AI analysis.
|
||||
<span class="hero-badge anim anim-1">AI-Powered Code Understanding</span>
|
||||
|
||||
<h1 class="hero-title anim anim-2">
|
||||
<span style="display:inline-block;background:linear-gradient(135deg,#c9867a,#b8865c,#d4a574);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;">Understand</span> Anything
|
||||
</h1>
|
||||
|
||||
<p class="hero-tagline anim anim-3">
|
||||
Other tools show you a <span class="hero-problem">hairball</span>.
|
||||
We <span class="hero-value">teach</span> you the codebase.
|
||||
</p>
|
||||
<div class="hero-actions">
|
||||
|
||||
<div class="hero-pillars anim anim-4">
|
||||
<span class="pillar">Structure & Dependencies</span>
|
||||
<span class="pillar-dot">·</span>
|
||||
<span class="pillar">Business Logic</span>
|
||||
<span class="pillar-dot">·</span>
|
||||
<span class="pillar">Guided Tours</span>
|
||||
</div>
|
||||
|
||||
<div class="hero-actions anim anim-5">
|
||||
<a href="#install" class="hero-cta">Get Started</a>
|
||||
<a href="/Understand-Anything/demo/" class="hero-demo">Live Demo →</a>
|
||||
<a href={githubUrl} target="_blank" rel="noopener noreferrer" class="hero-secondary">
|
||||
View on GitHub →
|
||||
<svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor" style="vertical-align:-2px;margin-right:4px;"><path d="M12 .587l3.668 7.568L24 9.306l-6 5.986 1.416 8.421L12 19.897l-7.416 3.816L6 15.292 0 9.306l8.332-1.151z"/></svg>
|
||||
Star on GitHub
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -32,6 +48,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.hero-bg {
|
||||
@@ -44,7 +61,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
opacity: 0.25;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.hero-overlay {
|
||||
@@ -52,8 +69,8 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
inset: 0;
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
rgba(10, 10, 10, 0.3) 0%,
|
||||
rgba(10, 10, 10, 0.7) 60%,
|
||||
rgba(10, 10, 10, 0.4) 0%,
|
||||
rgba(10, 10, 10, 0.75) 55%,
|
||||
var(--bg) 100%
|
||||
);
|
||||
}
|
||||
@@ -61,84 +78,177 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 800px;
|
||||
padding: 2rem;
|
||||
animation: fadeSlideUp 1s ease-out;
|
||||
max-width: 900px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
/* Badge */
|
||||
.hero-badge {
|
||||
display: inline-block;
|
||||
font-family: var(--font-code);
|
||||
font-size: 0.8rem;
|
||||
letter-spacing: 0.08em;
|
||||
color: #d4a574;
|
||||
border: 1px solid rgba(212, 165, 116, 0.3);
|
||||
padding: 0.4rem 1.2rem;
|
||||
border-radius: 100px;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
/* Headline */
|
||||
.hero-title {
|
||||
font-family: var(--font-heading);
|
||||
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
||||
color: var(--text);
|
||||
line-height: 1.1;
|
||||
margin-bottom: 1.5rem;
|
||||
text-shadow: 0 0 60px var(--accent-glow);
|
||||
font-size: clamp(3.5rem, 9vw, 7rem);
|
||||
color: #e8e2d8;
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.025em;
|
||||
margin-bottom: 2rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.hero-sub {
|
||||
font-size: clamp(1rem, 2vw, 1.25rem);
|
||||
color: var(--text-muted);
|
||||
.hero-grad {
|
||||
display: inline-block;
|
||||
background: linear-gradient(135deg, #c9867a, #b8865c, #d4a574);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
/* Tagline */
|
||||
.hero-tagline {
|
||||
font-size: clamp(1.1rem, 2vw, 1.4rem);
|
||||
color: #8a8578;
|
||||
line-height: 1.7;
|
||||
max-width: 600px;
|
||||
margin: 0 auto 2.5rem;
|
||||
max-width: 900px;
|
||||
white-space: nowrap;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.hero-problem {
|
||||
color: #c9867a;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hero-value {
|
||||
color: #d4a574;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Pillars */
|
||||
.hero-pillars {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 3rem;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.pillar {
|
||||
font-size: 0.9rem;
|
||||
color: #e8e2d8;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.pillar-dot {
|
||||
color: #d4a574;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* CTAs */
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
gap: 1.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.hero-cta {
|
||||
background: var(--accent);
|
||||
color: var(--bg);
|
||||
background: #d4a574;
|
||||
color: #0a0a0a;
|
||||
padding: 0.85rem 2.5rem;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
font-size: 1.05rem;
|
||||
text-decoration: none;
|
||||
transition: box-shadow 0.3s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.hero-cta:hover {
|
||||
text-decoration: none;
|
||||
box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(212, 165, 116, 0.08);
|
||||
box-shadow: 0 0 30px rgba(212, 165, 116, 0.15), 0 0 60px rgba(212, 165, 116, 0.08);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.hero-demo {
|
||||
border: 1.5px solid var(--accent);
|
||||
color: var(--accent);
|
||||
border: 1.5px solid #d4a574;
|
||||
color: #d4a574;
|
||||
padding: 0.85rem 2.5rem;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
font-size: 1.05rem;
|
||||
text-decoration: none;
|
||||
transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.hero-demo:hover {
|
||||
background: rgba(212, 165, 116, 0.1);
|
||||
box-shadow: 0 0 20px var(--accent-glow);
|
||||
box-shadow: 0 0 20px rgba(212, 165, 116, 0.15);
|
||||
transform: translateY(-2px);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.hero-secondary {
|
||||
color: var(--text-muted);
|
||||
font-size: 1rem;
|
||||
color: #8a8578;
|
||||
font-size: 0.95rem;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.hero-secondary:hover {
|
||||
color: var(--accent);
|
||||
color: #d4a574;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Staggered entrance */
|
||||
@keyframes heroIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(24px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.anim {
|
||||
opacity: 0;
|
||||
animation: heroIn 0.8s ease-out forwards;
|
||||
}
|
||||
|
||||
.anim-1 { animation-delay: 0.1s; }
|
||||
.anim-2 { animation-delay: 0.3s; }
|
||||
.anim-3 { animation-delay: 0.55s; }
|
||||
.anim-4 { animation-delay: 0.75s; }
|
||||
.anim-5 { animation-delay: 0.95s; }
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.hero-pillars { gap: 0.5rem; }
|
||||
.pillar { font-size: 0.8rem; }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.hero-actions { flex-direction: column; gap: 1rem; }
|
||||
.hero-pillars { flex-direction: column; gap: 0.4rem; }
|
||||
.pillar-dot { display: none; }
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,12 +1,19 @@
|
||||
<section class="install" id="install">
|
||||
<div class="install-inner reveal">
|
||||
<h2 class="install-title">Get started in 30 seconds</h2>
|
||||
<h2 class="install-title">Get started in <span class="grad">30 seconds</span>.</h2>
|
||||
<div class="install-code">
|
||||
<div class="install-code-header">
|
||||
<span class="install-code-dot"></span>
|
||||
<span class="install-code-label">Claude Code</span>
|
||||
<button class="install-copy" id="copy-btn" type="button" aria-label="Copy to clipboard">
|
||||
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
|
||||
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
|
||||
</svg>
|
||||
<span class="install-copy-label">Copy</span>
|
||||
</button>
|
||||
</div>
|
||||
<pre><code><span class="cmd">/plugin marketplace add</span> Lum1104/Understand-Anything
|
||||
<pre id="install-snippet"><code><span class="cmd">/plugin marketplace add</span> Lum1104/Understand-Anything
|
||||
<span class="cmd">/plugin install</span> understand-anything
|
||||
<span class="cmd">/understand</span></code></pre>
|
||||
</div>
|
||||
@@ -14,14 +21,30 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
const btn = document.getElementById('copy-btn');
|
||||
const snippet = document.getElementById('install-snippet');
|
||||
if (btn && snippet) {
|
||||
btn.addEventListener('click', async () => {
|
||||
const text = snippet.textContent || '';
|
||||
await navigator.clipboard.writeText(text.trim());
|
||||
const label = btn.querySelector('.install-copy-label');
|
||||
if (label) {
|
||||
label.textContent = 'Copied!';
|
||||
setTimeout(() => { label.textContent = 'Copy'; }, 2000);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.install {
|
||||
padding: 6rem 2rem;
|
||||
padding: 8rem 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.install-inner {
|
||||
max-width: 640px;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@@ -29,7 +52,7 @@
|
||||
font-family: var(--font-heading);
|
||||
font-size: clamp(1.5rem, 3vw, 2.25rem);
|
||||
color: var(--text);
|
||||
margin-bottom: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.install-code {
|
||||
@@ -60,6 +83,27 @@
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
font-family: var(--font-code);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.install-copy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
background: none;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 0.3rem 0.6rem;
|
||||
color: var(--text-muted);
|
||||
font-family: var(--font-code);
|
||||
font-size: 0.75rem;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s, border-color 0.2s;
|
||||
}
|
||||
|
||||
.install-copy:hover {
|
||||
color: var(--accent);
|
||||
border-color: rgba(212, 165, 116, 0.3);
|
||||
}
|
||||
|
||||
pre {
|
||||
|
||||
@@ -0,0 +1,220 @@
|
||||
<section class="problem">
|
||||
<h2 class="problem-heading reveal">
|
||||
Most code graphs show you <span style="display:inline;background:linear-gradient(135deg,#c9867a,#b8865c);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;">structure</span>.<br />
|
||||
Files, functions, edges. A map with no legend.
|
||||
</h2>
|
||||
<p class="problem-promise reveal">
|
||||
We show you <span style="display:inline;background:linear-gradient(135deg,#b8865c,#d4a574);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;">meaning</span> —
|
||||
how your code maps to real business domains, processes, and flows.
|
||||
</p>
|
||||
|
||||
<div class="problem-compare reveal reveal-delay-1">
|
||||
<div class="problem-card problem-card--them">
|
||||
<div class="problem-card-label">Typical code graph</div>
|
||||
<div class="problem-card-visual">
|
||||
<svg viewBox="0 0 320 200" class="hairball" aria-label="A tangled, unreadable graph of dots and lines">
|
||||
<!-- scattered nodes -->
|
||||
<circle cx="60" cy="40" r="6" /><circle cx="140" cy="25" r="8" />
|
||||
<circle cx="220" cy="50" r="5" /><circle cx="280" cy="30" r="7" />
|
||||
<circle cx="40" cy="100" r="7" /><circle cx="100" cy="80" r="5" />
|
||||
<circle cx="170" cy="95" r="9" /><circle cx="250" cy="90" r="6" />
|
||||
<circle cx="300" cy="110" r="5" /><circle cx="80" cy="150" r="6" />
|
||||
<circle cx="150" cy="160" r="7" /><circle cx="210" cy="145" r="5" />
|
||||
<circle cx="270" cy="165" r="8" /><circle cx="120" cy="120" r="4" />
|
||||
<circle cx="190" cy="130" r="6" /><circle cx="50" cy="180" r="5" />
|
||||
<circle cx="160" cy="185" r="4" /><circle cx="240" cy="180" r="6" />
|
||||
<!-- tangled edges -->
|
||||
<line x1="60" y1="40" x2="140" y2="25" /><line x1="140" y1="25" x2="220" y2="50" />
|
||||
<line x1="220" y1="50" x2="280" y2="30" /><line x1="40" y1="100" x2="170" y2="95" />
|
||||
<line x1="100" y1="80" x2="250" y2="90" /><line x1="170" y1="95" x2="300" y2="110" />
|
||||
<line x1="60" y1="40" x2="100" y2="80" /><line x1="140" y1="25" x2="170" y2="95" />
|
||||
<line x1="80" y1="150" x2="150" y2="160" /><line x1="150" y1="160" x2="270" y2="165" />
|
||||
<line x1="120" y1="120" x2="190" y2="130" /><line x1="190" y1="130" x2="210" y2="145" />
|
||||
<line x1="40" y1="100" x2="80" y2="150" /><line x1="250" y1="90" x2="270" y2="165" />
|
||||
<line x1="100" y1="80" x2="120" y2="120" /><line x1="170" y1="95" x2="150" y2="160" />
|
||||
<line x1="280" y1="30" x2="300" y2="110" /><line x1="210" y1="145" x2="240" y2="180" />
|
||||
<line x1="50" y1="180" x2="160" y2="185" /><line x1="160" y1="185" x2="240" y2="180" />
|
||||
<line x1="60" y1="40" x2="250" y2="90" /><line x1="40" y1="100" x2="210" y2="145" />
|
||||
<line x1="120" y1="120" x2="270" y2="165" /><line x1="80" y1="150" x2="190" y2="130" />
|
||||
</svg>
|
||||
</div>
|
||||
<p class="problem-card-caption">23 nodes. 34 edges. Now what?</p>
|
||||
</div>
|
||||
|
||||
<div class="problem-card problem-card--us">
|
||||
<div class="problem-card-label">Understand Anything</div>
|
||||
<div class="problem-card-visual">
|
||||
<div class="domain-preview">
|
||||
<div class="domain-group">
|
||||
<span class="domain-badge">Authentication</span>
|
||||
<span class="domain-item">login()</span>
|
||||
<span class="domain-item">verify_token()</span>
|
||||
<span class="domain-item">session management</span>
|
||||
</div>
|
||||
<div class="domain-group">
|
||||
<span class="domain-badge">User Lifecycle</span>
|
||||
<span class="domain-item">create_user()</span>
|
||||
<span class="domain-item">get_profile()</span>
|
||||
<span class="domain-item">permissions</span>
|
||||
</div>
|
||||
<div class="domain-group">
|
||||
<span class="domain-badge">Data Layer</span>
|
||||
<span class="domain-item">db_connect()</span>
|
||||
<span class="domain-item">migrations</span>
|
||||
<span class="domain-item">models</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="problem-card-caption">Auth flow. Session management. Now you understand.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.problem {
|
||||
padding: 8rem 2rem 10rem;
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.problem-heading {
|
||||
font-family: var(--font-heading);
|
||||
font-size: clamp(1.5rem, 4vw, 2.5rem);
|
||||
color: var(--text-muted);
|
||||
line-height: 1.4;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.problem-promise {
|
||||
font-family: var(--font-heading);
|
||||
font-size: clamp(1.3rem, 3.5vw, 2.2rem);
|
||||
color: var(--text);
|
||||
line-height: 1.4;
|
||||
max-width: 700px;
|
||||
margin: 0 auto 4rem;
|
||||
}
|
||||
|
||||
.grad-warm {
|
||||
background: linear-gradient(135deg, var(--grad-mid), var(--grad-warm));
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.problem-compare {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.problem-card {
|
||||
border-radius: 16px;
|
||||
padding: 2rem;
|
||||
border: 1px solid var(--border);
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.problem-card--them {
|
||||
background: var(--surface);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.problem-card--us {
|
||||
background: var(--surface);
|
||||
border-color: rgba(212, 165, 116, 0.2);
|
||||
box-shadow: 0 0 40px var(--accent-glow);
|
||||
}
|
||||
|
||||
.problem-card-label {
|
||||
font-family: var(--font-code);
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.problem-card--us .problem-card-label {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.problem-card-visual {
|
||||
min-height: 200px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
/* Hairball SVG */
|
||||
.hairball {
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.hairball circle {
|
||||
fill: var(--text-muted);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.hairball line {
|
||||
stroke: var(--text-muted);
|
||||
stroke-width: 0.8;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
/* Domain preview */
|
||||
.domain-preview {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.domain-group {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.domain-badge {
|
||||
background: linear-gradient(135deg, rgba(201, 134, 122, 0.15), rgba(212, 165, 116, 0.15));
|
||||
border: 1px solid rgba(212, 165, 116, 0.3);
|
||||
color: var(--text);
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
padding: 0.4rem 0.85rem;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.domain-item {
|
||||
font-family: var(--font-code);
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
padding: 0.3rem 0.6rem;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.problem-card-caption {
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-muted);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.problem-card--us .problem-card-caption {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.problem { padding: 4rem 1rem 6rem; }
|
||||
.problem-compare {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -3,14 +3,23 @@ const structuralVideoUrl = import.meta.env.VITE_STRUCTURAL_VIDEO_URL;
|
||||
const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL;
|
||||
---
|
||||
|
||||
<section class="showcase">
|
||||
<p class="showcase-label reveal">Explore the structural graph</p>
|
||||
<p class="showcase-desc reveal">Navigate your codebase as an interactive knowledge graph — click, search, and explore every file, function, and class.</p>
|
||||
<!-- Structural: table stakes -->
|
||||
<section class="showcase showcase--structural">
|
||||
<span class="showcase-label reveal">Structural View</span>
|
||||
<h2 class="showcase-heading reveal">
|
||||
Yes, we do <span style="display:inline;background:linear-gradient(135deg,#c9867a,#b8865c,#d4a574);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;">structure</span> too
|
||||
</h2>
|
||||
<p class="showcase-desc reveal">
|
||||
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.
|
||||
</p>
|
||||
<div class="showcase-frame reveal reveal-delay-1">
|
||||
<div class="showcase-titlebar">
|
||||
<span class="dot red"></span>
|
||||
<span class="dot yellow"></span>
|
||||
<span class="dot green"></span>
|
||||
<span class="showcase-titlebar-text">Structural Graph</span>
|
||||
</div>
|
||||
{structuralVideoUrl ? (
|
||||
<video
|
||||
@@ -19,25 +28,43 @@ const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL;
|
||||
loop
|
||||
muted
|
||||
playsinline
|
||||
class="showcase-img"
|
||||
class="showcase-media"
|
||||
/>
|
||||
) : (
|
||||
<img
|
||||
src="/Understand-Anything/images/overview-structural.gif"
|
||||
alt="Structural graph — explore files, functions, classes and their relationships"
|
||||
class="showcase-img"
|
||||
class="showcase-media"
|
||||
loading="lazy"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div class="showcase-features reveal reveal-delay-2">
|
||||
<span class="showcase-pill">Hierarchical drill-down</span>
|
||||
<span class="showcase-pill">Fuzzy search</span>
|
||||
<span class="showcase-pill">Filter by type</span>
|
||||
<span class="showcase-pill">26+ file types</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<p class="showcase-label reveal" style="margin-top: 4rem;">Understand business logic</p>
|
||||
<p class="showcase-desc reveal">Switch to the domain view and see how your code maps to real business processes.</p>
|
||||
<div class="showcase-frame reveal reveal-delay-1">
|
||||
<!-- Business Knowledge: the star -->
|
||||
<section class="showcase showcase--domain">
|
||||
<span class="showcase-label showcase-label--accent reveal">Business Knowledge Mode</span>
|
||||
<h2 class="showcase-heading reveal">
|
||||
Now see what the code is <span style="display:inline;background:linear-gradient(135deg,#b8865c,#d4a574);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;">for</span>
|
||||
</h2>
|
||||
<p class="showcase-desc showcase-desc--wide reveal">
|
||||
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.
|
||||
<strong>Domains, processes, and the logic that drives your product.</strong>
|
||||
</p>
|
||||
<div class="showcase-frame showcase-frame--featured reveal reveal-delay-1">
|
||||
<div class="showcase-titlebar">
|
||||
<span class="dot red"></span>
|
||||
<span class="dot yellow"></span>
|
||||
<span class="dot green"></span>
|
||||
<span class="showcase-titlebar-text">Business Knowledge Graph</span>
|
||||
</div>
|
||||
{domainVideoUrl ? (
|
||||
<video
|
||||
@@ -46,50 +73,96 @@ const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL;
|
||||
loop
|
||||
muted
|
||||
playsinline
|
||||
class="showcase-img"
|
||||
class="showcase-media"
|
||||
/>
|
||||
) : (
|
||||
<img
|
||||
src="/Understand-Anything/images/overview-domain.gif"
|
||||
alt="Domain graph — business domains, flows, and process steps"
|
||||
class="showcase-img"
|
||||
class="showcase-media"
|
||||
loading="lazy"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div class="showcase-features reveal reveal-delay-2">
|
||||
<span class="showcase-pill showcase-pill--accent">Domain mapping</span>
|
||||
<span class="showcase-pill showcase-pill--accent">Business flows</span>
|
||||
<span class="showcase-pill showcase-pill--accent">Process steps</span>
|
||||
<span class="showcase-pill showcase-pill--accent">AI-generated tours</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.showcase {
|
||||
padding: 4rem 2rem 6rem;
|
||||
padding: 6rem 2rem 4rem;
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.showcase--domain {
|
||||
padding: 8rem 2rem 6rem;
|
||||
}
|
||||
|
||||
/* Section label */
|
||||
.showcase-label {
|
||||
display: inline-block;
|
||||
font-family: var(--font-code);
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-muted);
|
||||
border: 1px solid var(--border);
|
||||
padding: 0.3rem 1rem;
|
||||
border-radius: 100px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.showcase-label--accent {
|
||||
color: #d4a574;
|
||||
border-color: rgba(212, 165, 116, 0.3);
|
||||
}
|
||||
|
||||
/* Heading */
|
||||
.showcase-heading {
|
||||
font-family: var(--font-heading);
|
||||
font-size: clamp(1.25rem, 3vw, 1.75rem);
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 2.5rem;
|
||||
font-size: clamp(1.75rem, 4.5vw, 3rem);
|
||||
color: var(--text);
|
||||
margin-bottom: 1.5rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
/* Description */
|
||||
.showcase-desc {
|
||||
font-size: clamp(0.9rem, 1.5vw, 1.05rem);
|
||||
font-size: clamp(0.95rem, 1.5vw, 1.1rem);
|
||||
color: var(--text-muted);
|
||||
max-width: 700px;
|
||||
margin: 0 auto 2rem;
|
||||
line-height: 1.6;
|
||||
max-width: 600px;
|
||||
margin: 0 auto 3rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.showcase-desc--wide {
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
.showcase-desc strong {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* macOS frame */
|
||||
.showcase-frame {
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.showcase-frame--featured {
|
||||
border-color: rgba(212, 165, 116, 0.2);
|
||||
box-shadow:
|
||||
0 0 40px var(--accent-glow),
|
||||
0 25px 50px rgba(0, 0, 0, 0.5);
|
||||
0 0 60px rgba(212, 165, 116, 0.1),
|
||||
0 30px 60px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.showcase-titlebar {
|
||||
@@ -101,6 +174,15 @@ const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.showcase-titlebar-text {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-family: var(--font-code);
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-muted);
|
||||
margin-right: 30px; /* offset for dots */
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
@@ -111,13 +193,43 @@ const domainVideoUrl = import.meta.env.VITE_DOMAIN_VIDEO_URL;
|
||||
.dot.yellow { background: #ffbd2e; }
|
||||
.dot.green { background: #28c840; }
|
||||
|
||||
.showcase-img {
|
||||
.showcase-media {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Feature pills below frame */
|
||||
.showcase-features {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
margin-top: 2rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.showcase-pill {
|
||||
font-family: var(--font-code);
|
||||
font-size: 0.8rem;
|
||||
color: #8a8578;
|
||||
padding: 0.4rem 1rem;
|
||||
border: 1px solid rgba(138, 133, 120, 0.25);
|
||||
border-radius: 100px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.showcase-pill--accent {
|
||||
color: #d4a574;
|
||||
border-color: rgba(212, 165, 116, 0.3);
|
||||
background: rgba(212, 165, 116, 0.06);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.showcase { padding: 2rem 1rem 4rem; }
|
||||
.showcase { padding: 4rem 1rem 2rem; }
|
||||
.showcase--domain { padding: 4rem 1rem 4rem; }
|
||||
.showcase-features { gap: 0.5rem; }
|
||||
.showcase-pill { font-size: 0.7rem; padding: 0.25rem 0.65rem; }
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -2,15 +2,17 @@
|
||||
import Layout from '../layouts/Layout.astro';
|
||||
import Nav from '../components/Nav.astro';
|
||||
import Hero from '../components/Hero.astro';
|
||||
import Problem from '../components/Problem.astro';
|
||||
import Showcase from '../components/Showcase.astro';
|
||||
import Features from '../components/Features.astro';
|
||||
import Install from '../components/Install.astro';
|
||||
import Footer from '../components/Footer.astro';
|
||||
---
|
||||
|
||||
<Layout title="Understand Anything — Turn any codebase into a knowledge graph">
|
||||
<Layout title="Understand Anything — Graphs that teach the codebase">
|
||||
<Nav />
|
||||
<Hero />
|
||||
<Problem />
|
||||
<Showcase />
|
||||
<Features />
|
||||
<Install />
|
||||
|
||||
@@ -41,6 +41,12 @@
|
||||
--text: #e8e2d8;
|
||||
--text-muted: #8a8578;
|
||||
|
||||
/* Gradient sweep: rose gold → gold */
|
||||
--grad-cool: #c9867a;
|
||||
--grad-mid: #b8865c;
|
||||
--grad-warm: #d4a574;
|
||||
--gradient: linear-gradient(135deg, var(--grad-cool), var(--grad-mid), var(--grad-warm));
|
||||
|
||||
--font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
|
||||
--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
--font-code: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
|
||||
@@ -102,6 +108,14 @@ body::before {
|
||||
.reveal-delay-2 { animation-delay: 0.25s; }
|
||||
.reveal-delay-3 { animation-delay: 0.4s; }
|
||||
|
||||
/* Gradient text utility */
|
||||
.grad {
|
||||
background: var(--gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user