From 2482f07f98905501ded2a51208c78813d34defb6 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Thu, 1 Dec 2022 09:30:38 +0000 Subject: [PATCH] fix --- src/components/ld.json | 258 +++++++++++++++++++++++++++++++++++++++ src/components/seo.jsx | 267 ++--------------------------------------- 2 files changed, 265 insertions(+), 260 deletions(-) create mode 100644 src/components/ld.json diff --git a/src/components/ld.json b/src/components/ld.json new file mode 100644 index 0000000..8c15a04 --- /dev/null +++ b/src/components/ld.json @@ -0,0 +1,258 @@ +[ + { + "@id": "https://cloudstream.cf/#person", + "@type": [ + "http://schema.org/Person", + "http://schema.org/Organization" + ], + "http://schema.org/image": [ + { + "@id": "https://cloudstream.cf/#logo", + "@type": [ + "http://schema.org/ImageObject" + ], + "http://schema.org/caption": [ + { + "@value": "Cloudstream" + } + ], + "http://schema.org/contentUrl": [ + { + "@id": "${logo}" + } + ], + "http://schema.org/inLanguage": [ + { + "@value": "en-US" + } + ], + "http://schema.org/url": [ + { + "@id": "${logo}" + } + ] + } + ], + "http://schema.org/logo": [ + { + "@id": "https://cloudstream.cf/#logo", + "@type": [ + "http://schema.org/ImageObject" + ], + "http://schema.org/caption": [ + { + "@value": "cloudstream" + } + ], + "http://schema.org/contentUrl": [ + { + "@id": "${logo}" + } + ], + "http://schema.org/inLanguage": [ + { + "@value": "en-US" + } + ], + "http://schema.org/url": [ + { + "@id": "${logo}" + } + ] + } + ], + "http://schema.org/name": [ + { + "@value": "cloudstream" + } + ] + }, + { + "@id": "https://cloudstream.cf/#website", + "@type": [ + "http://schema.org/WebSite" + ], + "http://schema.org/inLanguage": [ + { + "@value": "en-US" + } + ], + "http://schema.org/name": [ + { + "@value": "Cloudstream" + } + ], + "http://schema.org/potentialAction": [ + { + "@type": [ + "http://schema.org/SearchAction" + ], + "http://schema.org/query-input": [ + { + "@value": "required name=search_term_string" + } + ], + "http://schema.org/target": [ + { + "@id": "https://cloudstream.cf/?s={search_term_string}" + } + ] + } + ], + "http://schema.org/publisher": [ + { + "@id": "https://cloudstream.cf/#person" + } + ], + "http://schema.org/url": [ + { + "@id": "https://cloudstream.cf" + } + ] + }, + { + "@id": "https://cloudstream.cf/#webpage", + "@type": [ + "http://schema.org/WebPage" + ], + "http://schema.org/about": [ + { + "@id": "https://cloudstream.cf/#person" + } + ], + "http://schema.org/dateModified": [ + { + "@type": "http://schema.org/Date", + "@value": "2022-11-22T13:32:21+00:00" + } + ], + "http://schema.org/datePublished": [ + { + "@type": "http://schema.org/Date", + "@value": "2020-02-24T13:08:57+00:00" + } + ], + "http://schema.org/inLanguage": [ + { + "@value": "en-US" + } + ], + "http://schema.org/isPartOf": [ + { + "@id": "https://cloudstream.cf/#website" + } + ], + "http://schema.org/name": [ + { + "@value": "CloudStream" + } + ], + "http://schema.org/url": [ + { + "@id": "https://cloudstream.cf/" + } + ] + }, + { + "@id": "https://cloudstream.cf/author/cloudstream/", + "@type": [ + "http://schema.org/Person" + ], + "http://schema.org/image": [ + { + "@id": "https://github.com/recloudstream.png", + "@type": [ + "http://schema.org/ImageObject" + ], + "http://schema.org/caption": [ + { + "@value": "cloudstream" + } + ], + "http://schema.org/inLanguage": [ + { + "@value": "en-US" + } + ], + "http://schema.org/url": [ + { + "@id": "https://github.com/recloudstream.png" + } + ] + } + ], + "http://schema.org/name": [ + { + "@value": "cloudstream" + } + ], + "http://schema.org/sameAs": [ + { + "@id": "http://cloudstream.cf" + } + ], + "http://schema.org/url": [ + { + "@id": "https://cloudstream.cf/author/cloudstream/" + } + ] + }, + { + "@id": "https://cloudstream.cf/#richSnippet", + "@type": [ + "http://schema.org/Article" + ], + "http://schema.org/author": [ + { + "@id": "https://cloudstream.cf/author/cloudstream/" + } + ], + "http://schema.org/dateModified": [ + { + "@type": "http://schema.org/Date", + "@value": "2022-11-22T13:32:21+00:00" + } + ], + "http://schema.org/datePublished": [ + { + "@type": "http://schema.org/Date", + "@value": "2020-02-24T13:08:57+00:00" + } + ], + "http://schema.org/description": [ + { + "@value": "${description}" + } + ], + "http://schema.org/headline": [ + { + "@value": "${description}" + } + ], + "http://schema.org/inLanguage": [ + { + "@value": "en-US" + } + ], + "http://schema.org/isPartOf": [ + { + "@id": "https://cloudstream.cf/#webpage" + } + ], + "http://schema.org/mainEntityOfPage": [ + { + "@id": "https://cloudstream.cf/#webpage" + } + ], + "http://schema.org/name": [ + { + "@value": "${title}" + } + ], + "http://schema.org/publisher": [ + { + "@id": "https://cloudstream.cf/#person" + } + ] + } +] \ No newline at end of file diff --git a/src/components/seo.jsx b/src/components/seo.jsx index 644ff62..76e2e07 100644 --- a/src/components/seo.jsx +++ b/src/components/seo.jsx @@ -1,6 +1,7 @@ import React from "react" import bgImage from "../media/phones.webp" +import ld from "./ld.json" import logo from "../media/icon.svg" 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." @@ -14,266 +15,12 @@ const SEO = ({children, title, description}) => { - + + {children} }