From dbb4e94808da92ff907c5db4688317b8e7428004 Mon Sep 17 00:00:00 2001 From: Lum1104 Date: Sun, 19 Apr 2026 12:23:32 +0800 Subject: [PATCH] chore: migrate homepage and demo to understand-anything.com Drops the /Understand-Anything subpath and retargets the site at the apex custom domain served through GitHub Pages. Co-Authored-By: Claude Opus 4.7 (1M context) --- homepage/astro.config.mjs | 3 +-- homepage/public/CNAME | 1 + homepage/src/components/Footer.astro | 2 +- homepage/src/components/Hero.astro | 4 ++-- homepage/src/components/Nav.astro | 2 +- homepage/src/components/Showcase.astro | 2 +- homepage/src/layouts/Layout.astro | 2 +- homepage/src/styles/global.css | 8 ++++---- .../packages/dashboard/vite.config.demo.ts | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 homepage/public/CNAME diff --git a/homepage/astro.config.mjs b/homepage/astro.config.mjs index accaa86..88fe2f7 100644 --- a/homepage/astro.config.mjs +++ b/homepage/astro.config.mjs @@ -3,6 +3,5 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config export default defineConfig({ - site: 'https://lum1104.github.io', - base: '/Understand-Anything', + site: 'https://understand-anything.com', }); diff --git a/homepage/public/CNAME b/homepage/public/CNAME new file mode 100644 index 0000000..483c860 --- /dev/null +++ b/homepage/public/CNAME @@ -0,0 +1 @@ +understand-anything.com diff --git a/homepage/src/components/Footer.astro b/homepage/src/components/Footer.astro index 56aee25..45b58ab 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'; diff --git a/homepage/src/components/Hero.astro b/homepage/src/components/Hero.astro index ad91e92..db8deb6 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';
- +
@@ -30,7 +30,7 @@ const githubUrl = 'https://github.com/Lum1104/Understand-Anything';
Get Started - Live Demo → + Live Demo → Star on GitHub diff --git a/homepage/src/components/Nav.astro b/homepage/src/components/Nav.astro index 15a6517..7b62a33 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';