Update default preview image location

Remove duplicate image, move to previews folder, and update
existing paths.
This commit is contained in:
hunicus 2024-03-10 08:21:00 +09:00
parent bfde456ca8
commit 1b92c62353
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9
5 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ export class OpenGraphService {
) {
// save og:image tag from original template
const initialOgImageTag = metaService.getTag("property='og:image'");
this.defaultImageUrl = initialOgImageTag?.content || 'https://mempool.space/resources/mempool-space-preview.png';
this.defaultImageUrl = initialOgImageTag?.content || 'https://mempool.space/resources/previews/mempool-space-preview.png';
this.router.events.pipe(
filter(event => event instanceof NavigationEnd),
map(() => this.activatedRoute),

View File

@ -8,7 +8,7 @@
<base href="/">
<meta name="description" content="Explore the full Bitcoin ecosystem with The Mempool Open Source Project®. See the real-time status of your transactions, get network info, and more." />
<meta property="og:image" content="https://mempool.space/resources/mempool-space-preview.png" />
<meta property="og:image" content="https://mempool.space/resources/previews/mempool-space-preview.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1000" />
<meta property="og:image:height" content="500" />
@ -18,7 +18,7 @@
<meta name="twitter:creator" content="@mempool">
<meta name="twitter:title" content="The Mempool Open Source Project®">
<meta name="twitter:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Source Project®. See the real-time status of your transactions, get network info, and more." />
<meta name="twitter:image:src" content="https://mempool.space/resources/mempool-space-preview.png" />
<meta name="twitter:image" content="https://mempool.space/resources/previews/mempool-space-preview.png" />
<meta name="twitter:domain" content="mempool.space">
<link rel="apple-touch-icon" sizes="180x180" href="/resources/favicons/apple-touch-icon.png">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

View File

Before

Width:  |  Height:  |  Size: 289 KiB

After

Width:  |  Height:  |  Size: 289 KiB

View File

@ -83,7 +83,7 @@ const routes = {
const networks = {
bitcoin: {
fallbackImg: '/resources/previews/dashboard.png',
fallbackImg: '/resources/previews/mempool-space-preview.png',
routes: {
...routes // all routes supported
}
@ -147,4 +147,4 @@ export function matchRoute(network: string, path: string): Match {
}
return match;
}
}