Add missing unfurler routes, rename images to match
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@ -7,6 +7,18 @@ interface Match {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const routes = {
|
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: {
|
block: {
|
||||||
render: true,
|
render: true,
|
||||||
params: 1,
|
params: 1,
|
||||||
@ -14,6 +26,16 @@ const routes = {
|
|||||||
return `Block: ${path[0]}`;
|
return `Block: ${path[0]}`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
docs: {
|
||||||
|
title: "Docs",
|
||||||
|
fallbackImg: '/resources/previews/faq.jpg',
|
||||||
|
routes: {
|
||||||
|
faq: {
|
||||||
|
title: "FAQ",
|
||||||
|
fallbackImg: '/resources/previews/faq.jpg',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
address: {
|
address: {
|
||||||
render: true,
|
render: true,
|
||||||
params: 1,
|
params: 1,
|
||||||
@ -26,6 +48,11 @@ const routes = {
|
|||||||
params: 1,
|
params: 1,
|
||||||
getTitle(path) {
|
getTitle(path) {
|
||||||
return `Transaction: ${path[0]}`;
|
return `Transaction: ${path[0]}`;
|
||||||
|
},
|
||||||
|
routes: {
|
||||||
|
push: {
|
||||||
|
fallbackImg: '/resources/previews/tx-push.jpg',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
lightning: {
|
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 = {
|
const networks = {
|
||||||
|