2022-12-01 09:10:14 +00:00
import React from "react"
2022-12-01 09:04:26 +00:00
import bgImage from "../media/phones.webp"
2022-12-01 09:30:38 +00:00
import ld from "./ld.json"
2022-12-01 09:42:36 +00:00
// import logo from "../media/icon.svg"
2022-12-01 09:04:26 +00:00
const desc = "Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime. On this official cloudstream/recloudstream site you can find downloads links and a list of repositories of extensions."
const SEO = ( { children , title , description } ) => {
return < >
< title > { title || "Cloudstream" } < / title >
2022-12-01 09:57:53 +00:00
< meta name = "description" content = { description || desc } / >
2022-12-01 09:04:26 +00:00
< meta property = "og:title" content = { title || "Cloudstream" } / >
< meta property = "og:description" content = { description || desc } / >
< meta property = "og:image" content = { bgImage } / >
< meta property = "og:image:type" content = "image/png" / >
< meta name = "twitter:card" content = "summary_large_image" / >
< meta name = "google-site-verification" content = "c7TphrPJk4AXlG4P_J3ZRpJ7V3yFzG_cjd-A37ih1fE" / >
2022-12-01 09:30:38 +00:00
< script type = "application/ld+json" > { JSON . stringify ( ld )
2022-12-01 09:42:36 +00:00
. replace ( /\${logo}/g , "https://github.com/recloudstream.png" )
. replace ( /\${title}/ , title )
. replace ( /\${description}/ , ( description || desc ) ) }
2022-12-01 09:30:38 +00:00
< / script >
{ children }
2022-12-01 09:04:26 +00:00
< / >
}
export default SEO