diff --git a/src/components/cards/repo.jsx b/src/components/cards/repo.jsx index 70834ff..4125a53 100644 --- a/src/components/cards/repo.jsx +++ b/src/components/cards/repo.jsx @@ -1,10 +1,14 @@ import React, { useState, useEffect } from "react"; import CompatBtn from "../compatbtn"; +import { GoVerified } from "react-icons/go"; -const RepoCard = ({ url, isFirst }) => { +const RepoCard = ({ data, isFirst }) => { const [data, setData] = useState(null) + const url = (typeof data === 'string') ? data : data.url + const isVerified = (typeof data === 'object' && data.verified) + useEffect(() => { fetch(url) .then(r => r.json()) @@ -18,8 +22,15 @@ const RepoCard = ({ url, isFirst }) => { } return
-
-

{data.name || "Unnamed"}

+
+

+ {isVerified && +
+ +
+ } + {data.name || "Unnamed"} +

{data.description || "No description provided"}

diff --git a/src/pages/docs/users/index.md b/src/pages/docs/users/index.md index 555b184..e8d3292 100644 --- a/src/pages/docs/users/index.md +++ b/src/pages/docs/users/index.md @@ -8,7 +8,7 @@ order: 1 An Android app to stream and download Movies, TV-Shows and Animes This [open source app](https://github.com/recloudstream/cloudstream) can stream any media content from various sources -Check out the [FAQ](./faq.md) first! +Check out the [FAQ](../faq.md) first! ### Disclaimer ⚠️ The app is purely for educational and personal use.