smol tweaks and fixes

This commit is contained in:
Cloudburst 2022-12-01 09:42:36 +00:00
parent 2482f07f98
commit 22c81d3a9d
2 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@ import React from "react"
import bgImage from "../media/phones.webp" import bgImage from "../media/phones.webp"
import ld from "./ld.json" import ld from "./ld.json"
import logo from "../media/icon.svg" // 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." 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."
@ -16,9 +16,9 @@ const SEO = ({children, title, description}) => {
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="google-site-verification" content="c7TphrPJk4AXlG4P_J3ZRpJ7V3yFzG_cjd-A37ih1fE" /> <meta name="google-site-verification" content="c7TphrPJk4AXlG4P_J3ZRpJ7V3yFzG_cjd-A37ih1fE" />
<script type="application/ld+json">{JSON.stringify(ld) <script type="application/ld+json">{JSON.stringify(ld)
.replace("${logo}", logo) .replace(/\${logo}/g, "https://github.com/recloudstream.png")
.replace("${title}", title) .replace(/\${title}/, title)
.replace("${description}", (description || desc))} .replace(/\${description}/, (description || desc))}
</script> </script>
{children} {children}
</> </>

View file

@ -13,15 +13,15 @@ const IndexPage = () => {
<h1 className="mb-5 text-5xl font-bold">Hello there</h1> <h1 className="mb-5 text-5xl font-bold">Hello there</h1>
<p className="mb-5 text-lg"> <p className="mb-5 text-lg">
Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime. Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime.
<div className="divider divider-horizontal" /> <div className="divider" />
On this official cloudstream/recloudstream site you can find downloads links and a list of repositories of extensions. On this official cloudstream/recloudstream site you can find downloads links and a list of repositories of extensions.
</p> </p>
<div className="flex justify-center w-full mb-5"> <div className="flex justify-center w-full mb-5">
<CompatBtn autoFocus={true} className="btn-primary" href="/install">Install</CompatBtn> <CompatBtn autoFocus={true} className="btn-primary" href="/install/">Install</CompatBtn>
<div className="divider divider-horizontal" /> <div className="divider divider-horizontal" />
<CompatBtn className="btn-primary" href="/repos">Repositories</CompatBtn> <CompatBtn className="btn-primary" href="/repos/">Repositories</CompatBtn>
</div> </div>
<CompatBtn className="btn-secondary" href="/docs">Guides, FAQ & Docs</CompatBtn> <CompatBtn className="btn-secondary" href="/docs/">Guides, FAQ & Docs</CompatBtn>
</Hero> </Hero>
</Layout> </Layout>