Add missing unfurler routes, rename images to match

This commit is contained in:
wiz 2024-03-11 15:38:09 +09:00
parent e7fde2f872
commit b50d747440
No known key found for this signature in database
GPG Key ID: A394E332255A6173
5 changed files with 44 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -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 = {