docs
This commit is contained in:
parent
42e012ab1b
commit
7431cda546
2 changed files with 5 additions and 8 deletions
|
|
@ -14,15 +14,15 @@ The `SEO` component adds essential metadata to pages.
|
|||
</script>
|
||||
|
||||
<SEO
|
||||
baseUrl="https://graphics.reuters.com"
|
||||
baseUrl="https://www.reuters.com/graphics/world-coronavirus-tracker-and-maps"
|
||||
pageUrl={new URL(
|
||||
'https://graphics.reuters.com/world-coronavirus-tracker-and-maps/'
|
||||
'https://www.reuters.com/graphics/world-coronavirus-tracker-and-maps/countries/united-kingdom/'
|
||||
)}
|
||||
seoTitle="A title for Google"
|
||||
seoDescription="A description for Google"
|
||||
shareTitle="A title for Twitter/Facebook"
|
||||
shareDescription="A description for Twitter/Facebook"
|
||||
shareImgPath="https://graphics.reuters.com/world-coronavirus-tracker-and-maps/assets/images/share.jpg"
|
||||
shareImgPath="https://www.reuters.com/graphics/world-coronavirus-tracker-and-maps/assets/images/share.jpg"
|
||||
shareImgAlt="An image showing global COVID infection rates"
|
||||
publishTime="2020-09-15T00:00:00.000Z"
|
||||
updateTime="2021-01-10T12:30:00.000Z"
|
||||
|
|
|
|||
|
|
@ -12,15 +12,12 @@
|
|||
<Story
|
||||
name="Demo"
|
||||
args={{
|
||||
baseUrl: 'https://graphics.reuters.com',
|
||||
// pageUrl:{new URL(
|
||||
// 'https://graphics.reuters.com/world-coronavirus-tracker-and-maps/'
|
||||
// )}
|
||||
baseUrl: 'https://www.reuters.com',
|
||||
seoTitle: 'A title for Google',
|
||||
seoDescription: 'A description for Google',
|
||||
shareTitle: 'A title for Twitter/Facebook',
|
||||
shareDescription: 'A description for Twitter/Facebook',
|
||||
shareImgPath:
|
||||
'https://graphics.reuters.com/world-coronavirus-tracker-and-maps/assets/images/share.jpg',
|
||||
'https://www.reuters.com/graphics/world-coronavirus-tracker-and-maps/assets/images/share.jpg',
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue