diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-08-05 08:52:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 08:52:26 +0200 |
commit | 3a6a26c5672f0756dddd8a3713d04ca224a43edc (patch) | |
tree | bd4b125a635fd256cf4ac5f5f70e1d0f8155519a | |
parent | fba3429ef6e41b250c23c9152c56c59eababadfd (diff) | |
parent | 47703a3de7beb20d258aa5a569713a8f7c7bca9a (diff) | |
download | puszcza-3a6a26c5672f0756dddd8a3713d04ca224a43edc.tar.gz puszcza-3a6a26c5672f0756dddd8a3713d04ca224a43edc.zip |
Merge pull request #43 from 19pdh/new-og-image
Change og image name
-rw-r--r-- | components/Posts/PostLink.vue | 2 | ||||
-rw-r--r-- | nuxt.config.js | 2 | ||||
-rw-r--r-- | static/assets/og/default_tree.jpg (renamed from static/assets/og/default.jpg) | bin | 197221 -> 197221 bytes | |||
-rw-r--r-- | tests/unit/__snapshots__/storybook.test.js.snap | 8 |
4 files changed, 6 insertions, 6 deletions
diff --git a/components/Posts/PostLink.vue b/components/Posts/PostLink.vue index b7bfab4..fa7dbcf 100644 --- a/components/Posts/PostLink.vue +++ b/components/Posts/PostLink.vue @@ -31,7 +31,7 @@ export default { image: { type: String, required: false, - default: '/assets/og/default.jpg', + default: '/assets/og/default-tree.jpg', }, }, computed: { diff --git a/nuxt.config.js b/nuxt.config.js index 38bc72a..27c210e 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -32,7 +32,7 @@ export default { { hid: 'og:image', property: 'og:image', - content: `${BASE_URL}/assets/og/default.jpg`, + content: `${BASE_URL}/assets/og/default_tree.jpg`, }, { hid: 'og:image:width', diff --git a/static/assets/og/default.jpg b/static/assets/og/default_tree.jpg index 5aebb47..5aebb47 100644 --- a/static/assets/og/default.jpg +++ b/static/assets/og/default_tree.jpg Binary files differdiff --git a/tests/unit/__snapshots__/storybook.test.js.snap b/tests/unit/__snapshots__/storybook.test.js.snap index 496f7a4..b942f47 100644 --- a/tests/unit/__snapshots__/storybook.test.js.snap +++ b/tests/unit/__snapshots__/storybook.test.js.snap @@ -166,7 +166,7 @@ exports[`Storyshots Posts/PostLink default 1`] = ` <div> <div class="image" - style="background-image: url(/assets/og/default.jpg);" + style="background-image: url(/assets/og/default-tree.jpg);" /> <div @@ -247,7 +247,7 @@ exports[`Storyshots Posts/PurePostList default 1`] = ` <div> <div class="image" - style="background-image: url(/assets/og/default.jpg);" + style="background-image: url(/assets/og/default-tree.jpg);" /> <div @@ -278,7 +278,7 @@ exports[`Storyshots Posts/PurePostList default 1`] = ` <div> <div class="image" - style="background-image: url(/assets/og/default.jpg);" + style="background-image: url(/assets/og/default-tree.jpg);" /> <div @@ -309,7 +309,7 @@ exports[`Storyshots Posts/PurePostList default 1`] = ` <div> <div class="image" - style="background-image: url(/assets/og/default.jpg);" + style="background-image: url(/assets/og/default-tree.jpg);" /> <div |