({
title,
description,
creator = "Ward Analytics",
type = "website",
})
| 9 | } |
| 10 | |
| 11 | const SEO: FC<SEOProps> = ({ |
| 12 | title, |
| 13 | description, |
| 14 | creator = "Ward Analytics", |
| 15 | type = "website", |
| 16 | }) => { |
| 17 | return ( |
| 18 | <Helmet> |
| 19 | { /* Standard metadata tags */} |
| 20 | <title>{`Ward Analytics - ${title}`}</title> |
| 21 | <meta name='description' content={description} /> |
| 22 | { /* End standard metadata tags */} |
| 23 | { /* Facebook tags |
| 24 | For more information, visit https://ogp.me/ |
| 25 | */} |
| 26 | <meta property="og:type" content={type} /> |
| 27 | <meta property="og:title" content={title} /> |
| 28 | <meta property="og:description" content={description} /> |
| 29 | { /* End Facebook tags */} |
| 30 | { /* Twitter tags |
| 31 | For more information, visit https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/summary |
| 32 | */} |
| 33 | <meta name="twitter:creator" content={creator} /> |
| 34 | <meta name="twitter:card" content={type} /> |
| 35 | <meta name="twitter:title" content={title} /> |
| 36 | <meta name="twitter:description" content={description} /> |
| 37 | { /* End Twitter tags */} |
| 38 | </Helmet> |
| 39 | ) |
| 40 | } |
| 41 | |
| 42 | export default SEO; |
nothing calls this directly
no outgoing calls
no test coverage detected