diff --git a/.markdownlint.json b/.markdownlint.json index 83951752..a9e61989 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -15,5 +15,6 @@ "MD034": false, "MD024": false, "MD022": false, - "MD023": false + "MD023": false, + "MD046": false } diff --git a/app.config.ts b/app.config.ts index 38d99c76..79fc0f17 100644 --- a/app.config.ts +++ b/app.config.ts @@ -102,24 +102,18 @@ export default defineAppConfig({ edit: 'https://github.com/matter-labs/zksync-docs/edit/staging/content', feedback: 'https://github.com/matter-labs/zksync-docs/issues/new?labels=documentation', links: [ - // { - // icon: 'i-heroicons-star', - // label: 'Star on GitHub', - // to: 'https://github.com/nuxt/ui', - // target: '_blank', - // }, - // { - // icon: 'i-heroicons-book-open', - // label: 'Nuxt UI Pro docs', - // to: 'https://ui.nuxt.com/pro/guide', - // target: '_blank', - // }, - // { - // icon: 'i-simple-icons-nuxtdotjs', - // label: 'Purchase a license', - // to: 'https://ui.nuxt.com/pro/purchase', - // target: '_blank', - // }, + { + icon: 'i-heroicons-chat-bubble-oval-left-ellipsis-16-solid', + label: 'Chat on Discord', + to: 'https://join.zksync.dev/', + target: '_blank', + }, + { + icon: 'i-heroicons-user-group-20-solid', + label: 'Developer Forum', + to: 'https://github.com/zkSync-Community-Hub/zkync-developers/discussions', + target: '_blank', + }, ], }, }, diff --git a/bun.lockb b/bun.lockb index 3dd88caf..883b0748 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/content/CheckIcon.vue b/components/content/CheckIcon.vue new file mode 100644 index 00000000..6c9f6ca0 --- /dev/null +++ b/components/content/CheckIcon.vue @@ -0,0 +1,17 @@ + + + diff --git a/components/content/ContentSwitcher.vue b/components/content/ContentSwitcher.vue index 21dd8de6..6e23d6c3 100644 --- a/components/content/ContentSwitcher.vue +++ b/components/content/ContentSwitcher.vue @@ -2,13 +2,15 @@ defineProps<{ items: ContentSwitcherItem[]; }>(); - const selectedIndex = ref(0); function onTabChange(index: number) { selectedIndex.value = index; } const route = useRoute(); +// This splits the path into segments and takes the first one +// TODO: This is a temporary solution, we need to find a better way to get the base path +const basePath = route.path.split('/')[1];