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

View File

@ -13,15 +13,15 @@ const IndexPage = () => {
<h1 className="mb-5 text-5xl font-bold">Hello there</h1>
<p className="mb-5 text-lg">
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.
</p>
<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" />
<CompatBtn className="btn-primary" href="/repos">Repositories</CompatBtn>
<CompatBtn className="btn-primary" href="/repos/">Repositories</CompatBtn>
</div>
<CompatBtn className="btn-secondary" href="/docs">Guides, FAQ & Docs</CompatBtn>
<CompatBtn className="btn-secondary" href="/docs/">Guides, FAQ & Docs</CompatBtn>
</Hero>
</Layout>