Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
chore: migrate homepage and demo to understand-anything.com
Lum1104dbb4e94808da
diff --git a/homepage/astro.config.mjs b/homepage/astro.config.mjsindex accaa86d..88fe2f7f 100644--- a/homepage/astro.config.mjs+++ b/homepage/astro.config.mjs@@ -3,6 +3,5 @@ import { defineConfig } from 'astro/config';// https://astro.build/configexport default defineConfig({- site: 'https://lum1104.github.io',- base: '/Understand-Anything',+ site: 'https://understand-anything.com',});diff --git a/homepage/public/CNAME b/homepage/public/CNAMEnew file mode 100644index 00000000..483c8606--- /dev/null+++ b/homepage/public/CNAME@@ -0,0 +1 @@+understand-anything.comdiff --git a/homepage/src/components/Footer.astro b/homepage/src/components/Footer.astroindex 56aee25f..45b58ab8 100644--- a/homepage/src/components/Footer.astro+++ b/homepage/src/components/Footer.astro@@ -8,7 +8,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';<div class="footer-links"><a href={githubUrl} target="_blank" rel="noopener noreferrer">GitHub</a><span class="footer-sep">·</span>- <a href="/Understand-Anything/demo/">Live Demo</a>+ <a href="/demo/">Live Demo</a><span class="footer-sep">·</span><a href={`${githubUrl}/blob/main/LICENSE`} target="_blank" rel="noopener noreferrer">MIT License</a></div>diff --git a/homepage/src/components/Hero.astro b/homepage/src/components/Hero.astroindex ad91e92d..db8deb61 100644--- a/homepage/src/components/Hero.astro+++ b/homepage/src/components/Hero.astro@@ -4,7 +4,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';<section class="hero"><div class="hero-bg">- <img src="/Understand-Anything/images/hero.jpg" alt="" class="hero-bg-img" loading="eager" />+ <img src="/images/hero.jpg" alt="" class="hero-bg-img" loading="eager" /><div class="hero-overlay"></div></div>@@ -30,7 +30,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';<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="/demo/" class="hero-demo">Live Demo →</a><a href={githubUrl} target="_blank" rel="noopener noreferrer" class="hero-secondary"><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 GitHubdiff --git a/homepage/src/components/Nav.astro b/homepage/src/components/Nav.astroindex 15a65177..7b62a338 100644--- a/homepage/src/components/Nav.astro+++ b/homepage/src/components/Nav.astro@@ -4,7 +4,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';<nav class="nav" id="nav"><div class="nav-inner">- <a href="/Understand-Anything/" class="nav-logo">Understand Anything</a>+ <a href="/" class="nav-logo">Understand Anything</a><div class="nav-links"><a href={githubUrl} target="_blank" rel="noopener noreferrer" class="nav-github"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true">diff --git a/homepage/src/components/Showcase.astro b/homepage/src/components/Showcase.astroindex 2dfcf990..f7108d70 100644--- a/homepage/src/components/Showcase.astro+++ b/homepage/src/components/Showcase.astro@@ -1,5 +1,5 @@----const base = import.meta.env.BASE_URL; /* /Understand-Anything/ in prod */+const base = import.meta.env.BASE_URL; /* "/" after custom domain migration */const demoUrl = `${base.endsWith('/') ? base : base + '/'}demo/index.html`;---diff --git a/homepage/src/layouts/Layout.astro b/homepage/src/layouts/Layout.astroindex 057262b9..3dc5ca8e 100644--- a/homepage/src/layouts/Layout.astro+++ b/homepage/src/layouts/Layout.astro@@ -12,7 +12,7 @@ const { title } = Astro.props;<meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="Turn any codebase into an interactive knowledge graph you can explore, search, and learn from." />- <link rel="icon" type="image/svg+xml" href="/Understand-Anything/favicon.svg" />+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" /><title>{title}</title></head><body>diff --git a/homepage/src/styles/global.css b/homepage/src/styles/global.cssindex 225c4d46..39ccabf4 100644--- a/homepage/src/styles/global.css+++ b/homepage/src/styles/global.css@@ -1,7 +1,7 @@/* Font declarations — self-hosted, no external CDN dependency */@font-face {font-family: 'DM Serif Display';- src: url('/Understand-Anything/fonts/DMSerifDisplay-Regular.woff2') format('woff2');+ src: url('/fonts/DMSerifDisplay-Regular.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap;@@ -9,7 +9,7 @@@font-face {font-family: 'Inter';- src: url('/Understand-Anything/fonts/Inter-Regular.woff2') format('woff2');+ src: url('/fonts/Inter-Regular.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap;@@ -17,7 +17,7 @@@font-face {font-family: 'Inter';- src: url('/Understand-Anything/fonts/Inter-SemiBold.woff2') format('woff2');+ src: url('/fonts/Inter-SemiBold.woff2') format('woff2');font-weight: 600;font-style: normal;font-display: swap;@@ -25,7 +25,7 @@@font-face {font-family: 'JetBrains Mono';- src: url('/Understand-Anything/fonts/JetBrainsMono-Regular.woff2') format('woff2');+ src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap;diff --git a/understand-anything-plugin/packages/dashboard/vite.config.demo.ts b/understand-anything-plugin/packages/dashboard/vite.config.demo.tsindex aa616bcf..d0105fc8 100644--- a/understand-anything-plugin/packages/dashboard/vite.config.demo.ts+++ b/understand-anything-plugin/packages/dashboard/vite.config.demo.ts@@ -4,7 +4,7 @@ import tailwindcss from "@tailwindcss/vite";import path from "path";export default defineConfig({- base: "/Understand-Anything/demo/",+ base: "/demo/",resolve: {alias: {