From d4fdb4e3d6a3fbf042db8605d371605a64c8db4c Mon Sep 17 00:00:00 2001
From: zephex-alt <166333351+zephex-alt@users.noreply.github.com>
Date: Wed, 8 May 2024 04:26:20 +0000
Subject: minor css fixes and added a new source for movies
---
src/app/anime/history/continueWatching/page.jsx | 4 +-
src/app/anime/recent/page.jsx | 6 +-
src/app/anime/search/page.jsx | 14 +++--
src/app/anime/search/search.module.css | 1 +
src/app/anime/top-airing/page.jsx | 8 +--
src/app/anime/top-airing/trending.module.css | 20 ++++---
src/app/kdrama/components/popular.jsx | 6 +-
src/app/kdrama/components/recent.jsx | 6 +-
src/app/kdrama/styles/popular.module.css | 19 ++++--
src/app/manga/manga.module.css | 5 +-
src/app/movies/components/search_2.jsx | 80 +++++++++++++------------
src/app/movies/components/video_player.jsx | 9 +++
src/app/movies/styles/info.module.css | 2 +-
src/app/movies/styles/search.module.css | 7 ++-
src/app/page.module.css | 47 ++++++++-------
15 files changed, 138 insertions(+), 96 deletions(-)
diff --git a/src/app/anime/history/continueWatching/page.jsx b/src/app/anime/history/continueWatching/page.jsx
index 4b18adf..ecb73fc 100644
--- a/src/app/anime/history/continueWatching/page.jsx
+++ b/src/app/anime/history/continueWatching/page.jsx
@@ -48,8 +48,8 @@ const ContinueWatching = () => {
Recent Releases
+Trending
+Trending Dramas
+{item.title}
diff --git a/src/app/kdrama/components/recent.jsx b/src/app/kdrama/components/recent.jsx index d28f348..9c5d452 100644 --- a/src/app/kdrama/components/recent.jsx +++ b/src/app/kdrama/components/recent.jsx @@ -8,7 +8,7 @@ export default async function RecentDramas() { PreFetchAnimeInfo(popular); return (Recent Releases
+{item.title}
diff --git a/src/app/kdrama/styles/popular.module.css b/src/app/kdrama/styles/popular.module.css index fce54c1..20d0e73 100644 --- a/src/app/kdrama/styles/popular.module.css +++ b/src/app/kdrama/styles/popular.module.css @@ -1,15 +1,21 @@ .popDramasText { color: var(--soft-purple); - font-size: 36px; margin-bottom: 10px; - font-weight: 400; text-align: center; + color: transparent; + background: linear-gradient(90deg, + var(--neon-green) 40%, + var(--light-green) 60%, + var(--neon-yellow) 80%, + var(--soft-purple) 100%); + background-size: 60% 50%; + background-clip: text; } .AnimeContainer { display: grid; - grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); - grid-gap: 0.5rem; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + grid-gap: 0.7rem; align-items: center; } @@ -41,13 +47,14 @@ .AnimeEntry img { border-radius: 0.4rem; + box-shadow: 0 0 10px 5px rgba(18, 18, 18, 0.863); } .AnimeEntry p { text-align: center; color: white; width: auto; - max-width: 180px; + max-width: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; @@ -71,4 +78,4 @@ .AnimeEntry img { width: auto; } -} +} \ No newline at end of file diff --git a/src/app/manga/manga.module.css b/src/app/manga/manga.module.css index 3763d7d..cd18c0a 100644 --- a/src/app/manga/manga.module.css +++ b/src/app/manga/manga.module.css @@ -9,6 +9,7 @@ .searchMain { display: flex; align-items: center; + justify-content: center; } .MangaImage { @@ -32,7 +33,7 @@ padding: 0.4rem; border: none; outline: none; - font-family: "Atkinson Hyperlegible", serif; + font-family: "Lexend Deca", serif; background: #1f1f1f; color: white; cursor: pointer; @@ -69,4 +70,4 @@ .SearchBar { width: 60dvw; } -} +} \ No newline at end of file diff --git a/src/app/movies/components/search_2.jsx b/src/app/movies/components/search_2.jsx index 0eb66fb..cf3fc69 100644 --- a/src/app/movies/components/search_2.jsx +++ b/src/app/movies/components/search_2.jsx @@ -9,43 +9,49 @@ import styles from "../styles/search.module.css"; const SearchResults = async (title) => { const data = await get_search_results(title); PreFetchMovieInfo(data); - return ( -{item.title || item.original_title}
-+ {item.title || item.original_title} +
+No results found!
; + } }; const get_search_results = async (title) => { diff --git a/src/app/movies/components/video_player.jsx b/src/app/movies/components/video_player.jsx index 15db6a8..5a49db0 100644 --- a/src/app/movies/components/video_player.jsx +++ b/src/app/movies/components/video_player.jsx @@ -53,6 +53,15 @@ export default function VIDEO_PLAYER({ id: id }) { > Vidsrc.icu +