aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-07-19 23:43:41 +0700
committerFactiven <[email protected]>2023-07-19 23:43:41 +0700
commit2e1766d335e5b87e6414e4cb52a562e04c7894ca (patch)
tree390eb5998ec4f64dbf2f6982f45e15d48c3f9d33 /components
parentUpdate README.md (diff)
downloadmoopa-2e1766d335e5b87e6414e4cb52a562e04c7894ca.tar.xz
moopa-2e1766d335e5b87e6414e4cb52a562e04c7894ca.zip
speed up schedule load
Diffstat (limited to 'components')
-rw-r--r--components/home/schedule.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/components/home/schedule.js b/components/home/schedule.js
index 92315be..f5aa44f 100644
--- a/components/home/schedule.js
+++ b/components/home/schedule.js
@@ -65,13 +65,11 @@ export default function Schedule({ data, scheduleData, time }) {
<div className="rounded mb-5 shadow-md shadow-black">
<div className="overflow-hidden w-full h-[96px] lg:h-[10rem] rounded relative">
<div className="absolute flex flex-col justify-center pl-5 lg:pl-16 rounded z-20 bg-gradient-to-r from-30% from-[#0c0c0c] to-transparent w-full h-full">
- <h1 className="text-xs lg:text-lg">Coming Up Next!</h1>
- <div
- className="w-1/2 lg:w-2/5 hidden lg:block font-medium font-karla leading-[2.9rem] text-white line-clamp-1"
- >
+ <h1 className="text-xs xl:text-lg">Coming Up Next!</h1>
+ <div className="w-1/2 lg:w-2/5 hidden lg:block font-medium font-karla leading-[2.9rem] text-white line-clamp-1">
<Link
href={`/en/anime/${data.id}`}
- className="hover:underline underline-offset-4 decoration-2"
+ className="hover:underline underline-offset-4 decoration-2 lg:text-lg xl:text-2xl 2xl:text-3xl"
>
{data.title.romaji || data.title.english || data.title.native}
</Link>