aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/page.jsx
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-06-11 16:29:23 +0000
committerGitHub <[email protected]>2024-06-11 16:29:23 +0000
commit1f9676ba49d939ec4c67d0fdbb4ff87224decf1c (patch)
tree15e27df8913d96bd38ab5e81a05443d7fff4015e /src/app/anime/page.jsx
parentfix �: minor fix (diff)
downloaddramalama-1f9676ba49d939ec4c67d0fdbb4ff87224decf1c.tar.xz
dramalama-1f9676ba49d939ec4c67d0fdbb4ff87224decf1c.zip
✨ feat(site): unified loading page and added metadata for each site
Diffstat (limited to 'src/app/anime/page.jsx')
-rw-r--r--src/app/anime/page.jsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/app/anime/page.jsx b/src/app/anime/page.jsx
index d06b344..e020473 100644
--- a/src/app/anime/page.jsx
+++ b/src/app/anime/page.jsx
@@ -2,6 +2,11 @@ import { Card, CardHeader, CardBody, Link } from "@nextui-org/react";
import Image from "next/image";
import styles from "../page.module.css";
+export const metadata = {
+ title: "Dramalama Anime",
+ description: "Anime page for Dramalama",
+};
+
import { top_airing, recent, popular } from "./data-fetch/request";
import SearchBar from "./components/search";
import { preFetchAnimeInfo } from "./components/cacher";
@@ -19,7 +24,7 @@ const AnimeHomepage = async () => {
const header = (title) => (
<>
- <p className={`my-1 text-2xl font-bold text-sky-400 antialiased`}>
+ <p className={`my-1 text-3xl font-bold text-sky-400 antialiased`}>
{title}
</p>
</>
@@ -34,9 +39,10 @@ const AnimeHomepage = async () => {
href={`/anime/${item.id}`}
aria-label="anime redirection links"
className="mx-1 flex flex-col items-center"
+ title={item.title}
>
<Card
- className="overflow-visible"
+ className="overflow-visible bg-stone-800"
isPressable
isHoverable
shadow="sm"