diff options
| author | Factiven <[email protected]> | 2023-08-09 15:11:53 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-09 15:11:53 +0700 |
| commit | bae1f53877c3447d3ba940f823e5a8a097f5b22c (patch) | |
| tree | 98abb195bcad6f3e6c61c76c62fc238f227b0ead /pages/en/anime/trending.js | |
| parent | Update package-lock.json (diff) | |
| download | moopa-bae1f53877c3447d3ba940f823e5a8a097f5b22c.tar.xz moopa-bae1f53877c3447d3ba940f823e5a8a097f5b22c.zip | |
Update v3.9.0 - Merged Beta to Main (#41)v3.9.0
* initial commit
* Update_v.3.6.7-beta-v1.2
* Update_v.3.6.7-beta-v1.3
* Update_v.3.6.7-beta-v1.3
> update API
* Fixed mediaList won't update
* added .env disqus shortname
* Update_v3.6.7-beta-v1.4
>Implementing database
* Create main.yml
* Update v3.6.7-beta-v1.5
small patch
* title home page
* Update content.js
* Delete db-test.js
* Update content.js
* Update home page card
* Update v3.7.0
* Update v3.7.1-beta
> migrating backend to main code
> fixed schedule component
* Update v3.8.0
> Added dub options
> Moved schedule backend
* Update v.3.8.1
> Fixed episodes on watch page isn't dubbed
* Update v3.8.1-patch-1
* Update v3.8.1-patch-2
> Another patch for dub
* Update v3.8.2
> Removed prisma configuration for database since it's not stable yet
* Update v3.8.3
> Fixed different provider have same id
* Update v.3.8.3
> Fixed player bug where the controls won't hide after updating anilist progress
* Update v3.8.4-patch-2
* Update v3.8.5
> Update readme.md
> Update .env.example
* Update next.config.js
* small adjusment info page
* Update v3.8.6
> Minor update for Android 13 user
* Update v3.8.7
> Added prev and next button to mediaSession
* Update v3.8.7-beta-v2
* Beta v2 (#37)
* Update schema.prisma
* Update schema.prisma
* Update schema.prisma
* Update 3.9.0-beta-v2.1
> Implemented database for storing user Watch List and settings
> Added buttons to auto-play next episodes
* Update v3.9.0-beta-v2.2
* Update README.md
---------
Co-authored-by: Chitraksh Maheshwari <[email protected]>
Diffstat (limited to 'pages/en/anime/trending.js')
| -rw-r--r-- | pages/en/anime/trending.js | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pages/en/anime/trending.js b/pages/en/anime/trending.js index cbc30ab..9f8a187 100644 --- a/pages/en/anime/trending.js +++ b/pages/en/anime/trending.js @@ -3,7 +3,6 @@ import Image from "next/image"; import Link from "next/link"; import { useEffect, useState } from "react"; import Skeleton from "react-loading-skeleton"; -import Navbar from "../../../components/navbar"; import Footer from "../../../components/footer"; import { getServerSession } from "next-auth"; import { authOptions } from "../../api/auth/[...nextauth]"; @@ -98,7 +97,7 @@ export default function TrendingAnime({ sessions }) { <> <MobileNav sessions={sessions} /> <div className="flex flex-col gap-2 items-center min-h-screen w-screen px-2 relative pb-10"> - <div className="z-50 bg-primary pt-5 pb-3 shadow-md shadow-primary w-full fixed left-3"> + <div className="z-50 bg-primary pt-5 pb-3 shadow-md shadow-primary w-full fixed px-3"> <Link href="/en" className="flex gap-2 items-center font-karla"> <ChevronLeftIcon className="w-5 h-5" /> <h1 className="text-xl">Trending Now</h1> @@ -110,7 +109,11 @@ export default function TrendingAnime({ sessions }) { key={index} className="flex flex-col items-center w-[150px] lg:w-[180px]" > - <Link href={`/en/anime/${i.id}`} className="p-2"> + <Link + href={`/en/anime/${i.id}`} + className="p-2" + title={i.title.romaji} + > <Image src={i.coverImage.large} alt={i.title.romaji} @@ -119,7 +122,11 @@ export default function TrendingAnime({ sessions }) { className="w-[140px] h-[190px] lg:w-[170px] lg:h-[230px] object-cover rounded hover:scale-105 scale-100 transition-all duration-200 ease-out" /> </Link> - <Link href={`/en/anime/${i.id}`} className="w-full px-2"> + <Link + href={`/en/anime/${i.id}`} + className="w-full px-2" + title={i.title.romaji} + > <h1 className="font-karla font-bold xl:text-base text-[15px] line-clamp-2"> {i.status === "RELEASING" ? ( <span className="dots bg-green-500" /> |