diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 8adfc47e8..6ab869aed 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -48,6 +48,12 @@ export default defineConfig({ }, }, vite: { + server: { + // The waitlist forms POST same-origin, and the API dev server has CORS turned off. + proxy: { + '/api/waitlist': 'http://localhost:3000', + }, + }, resolve: { alias: [ { @@ -89,6 +95,8 @@ export default defineConfig({ 'packages.md', 'showcase.md', 'sponsor.md', + 'mcp.md', + 'waitlist/confirmed.md', 'brand-logo-statement.md', 'icons/**', // Not working, need investigation ], @@ -118,6 +126,7 @@ export default defineConfig({ }, { text: 'Packages', link: '/packages' }, { text: 'Showcase', link: '/showcase' }, + { text: 'MCP SOON', link: '/mcp' }, { text: 'Merch', link: 'https://merch.lucide.dev/' }, ], sidebar, @@ -150,5 +159,6 @@ export default defineConfig({ }, sitemap: { hostname: 'https://lucide.dev/', + transformItems: (items) => items.filter(({ url }) => !url.startsWith('waitlist/')), }, }); diff --git a/docs/.vitepress/theme/components/waitlist/McpDiagram.vue b/docs/.vitepress/theme/components/waitlist/McpDiagram.vue new file mode 100644 index 000000000..aedf1e018 --- /dev/null +++ b/docs/.vitepress/theme/components/waitlist/McpDiagram.vue @@ -0,0 +1,386 @@ + + + + + diff --git a/docs/.vitepress/theme/components/waitlist/WaitlistConfirmed.vue b/docs/.vitepress/theme/components/waitlist/WaitlistConfirmed.vue new file mode 100644 index 000000000..b4c3a28f6 --- /dev/null +++ b/docs/.vitepress/theme/components/waitlist/WaitlistConfirmed.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/docs/.vitepress/theme/components/waitlist/WaitlistForm.vue b/docs/.vitepress/theme/components/waitlist/WaitlistForm.vue new file mode 100644 index 000000000..68fa9d297 --- /dev/null +++ b/docs/.vitepress/theme/components/waitlist/WaitlistForm.vue @@ -0,0 +1,197 @@ + + + + + diff --git a/docs/.vitepress/theme/components/waitlist/WaitlistHero.vue b/docs/.vitepress/theme/components/waitlist/WaitlistHero.vue new file mode 100644 index 000000000..cd9c410aa --- /dev/null +++ b/docs/.vitepress/theme/components/waitlist/WaitlistHero.vue @@ -0,0 +1,118 @@ + + + + + diff --git a/docs/.vitepress/theme/components/waitlist/WaitlistSurvey.vue b/docs/.vitepress/theme/components/waitlist/WaitlistSurvey.vue new file mode 100644 index 000000000..6f1291243 --- /dev/null +++ b/docs/.vitepress/theme/components/waitlist/WaitlistSurvey.vue @@ -0,0 +1,167 @@ + + +