diff --git a/app.vue b/app.vue index 15fb0ca..6a1cbbd 100644 --- a/app.vue +++ b/app.vue @@ -29,6 +29,7 @@ useSeoMeta({ titleTemplate: `%s - ${seo?.siteName}`, ogSiteName: seo?.siteName, ogUrl: 'https://docs.zksync.io/', + ogImage: '/social-card.png', ogImageAlt: 'zkSync — Accelerating the mass adoption of crypto for personal sovereignty.', ogDescription: 'zkSync Docs bring you all information you need about our protocol, APIs, SDKs, ZK Stack, and hyperchains. Start with our guides and tutorials, or go deep into our architecture and protocol specification.', @@ -39,7 +40,7 @@ useSeoMeta({ twitterImageAlt: 'zkSync — Accelerating the mass adoption of crypto for personal sovereignty.', }); -defineOgImage({ component: 'OgImageDocs' }); +defineOgImage({ component: 'OgImageCommunityCode' }); provide('navigation', navigation); diff --git a/bun.lockb b/bun.lockb index 222aae0..98ba5ae 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/OgImage/OgImageCommunityCode.vue b/components/OgImage/OgImageCommunityCode.vue new file mode 100644 index 0000000..cc0e1eb --- /dev/null +++ b/components/OgImage/OgImageCommunityCode.vue @@ -0,0 +1,29 @@ + + + diff --git a/components/OgImage/OgImageDocs.vue b/components/OgImage/OgImageDocs.vue deleted file mode 100644 index f91283f..0000000 --- a/components/OgImage/OgImageDocs.vue +++ /dev/null @@ -1,1704 +0,0 @@ - - - diff --git a/content/index.yml b/content/index.yml index a59aaee..afa9c7b 100644 --- a/content/index.yml +++ b/content/index.yml @@ -1,10 +1,7 @@ -title: 'zkSync Community Cookbook' -description: - Nuxt UI Pro is a collection of premium Vue components built on top of Nuxt UI to create beautiful & responsive Nuxt - applications in minutes. -navigation: false +title: 'zkSync Code Community' +description: Contribute and share code for the zkSync community! features: - title: 'All-in-one docs template' + title: 'Community Contributed Guides for zkSync' links: - label: 'Explore community guides' trailingIcon: 'i-heroicons-arrow-right-20-solid' diff --git a/nuxt.config.ts b/nuxt.config.ts index 6ae8ff9..f122318 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,5 +1,5 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - extends: [['github:matter-labs/docs-nuxt-template#development', { install: true }]], + extends: [['github:matter-labs/docs-nuxt-template', { install: true }]], modules: ['@nuxt/content', '@nuxt/ui', '@nuxt/eslint'], }); diff --git a/package.json b/package.json index 4c5f055..625482c 100644 --- a/package.json +++ b/package.json @@ -18,18 +18,15 @@ "ci:check": "bun run lint:eslint && bun run lint:prettier && bun run lint:spelling && bun run lint:markdown" }, "dependencies": { - "@iconify-json/devicon": "^1.1.40", - "@iconify-json/heroicons": "^1.1.20", - "@iconify-json/simple-icons": "^1.1.97", "@nuxt/content": "^2.12.1", "@nuxt/eslint": "^0.3.10", "@nuxt/fonts": "^0.5.1", - "@nuxt/image": "^1.6.0", + "@nuxt/image": "^1.7.0", "@nuxt/ui": "^2.16.0", "@nuxt/ui-pro": "^1.1.0", "dayjs": "^1.11.10", "nuxt": "^3.11.2", - "nuxt-og-image": "^3.0.0-rc", + "nuxt-og-image": "^3.0.0-rc.53", "rehype-katex": "^7.0.0", "remark-math": "^6.0.0", "vue-tsc": "^2.0.16" diff --git a/pages/index.vue b/pages/index.vue index 3004638..dcb26c3 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -17,7 +17,7 @@ useSeoMeta({