diff options
| author | real-zephex <[email protected]> | 2024-05-23 09:45:47 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-05-23 09:45:47 +0530 |
| commit | 442082ac8a8c97d55a5b16c0427247a0f89f304b (patch) | |
| tree | 63900955e769c411c8d1ea5f7496c879604d2c55 /src/app/anime/components/search_results.jsx | |
| parent | Update README.md (diff) | |
| download | dramalama-442082ac8a8c97d55a5b16c0427247a0f89f304b.tar.xz dramalama-442082ac8a8c97d55a5b16c0427247a0f89f304b.zip | |
🎨 style(anime): UI improvements to the anime page
Diffstat (limited to 'src/app/anime/components/search_results.jsx')
| -rw-r--r-- | src/app/anime/components/search_results.jsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app/anime/components/search_results.jsx b/src/app/anime/components/search_results.jsx index d4c8146..051124d 100644 --- a/src/app/anime/components/search_results.jsx +++ b/src/app/anime/components/search_results.jsx @@ -1,4 +1,4 @@ -import { Atkinson_Hyperlegible } from "next/font/google"; +import { Lexend_Deca } from "next/font/google"; import Link from "next/link"; import Image from "next/image"; @@ -6,7 +6,7 @@ import styles from "../styles/search.module.css"; import { search_results } from "../data-fetch/request"; import { preFetchAnimeInfo } from "./cacher"; -const atkinson = Atkinson_Hyperlegible({ subsets: ["latin"], weight: "400" }); +const lexend = Lexend_Deca({ subsets: ["latin"], weight: "400" }); const SearchResults = async (title) => { const data = await search_results(title); @@ -21,17 +21,17 @@ const SearchResults = async (title) => { shallow href={`/anime/${item.id}`} key={index} - className={atkinson.className} + className={lexend.className} style={{ color: "white", textDecoration: "none" }} > <div className={styles.AnimeEntry}> - <p>{item.title}</p> <Image src={item.image} - width={140} - height={200} + width={180} + height={300} alt="Anime Poster" /> + <p>{item.title}</p> </div> </Link> ))} |