diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml
index aed033fa..7c888389 100644
--- a/.github/workflows/deploy-preview.yml
+++ b/.github/workflows/deploy-preview.yml
@@ -3,6 +3,9 @@ on:
pull_request:
workflow_dispatch:
+env:
+ NUXT_SITE_ENV: staging # used for NuxtSEO to disable things like indexing on staging
+
permissions:
checks: write
contents: read
diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml
index 19ef57fa..9303be1c 100644
--- a/.github/workflows/deploy-staging.yml
+++ b/.github/workflows/deploy-staging.yml
@@ -3,6 +3,9 @@ on:
push:
branches: [staging]
+env:
+ NUXT_SITE_ENV: staging # used for NuxtSEO to disable things like indexing on staging
+
jobs:
build_and_deploy:
env:
diff --git a/app.vue b/app.vue
index 6a1cbbdf..2865946e 100644
--- a/app.vue
+++ b/app.vue
@@ -40,7 +40,9 @@ useSeoMeta({
twitterImageAlt: 'zkSync — Accelerating the mass adoption of crypto for personal sovereignty.',
});
-defineOgImage({ component: 'OgImageCommunityCode' });
+defineOgImage({
+ component: 'OgImageZK',
+});
provide('navigation', navigation);
@@ -49,7 +51,7 @@ provide('navigation', navigation);
-
+
diff --git a/components/IconOrbit.vue b/components/IconOrbit.vue
new file mode 100644
index 00000000..b27d17b9
--- /dev/null
+++ b/components/IconOrbit.vue
@@ -0,0 +1,321 @@
+
+
+
+
+
+
+
diff --git a/layouts/tutorials.vue b/layouts/tutorials.vue
index 6b07fb20..b28db037 100644
--- a/layouts/tutorials.vue
+++ b/layouts/tutorials.vue
@@ -4,10 +4,8 @@ const route = useRoute();
if (!route.path) {
throw new Error('Route path is not defined');
}
-console.log('PATH', route);
const { data: info } = await useAsyncData(`${route.path}-info`, () => {
- console.log('ROUTE', route.fullPath);
return queryContent(`${route.fullPath}/_info`).findOne();
});
@@ -21,25 +19,6 @@ const { data: navigation } = await useAsyncData(`${route.path}-sidenav`, () => {
return fetchContentNavigation(query);
});
-// const links = computed(() => {
-// const pageLinks = navigation.value;
-// return [
-// {
-// label: 'Tutorials',
-// icon: 'i-heroicons-arrow-left-circle',
-// to: '/tutorials',
-// },
-// {
-// label: info.value?.title || 'Guide',
-// collapsible: false,
-// children: pageLinks[0].children[0].children.map((item) => ({
-// label: item.title,
-// to: item._path,
-// })),
-// },
-// ];
-// });
-console.log('WHY INFO', info.value);
const links = [
{
label: 'Tutorials',
diff --git a/nuxt.config.ts b/nuxt.config.ts
index f1223188..b7fd030e 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -2,4 +2,9 @@
export default defineNuxtConfig({
extends: [['github:matter-labs/docs-nuxt-template', { install: true }]],
modules: ['@nuxt/content', '@nuxt/ui', '@nuxt/eslint'],
+ runtimeConfig: {
+ public: {
+ app: 'code',
+ },
+ },
});
diff --git a/pages/index.vue b/pages/index.vue
index 148af5f5..0734a5c7 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -16,10 +16,29 @@ useSeoMeta({
+
+
+
+
+
description="Explore all the community contributed guides for zkSync"
icon="i-zksync-logo"
/>
-
-
- {{ guide.title }}
-
-
-
-
-
+
+ {{ guide.description }}
+
+
+
diff --git a/public/logos/Solidity_logo.svg b/public/logos/Solidity_logo.svg
new file mode 100644
index 00000000..e9b0b53d
--- /dev/null
+++ b/public/logos/Solidity_logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/logos/Vyper.svg b/public/logos/Vyper.svg
new file mode 100644
index 00000000..44e65124
--- /dev/null
+++ b/public/logos/Vyper.svg
@@ -0,0 +1,10 @@
+
\ No newline at end of file
diff --git a/public/logos/alchemy.svg b/public/logos/alchemy.svg
new file mode 100644
index 00000000..095bd15a
--- /dev/null
+++ b/public/logos/alchemy.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/logos/atlas_zk_logo.svg b/public/logos/atlas_zk_logo.svg
new file mode 100644
index 00000000..5d89d1eb
--- /dev/null
+++ b/public/logos/atlas_zk_logo.svg
@@ -0,0 +1,10 @@
+
+
+
diff --git a/public/logos/ethereum.svg b/public/logos/ethereum.svg
new file mode 100644
index 00000000..668f2cc0
--- /dev/null
+++ b/public/logos/ethereum.svg
@@ -0,0 +1,13 @@
+
+
+
diff --git a/public/logos/hardhat.svg b/public/logos/hardhat.svg
new file mode 100644
index 00000000..e5a0da15
--- /dev/null
+++ b/public/logos/hardhat.svg
@@ -0,0 +1,19 @@
+
+
diff --git a/public/logos/remix_logo.svg b/public/logos/remix_logo.svg
new file mode 100644
index 00000000..db337c4f
--- /dev/null
+++ b/public/logos/remix_logo.svg
@@ -0,0 +1,10 @@
+
+
+
diff --git a/public/logos/viem-icon.png b/public/logos/viem-icon.png
new file mode 100644
index 00000000..dae92c2c
Binary files /dev/null and b/public/logos/viem-icon.png differ
diff --git a/public/logos/viem.png b/public/logos/viem.png
new file mode 100644
index 00000000..d0a3575c
Binary files /dev/null and b/public/logos/viem.png differ
diff --git a/public/logos/web3js-icon.png b/public/logos/web3js-icon.png
new file mode 100644
index 00000000..3061fa20
Binary files /dev/null and b/public/logos/web3js-icon.png differ
diff --git a/public/logos/web3js.svg b/public/logos/web3js.svg
new file mode 100644
index 00000000..6fd6bd80
--- /dev/null
+++ b/public/logos/web3js.svg
@@ -0,0 +1,9 @@
+
+
diff --git a/public/logos/zksync-icon.svg b/public/logos/zksync-icon.svg
new file mode 100644
index 00000000..c3564cdd
--- /dev/null
+++ b/public/logos/zksync-icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file