mirror of
https://github.com/mempool/mempool.git
synced 2025-03-26 17:51:45 +01:00
Update default preview image location
Remove duplicate image, move to previews folder, and update existing paths.
This commit is contained in:
parent
bfde456ca8
commit
1b92c62353
@ -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),
|
||||
|
@ -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 |
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 289 KiB |
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user