diff options
| author | Factiven <[email protected]> | 2023-04-22 20:37:23 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-04-22 20:37:23 +0700 |
| commit | 41b373ab158811cdf0285a8b540ae73fb12ad4e5 (patch) | |
| tree | 10b20bdb33e873689892e1c4f5712500294d2458 /components | |
| parent | Update footer.js (diff) | |
| download | moopa-41b373ab158811cdf0285a8b540ae73fb12ad4e5.tar.xz moopa-41b373ab158811cdf0285a8b540ae73fb12ad4e5.zip | |
moopa.live
Diffstat (limited to 'components')
| -rw-r--r-- | components/footer.js | 10 | ||||
| -rw-r--r-- | components/navbar.js | 8 | ||||
| -rw-r--r-- | components/videoPlayer.js | 2 |
3 files changed, 13 insertions, 7 deletions
diff --git a/components/footer.js b/components/footer.js index 8701421..90ae982 100644 --- a/components/footer.js +++ b/components/footer.js @@ -16,7 +16,7 @@ function Footer() { <h1 className="font-outfit text-[40px]">moopa</h1> <div> <p className="flex items-center gap-1 font-karla md:text-[0.81rem] text-[0.7rem] text-[#CCCCCC]"> - © {new Date().getFullYear()} moopa.my.id | Website Made by + © {new Date().getFullYear()} moopa.live | Website Made by Factiven </p> <p className="font-karla md:text-[0.8rem] text-[0.65rem] text-[#9c9c9c] w-[320px] md:w-[520px] italic"> @@ -63,16 +63,16 @@ function Footer() { </ul> <ul className="flex flex-col gap-y-[0.7rem]"> <li className="cursor-pointer hover:text-action"> - <a href="/search/anime">Movies</a> + <Link href="/search/anime">Movies</Link> </li> <li className="cursor-pointer hover:text-action"> - <a href="/search/anime">TV Shows</a> + <Link href="/search/anime">TV Shows</Link> </li> <li className="cursor-pointer hover:text-action"> - <a href="/dmca">DMCA</a> + <Link href="/dmca">DMCA</Link> </li> <li className="cursor-pointer hover:text-action"> - <a href="/contact">Contact</a> + <Link href="/contact">Contact</Link> </li> </ul> </div> diff --git a/components/navbar.js b/components/navbar.js index 74e67e7..b6dcb47 100644 --- a/components/navbar.js +++ b/components/navbar.js @@ -67,9 +67,11 @@ function Navbar(props) { href={`/profile/${session?.user?.name}`} className="fixed md:hidden bottom-[100px] w-[60px] h-[60px] flex items-center justify-center right-[20px] rounded-full z-50 bg-[#17171f]" > - <img + <Image src={session?.user.image.large} alt="user avatar" + height={500} + width={500} className="object-cover w-[60px] h-[60px] rounded-full" /> </Link> @@ -263,9 +265,11 @@ function Navbar(props) { {session && ( <li className="flex items-center justify-center group "> <button> - <img + <Image src={session?.user.image.large} alt="imagine" + width={500} + height={500} className="object-cover h-10 w-10 rounded-full" /> </button> diff --git a/components/videoPlayer.js b/components/videoPlayer.js index edc8cac..e47e798 100644 --- a/components/videoPlayer.js +++ b/components/videoPlayer.js @@ -11,6 +11,7 @@ export default function VideoPlayer({ stats, op, ed, + title, }) { const [url, setUrl] = useState(); const [source, setSource] = useState([]); @@ -70,6 +71,7 @@ export default function VideoPlayer({ option={{ url: `${url}`, quality: [source], + title: `${title}`, autoplay: true, screenshot: true, }} |