Skip to content

Commit

Permalink
feat: add featured flag
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed May 22, 2024
1 parent 9bc2f06 commit cd2d933
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions content/tutorials/cross-chain-governance/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: Cross-chain governance
featured: true
authors:
- name: MatterLabs
url: https://matter-labs.io
Expand Down
1 change: 1 addition & 0 deletions content/tutorials/daily-spend-limit-account/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: Native spend limit smart account
featured: true
authors:
- name: porco-rosso
url: https://linktr.ee/porcorossoj
Expand Down
1 change: 1 addition & 0 deletions content/tutorials/erc20-paymaster/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: Build an ERC20 custom paymaster
featured: true
authors:
- name: MatterLabs
url: https://matter-labs.io
Expand Down
1 change: 1 addition & 0 deletions content/tutorials/guide-dipdup-indexer/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: Create an indexer with DipDup
featured: true
authors:
- name: DipDup
url: https://dipdup.io
Expand Down
1 change: 1 addition & 0 deletions content/tutorials/guide-viem/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: Using viem with zkSync
featured: true
authors:
- name: MatterLabs
url: https://matter-labs.io
Expand Down
1 change: 1 addition & 0 deletions content/tutorials/guide-web3js/_dir.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: Using web3.js to interact with zkSync
featured: true
authors:
- name: ChainSafe
url: https://web3js.org/
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const navigation = inject<Ref<NavItem[]>>('navigation');
const guides = computed(() => {
const tutorialPath = navigation?.value.find((item) => item._path === '/tutorials') ?? { children: [] };
return tutorialPath.children;
return tutorialPath.children?.filter((tutorial) => tutorial.featured);
});
useSeoMeta({
Expand Down

0 comments on commit cd2d933

Please sign in to comment.