diff --git a/src/data/mindmap.ts b/src/data/mindmap.ts new file mode 100644 index 0000000..fff5f3b --- /dev/null +++ b/src/data/mindmap.ts @@ -0,0 +1,7 @@ +// Mindmap's "Try Mindmap" buttons (home page and the Projects card) read this. +// `enabled: true` links both to the live app; set it to false to show them as +// disabled, non-link buttons instead. +export const mindmap = { + url: 'https://mindmap.thoughtful-ai.com/', + enabled: true, +} as const; diff --git a/src/pages/index.astro b/src/pages/index.astro index 6694282..4c1e863 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,6 +3,7 @@ import Layout from '../layouts/Layout.astro'; import { Image } from 'astro:assets'; import wordDemo from './projects/ai-writers-2024-25/word_demo.png'; +import { mindmap } from '../data/mindmap'; --- @@ -24,10 +25,10 @@ import wordDemo from './projects/ai-writers-2024-25/word_demo.png';

We build AI tools to support sustained goal-directed cognitive effort despite unclear goals and complex situations.

-
+
Try Our App + {mindmap.enabled ? ( + + Try Mindmap + + ) : ( + + Try Mindmap + + )} @@ -45,7 +66,7 @@ import wordDemo from './projects/ai-writers-2024-25/word_demo.png'; diff --git a/src/pages/projects.astro b/src/pages/projects.astro index 507915e..dd45e40 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -1,5 +1,6 @@ --- import Layout from '../layouts/Layout.astro'; +import { mindmap } from '../data/mindmap'; --- @@ -9,6 +10,40 @@ import Layout from '../layouts/Layout.astro';

Projects