diff --git a/src/components/navbar/button.jsx b/src/components/navbar/button.jsx
index 84d1ba5..9c462f4 100644
--- a/src/components/navbar/button.jsx
+++ b/src/components/navbar/button.jsx
@@ -3,7 +3,7 @@ import React from "react"
const Button = ({url, children, name}) => (
diff --git a/src/components/seo.jsx b/src/components/seo.jsx
new file mode 100644
index 0000000..32c53e8
--- /dev/null
+++ b/src/components/seo.jsx
@@ -0,0 +1,278 @@
+import bgImage from "../media/phones.webp"
+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 SEO = ({children, title, description}) => {
+ return <>
+ {title || "Cloudstream"}
+
+
+
+
+
+
+
+ >
+}
+
+export default SEO
\ No newline at end of file
diff --git a/src/media/phones.webp b/src/media/phones.webp
new file mode 100644
index 0000000..8a496d1
Binary files /dev/null and b/src/media/phones.webp differ
diff --git a/src/pages/404.js b/src/pages/404.js
index 257add3..eaf2caa 100644
--- a/src/pages/404.js
+++ b/src/pages/404.js
@@ -2,7 +2,7 @@ import React from "react"
import Layout from "../components/layout"
import Hero from "../components/hero"
-import bgImage from "../media/phones.png"
+import bgImage from "../media/phones.webp"
import CompatBtn from "../components/compatbtn"
const NotFoundPage = () => {
diff --git a/src/pages/docs/index.js b/src/pages/docs/index.js
index 3e54fd3..f5cd1c0 100644
--- a/src/pages/docs/index.js
+++ b/src/pages/docs/index.js
@@ -2,7 +2,7 @@ import { graphql, StaticQuery } from "gatsby"
import React from "react"
import Layout from "../../components/layout"
import DocsCard from "../../components/cards/docs"
-import bgImage from "../../media/phones.png"
+import SEO from "../../components/seo"
const DocsPage = () => {
@@ -50,14 +50,5 @@ export default DocsPage
export function Head() {
- return (
- <>
- Cloudstream Docs
-
-
-
-
-
- >
- )
+ return
}
diff --git a/src/pages/index.js b/src/pages/index.js
index 0722afa..1bc6d8a 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -3,14 +3,19 @@ import React from "react"
import Layout from "../components/layout"
import Hero from "../components/hero"
import CompatBtn from "../components/compatbtn"
+import SEO from "../components/seo"
-import bgImage from "../media/phones.png"
+import bgImage from "../media/phones.webp"
const IndexPage = () => {
return
- Hello there
- Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime.
+ Hello there
+
+ 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.
+
Install
@@ -26,15 +31,5 @@ export default IndexPage
export function Head() {
- return (
- <>
-
Cloudstream
-
-
-
-
-
-
- >
- )
+ return
}
\ No newline at end of file
diff --git a/src/pages/install.js b/src/pages/install.js
index c97ae7e..1d9dc1c 100644
--- a/src/pages/install.js
+++ b/src/pages/install.js
@@ -3,8 +3,9 @@ import React, { useEffect, useState } from "react"
import Layout from "../components/layout"
import Hero from "../components/hero"
import CompatBtn from "../components/compatbtn"
+import SEO from "../components/seo"
-import bgImage from "../media/phones.png"
+import bgImage from "../media/phones.webp"
const InstallPage = () => {
const [data, setData] = useState(null)
@@ -78,16 +79,7 @@ const InstallPage = () => {
}
export function Head() {
- return (
- <>
-
Cloudstream installation
-
-
-
-
-
- >
- )
+ return
}
export default InstallPage
diff --git a/src/pages/repos.js b/src/pages/repos.js
index 01a2b9b..990125c 100644
--- a/src/pages/repos.js
+++ b/src/pages/repos.js
@@ -3,7 +3,7 @@ import React, {useEffect, useState} from "react"
import Layout from "../components/layout"
import RepoCard from "../components/cards/repo"
import AdbConnect from "../components/adbconnect"
-import bgImage from "../media/phones.png"
+import SEO from "../components/seo"
import { TiWarning } from "react-icons/ti";
import { BiErrorAlt } from "react-icons/bi";
@@ -12,7 +12,7 @@ import { IconContext } from "react-icons";
import "./repos.css";
-const IndexPage = () => {
+const ReposPage = () => {
const [repos, setRepos] = useState(null);
const [hadError, setHadError] = useState(false);
@@ -84,16 +84,7 @@ const IndexPage = () => {
}
export function Head() {
- return (
- <>
-
Cloudstream Repositories
-
-
-
-
-
- >
- )
+ return
}
-export default IndexPage
+export default ReposPage
diff --git a/src/templates/default.jsx b/src/templates/default.jsx
index 75c24c2..8cd443b 100644
--- a/src/templates/default.jsx
+++ b/src/templates/default.jsx
@@ -1,7 +1,7 @@
import React from "react"
import { Link, graphql } from "gatsby"
import Layout from "../components/layout"
-import bgImage from "../media/phones.png"
+import SEO from "../components/seo"
import DocsCard from "../components/cards/docs"
import { node2slug } from "../utils";
@@ -94,17 +94,7 @@ export default function PageTemplate({ data: { markdownRemark, allMarkdownRemark
}
export function Head({ data }) {
- return (
- <>
-
{data.markdownRemark.frontmatter.title}
-
-
-
-
-
- >
-
- )
+ return
}
export const pageQuery = graphql`