diff --git a/frontend/src/resources/previews/recent-blocks.jpg b/frontend/src/resources/previews/blocks.jpg similarity index 100% rename from frontend/src/resources/previews/recent-blocks.jpg rename to frontend/src/resources/previews/blocks.jpg diff --git a/frontend/src/resources/previews/privacy.jpg b/frontend/src/resources/previews/privacy-policy.jpg similarity index 100% rename from frontend/src/resources/previews/privacy.jpg rename to frontend/src/resources/previews/privacy-policy.jpg diff --git a/frontend/src/resources/previews/tos.jpg b/frontend/src/resources/previews/terms-of-service.jpg similarity index 100% rename from frontend/src/resources/previews/tos.jpg rename to frontend/src/resources/previews/terms-of-service.jpg diff --git a/frontend/src/resources/previews/broadcast-tx.jpg b/frontend/src/resources/previews/tx-push.jpg similarity index 100% rename from frontend/src/resources/previews/broadcast-tx.jpg rename to frontend/src/resources/previews/tx-push.jpg diff --git a/unfurler/src/routes.ts b/unfurler/src/routes.ts index fefd89902..dc6cbcb40 100644 --- a/unfurler/src/routes.ts +++ b/unfurler/src/routes.ts @@ -7,6 +7,18 @@ interface Match { } const routes = { + about: { + title: "About", + fallbackImg: '/resources/previews/about.jpg', + }, + acceleration: { + title: "Acceleration", + fallbackImg: '/resources/previews/accelerator.jpg', + }, + accelerator: { + title: "Mempool Accelerator", + fallbackImg: '/resources/previews/accelerator.jpg', + }, block: { render: true, params: 1, @@ -14,6 +26,16 @@ const routes = { return `Block: ${path[0]}`; } }, + docs: { + title: "Docs", + fallbackImg: '/resources/previews/faq.jpg', + routes: { + faq: { + title: "FAQ", + fallbackImg: '/resources/previews/faq.jpg', + } + } + }, address: { render: true, params: 1, @@ -26,6 +48,11 @@ const routes = { params: 1, getTitle(path) { return `Transaction: ${path[0]}`; + }, + routes: { + push: { + fallbackImg: '/resources/previews/tx-push.jpg', + } } }, lightning: { @@ -78,7 +105,23 @@ const routes = { } } } - } + }, + privacy-policy: { + title: "Privacy Policy", + fallbackImg: '/resources/previews/privacy-policy.jpg', + }, + rbf: { + title: "RBF", + fallbackImg: '/resources/previews/rbf.jpg', + }, + terms-of-service: { + title: "Terms of Service", + fallbackImg: '/resources/previews/terms-of-service.jpg', + }, + trademark-policy: { + title: "Trademark Policy", + fallbackImg: '/resources/previews/trademark-policy.jpg', + }, }; const networks = {