diff --git a/docs2/src/.vitepress/config.ts b/docs2/src/.vitepress/config.ts index 3f7ddfc7..0574ceca 100644 --- a/docs2/src/.vitepress/config.ts +++ b/docs2/src/.vitepress/config.ts @@ -82,6 +82,21 @@ export default defineConfigWithTheme({ themeConfig: { logo: '/favicons/android-chrome-512x512.png', + socialLinks: [ + { icon: 'github', link: 'https://github.com/bcakmakoglu/vue-flow' }, + { icon: 'discord', link: 'https://discord.gg/F4v6qE4Fuq' }, + { + icon: { + svg: '', + }, + link: 'https://reactflow.dev/', + }, + ], + algolia: { + appId: 'F7BJNSM4M5', + apiKey: process.env.ALGOLIA_API_KEY!, + indexName: 'vueflow', + }, nav: [ { text: `v${vueFlowVersion.value}`, link: '/' }, { text: 'Guide', link: '/guide/', activeMatch: '^/guide/' }, diff --git a/docs2/src/.vitepress/theme/layouts/default.vue b/docs2/src/.vitepress/theme/layouts/default.vue index 302450ee..fc24349c 100644 --- a/docs2/src/.vitepress/theme/layouts/default.vue +++ b/docs2/src/.vitepress/theme/layouts/default.vue @@ -1,65 +1,11 @@