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
|
// save og:image tag from original template
|
||||||
const initialOgImageTag = metaService.getTag("property='og:image'");
|
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(
|
this.router.events.pipe(
|
||||||
filter(event => event instanceof NavigationEnd),
|
filter(event => event instanceof NavigationEnd),
|
||||||
map(() => this.activatedRoute),
|
map(() => this.activatedRoute),
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<base href="/">
|
<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 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:type" content="image/png" />
|
||||||
<meta property="og:image:width" content="1000" />
|
<meta property="og:image:width" content="1000" />
|
||||||
<meta property="og:image:height" content="500" />
|
<meta property="og:image:height" content="500" />
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<meta name="twitter:creator" content="@mempool">
|
<meta name="twitter:creator" content="@mempool">
|
||||||
<meta name="twitter:title" content="The Mempool Open Source Project®">
|
<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: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">
|
<meta name="twitter:domain" content="mempool.space">
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/resources/favicons/apple-touch-icon.png">
|
<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 = {
|
const networks = {
|
||||||
bitcoin: {
|
bitcoin: {
|
||||||
fallbackImg: '/resources/previews/dashboard.png',
|
fallbackImg: '/resources/previews/mempool-space-preview.png',
|
||||||
routes: {
|
routes: {
|
||||||
...routes // all routes supported
|
...routes // all routes supported
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user