diff --git a/frontend/src/index.sv.html b/frontend/src/index.sv.html index d1f1e5884..a18c1d7fe 100644 --- a/frontend/src/index.sv.html +++ b/frontend/src/index.sv.html @@ -9,7 +9,7 @@ - + @@ -19,7 +19,7 @@ - + diff --git a/frontend/src/resources/sv/onbtc-preview.jpg b/frontend/src/resources/sv/onbtc-preview.jpg new file mode 100644 index 000000000..1ae838e12 Binary files /dev/null and b/frontend/src/resources/sv/onbtc-preview.jpg differ diff --git a/unfurler/src/index.ts b/unfurler/src/index.ts index 828d50e6b..5db38324e 100644 --- a/unfurler/src/index.ts +++ b/unfurler/src/index.ts @@ -50,6 +50,9 @@ class Server { case "bisq": canonical = "https://bisq.markets" break; + case "onbtc": + canonical = "https://bitcoin.gob.sv" + break; default: canonical = "https://mempool.space" } diff --git a/unfurler/src/routes.ts b/unfurler/src/routes.ts index 80dd54f24..ba8c26f0c 100644 --- a/unfurler/src/routes.ts +++ b/unfurler/src/routes.ts @@ -252,6 +252,24 @@ const networks = { bisq: { fallbackImg: '/resources/bisq/bisq-markets-preview.png', routes: {} // no routes supported + }, + onbtc: { + fallbackImg: '/resources/onbtc/onbtc-preview.png', + routes: { // only dynamic routes supported + block: routes.block, + address: routes.address, + tx: routes.tx, + mining: { + title: "Mining", + routes: { + pool: routes.mining.routes.pool, + } + }, + lightning: { + title: "Lightning", + routes: routes.lightning.routes, + } + } } };