diff options
Diffstat (limited to 'src/app/anime')
| -rw-r--r-- | src/app/anime/history/continueWatching/page.jsx | 4 | ||||
| -rw-r--r-- | src/app/anime/recent/page.jsx | 6 | ||||
| -rw-r--r-- | src/app/anime/search/page.jsx | 14 | ||||
| -rw-r--r-- | src/app/anime/search/search.module.css | 1 | ||||
| -rw-r--r-- | src/app/anime/top-airing/page.jsx | 8 | ||||
| -rw-r--r-- | src/app/anime/top-airing/trending.module.css | 20 |
6 files changed, 31 insertions, 22 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 = () => { </div>
<Image
src={item.image}
- width={140}
- height={210}
+ width={167}
+ height={267}
alt="Continue anime poster"
priority
/>
diff --git a/src/app/anime/recent/page.jsx b/src/app/anime/recent/page.jsx index 21d5fb4..44aa301 100644 --- a/src/app/anime/recent/page.jsx +++ b/src/app/anime/recent/page.jsx @@ -10,7 +10,7 @@ export default async function Recent() { return (
<div className={styles.TrendingContainer}>
<div className={styles.TrendingText}>
- <p>Recent Releases</p>
+ <h1>Recent Releases</h1>
</div>
<div className={styles.trending}>
@@ -28,8 +28,8 @@ export default async function Recent() { <Image
src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item.image}`}
className={styles.trendingImage}
- width={210}
- height={310}
+ width={167}
+ height={267}
alt="Drama"
priority
/>
diff --git a/src/app/anime/search/page.jsx b/src/app/anime/search/page.jsx index bf399cf..f543fd8 100644 --- a/src/app/anime/search/page.jsx +++ b/src/app/anime/search/page.jsx @@ -33,7 +33,7 @@ export default function Input() { };
return (
- <div style={{marginBottom: -15}}>
+ <div style={{ marginBottom: -15 }}>
<div className={styles.inputContainer}>
<div className={styles.searchContainer}>
<FaSearch className={styles.searchIcon} />
@@ -48,11 +48,13 @@ export default function Input() { className={styles.SearchInput}
></input>
</div>
- <button>
- <Link href={"/anime/history/continueWatching"}>
- History
- </Link>
- </button>
+ <div>
+ <button>
+ <Link href={"/anime/history/continueWatching"}>
+ History
+ </Link>
+ </button>
+ </div>
</div>
{loading && (
diff --git a/src/app/anime/search/search.module.css b/src/app/anime/search/search.module.css index 185f6d5..f3c5b85 100644 --- a/src/app/anime/search/search.module.css +++ b/src/app/anime/search/search.module.css @@ -40,6 +40,7 @@ .searchContainer {
display: flex;
align-items: center;
+ justify-content: center;
margin: 20px 0px 20px 0px;
background-color: #121212;
padding: 10px;
diff --git a/src/app/anime/top-airing/page.jsx b/src/app/anime/top-airing/page.jsx index a0fc302..0102371 100644 --- a/src/app/anime/top-airing/page.jsx +++ b/src/app/anime/top-airing/page.jsx @@ -6,11 +6,11 @@ import { preFetchAnimeInfo } from "../videoLinkfetcher"; export default async function Trending() {
const data = await test();
preFetchAnimeInfo(data);
-
+
return (
<div className={styles.TrendingContainer}>
<div className={styles.TrendingText}>
- <p>Trending</p>
+ <h1>Trending</h1>
</div>
<div className={styles.trending}>
@@ -28,8 +28,8 @@ export default async function Trending() { <Image
src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item.image}`}
className={styles.trendingImage}
- width={210}
- height={310}
+ width={167}
+ height={267}
alt="Drama"
priority
/>
diff --git a/src/app/anime/top-airing/trending.module.css b/src/app/anime/top-airing/trending.module.css index 2abaf4b..cd1a672 100644 --- a/src/app/anime/top-airing/trending.module.css +++ b/src/app/anime/top-airing/trending.module.css @@ -1,14 +1,19 @@ -.TrendingText p {
- font-size: 36px;
+.TrendingText h1 {
margin: 0px 0px 0.5rem 0.5rem;
- font-weight: 400;
- color: var(--soft-purple);
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;
}
.trending {
display: grid;
- grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-gap: 0.5rem;
align-items: center;
margin-left: 0.5rem;
@@ -42,7 +47,7 @@ .trendingEntries p {
text-align: center;
width: auto;
- max-width: 190px;
+ max-width: 160px;
margin: 0.5rem 0 0 0;
overflow: hidden;
white-space: nowrap;
@@ -51,6 +56,7 @@ .trendingEntries img {
border-radius: 0.4rem;
+ box-shadow: 0 0 10px 5px rgba(18, 18, 18, 0.863);
}
@media screen and (max-width: 768px) {
@@ -70,4 +76,4 @@ .trendingEntries img {
width: auto;
}
-}
+}
\ No newline at end of file |