From eb169a8deb0a0fb30ea33c82f3f976424a4ca421 Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Sat, 2 Dec 2023 08:13:01 +0800
Subject: [PATCH] add featured blockchains
---
src/layouts/components/DefaultLayout.vue | 15 +++++++++++++++
src/pages/index.vue | 18 ++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue
index 0b020229..6fa6cd62 100644
--- a/src/layouts/components/DefaultLayout.vue
+++ b/src/layouts/components/DefaultLayout.vue
@@ -229,6 +229,21 @@ function selected(route: any, nav: NavLink) {
Osmosis
+
+
+
+ Celestia
+
+
{
return Object.values(dashboard.chains);
}
});
+
+const featured = computed(() => {
+ const names = ["cosmos", "osmosis", "akash", "celestia", "evmos"];
+ return chains.value.filter(x => names.includes(x.chainName))
+})
+
const chainStore = useBlockchain()
@@ -67,6 +73,18 @@ const chainStore = useBlockchain()
+ Featured Blockchains
+
+
+
+
+