- Transaction |
+ Hash |
Type |
Time |
Block |
@@ -283,12 +286,12 @@ const handleViewRawMessages = () => {
diff --git a/components/widgets/TransactionsWidget.vue b/components/widgets/TransactionsWidget.vue
index 7d82473e..74bd5bc2 100644
--- a/components/widgets/TransactionsWidget.vue
+++ b/components/widgets/TransactionsWidget.vue
@@ -112,13 +112,10 @@ const getSectorName = (item) => {
- {{ comma(roundedMax) }}
-
-
- {{ comma(Math.ceil(roundedMax / 2)) }}
+ {{ abbreviate(roundedMax) }}
- {{ comma(min) }}
+ {{ comma(min) }}
@@ -162,7 +159,7 @@ const getSectorName = (item) => {
- Value
+ Txs
{{ comma(item.value) }}
diff --git a/error.vue b/error.vue
new file mode 100644
index 00000000..5cc1295e
--- /dev/null
+++ b/error.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+ /**
+ * Error Code
+ * {{ error?.statusCode }}
+ */
+
+
+
+
+ {{ error?.statusMessage }}
+
+ Unknown Error
+
+
+ It looks like this is an error and such a page does not exist. If there used to be a page at this address and it has
+ disappeared - please inform us.
+
+ Something went wrong
+
+
+
+
+
+
+ or
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 680774ae..80a493ee 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -1,5 +1,58 @@
export default defineNuxtConfig({
- modules: ["@pinia/nuxt", "nuxt-og-image"],
+ modules: ["nuxt-simple-sitemap", "@pinia/nuxt", "nuxt-og-image"],
+
+ site: {
+ url: "https://celenium.io",
+ },
+
+ sitemap: {
+ xsl: false,
+ },
+
+ routeRules: {
+ "/": {
+ sitemap: {
+ changefreq: "daily",
+ priority: 1,
+ },
+ },
+ "/blocks": {
+ sitemap: {
+ changefreq: "daily",
+ priority: 0.9,
+ },
+ },
+ "/namespaces": {
+ sitemap: {
+ changefreq: "daily",
+ priority: 0.8,
+ },
+ },
+ "/txs": {
+ sitemap: {
+ changefreq: "daily",
+ priority: 0.7,
+ },
+ },
+ "/addresses": {
+ sitemap: {
+ changefreq: "daily",
+ priority: 0.6,
+ },
+ },
+ "/gas": {
+ sitemap: {
+ changefreq: "daily",
+ priority: 0.5,
+ },
+ },
+ "/namespaces/treemap": {
+ sitemap: {
+ changefreq: "weekly",
+ priority: 0.4,
+ },
+ },
+ },
runtimeConfig: {
public: {
diff --git a/package.json b/package.json
index dd306afb..a85e9d19 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "celestia-explorer",
- "version": "1.2.0",
+ "version": "1.3.0",
"packageManager": "pnpm@8.7.4",
"homepage": "https://celenium.io/",
"license": "MIT",
@@ -13,21 +13,23 @@
},
"devDependencies": {
"@nuxt/devtools": "latest",
- "nuxt": "3.7.3",
+ "nuxt": "3.8.2",
"nuxt-og-image": "2.0.28",
+ "nuxt-simple-sitemap": "^4.2.0",
"sass": "1.66.1",
- "sass-loader": "13.3.2",
- "sitemap": "7.1.1"
+ "sass-loader": "13.3.2"
},
"dependencies": {
"@amplitude/analytics-browser": "^2.3.3",
"@codemirror/lang-json": "^6.0.1",
"@pinia/nuxt": "0.4.11",
+ "@vueuse/core": "^10.7.0",
"codemirror": "^6.0.1",
"d3": "^7.8.5",
"d3-hierarchy": "^3.1.2",
"focus-trap": "7.5.2",
"luxon": "3.4.3",
+ "nuxt-site-config": "^2.1.2",
"pinia": "2.1.6",
"uuid": "9.0.1"
}
diff --git a/pages/gas.vue b/pages/gas.vue
new file mode 100644
index 00000000..18b464aa
--- /dev/null
+++ b/pages/gas.vue
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+ Gas Tracker
+
+
+
+
+
+
+
+
+
+ Fast
+
+
+
+
+ {{
+ Number(gasPrice.fast)
+ .toFixed(3)
+ .replace(/\.?0*$/, "")
+ }}
+ UTIA
+
+
+
+
+
+
+
+
+
+ Median
+
+
+
+
+ {{
+ Number(gasPrice.median)
+ .toFixed(3)
+ .replace(/\.?0*$/, "")
+ }}
+ UTIA
+
+
+
+
+
+
+
+
+
+ Slow
+
+
+
+
+ {{
+ Number(gasPrice.slow)
+ .toFixed(3)
+ .replace(/\.?0*$/, "")
+ }}
+ UTIA
+
+
+
+
+
+
+
+
+
+
+ Fast - 99%, Median - 50%, Slow - 10%
+
+
+ Price is calculated on fee payments for the last 100 blocks
+
+
+ Each gas price level is the percentage of transactions in which gas price was set below a specified value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index.vue b/pages/index.vue
index f967e6fe..84cefcb5 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -84,7 +84,7 @@ onBeforeMount(async () => {
-
+
diff --git a/pages/namespace/[id].vue b/pages/namespace/[id].vue
index 6c375122..6d7d6526 100644
--- a/pages/namespace/[id].vue
+++ b/pages/namespace/[id].vue
@@ -1,6 +1,7 @@
-
-
+
+
+
-
+
+
+
+
@@ -100,10 +104,6 @@ useHead({
padding: 40px 24px 60px 24px;
}
-.breadcrumbs {
- margin-bottom: 16px;
-}
-
@media (max-width: 500px) {
.wrapper {
padding: 32px 12px;
diff --git a/pages/txs.vue b/pages/txs.vue
index db1f38b2..473fb31e 100644
--- a/pages/txs.vue
+++ b/pages/txs.vue
@@ -615,14 +615,14 @@ const handleLast = async () => {
Unknown
+
+ {{ tia(tx.fee) }} TIA
+ |
{{ tx.events_count }}
|
-
- {{ tia(tx.fee) }} TIA
- |