From c947d887c8b9280057274b81a9e1b7319970317b Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 28 Jul 2022 00:51:28 +0200 Subject: [PATCH] docs: add social links --- docs2/src/.vitepress/config.ts | 15 ++++++ .../src/.vitepress/theme/layouts/default.vue | 54 ------------------- 2 files changed, 15 insertions(+), 54 deletions(-) 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 @@