aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/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/kdrama/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/kdrama/page.jsx')
-rw-r--r--src/app/kdrama/page.jsx11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/app/kdrama/page.jsx b/src/app/kdrama/page.jsx
index 3f57967..dc90008 100644
--- a/src/app/kdrama/page.jsx
+++ b/src/app/kdrama/page.jsx
@@ -1,6 +1,11 @@
import { Card, CardHeader, CardBody, Link } from "@nextui-org/react";
import Image from "next/image";
+export const metadata = {
+ title: "Dramalama K-Drama",
+ description: "k-drama page for Dramalama",
+};
+
import { DramaDataFetcher } from "./components/requests";
import styles from "../page.module.css";
import { Searchbar } from "./components/searchBar";
@@ -35,7 +40,7 @@ const KdramaHomepage = async () => {
className="mx-1 flex flex-col items-center"
>
<Card
- className="overflow-visible"
+ className="overflow-visible bg-stone-800"
isPressable
isHoverable
shadow="sm"
@@ -45,8 +50,8 @@ const KdramaHomepage = async () => {
alt="Kdrama Poster"
src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item.image}`}
width={270}
- height={160}
- className="h-60 overflow-hidden rounded-md"
+ height={170}
+ className="h-64 overflow-hidden rounded-md"
priority
/>
</CardBody>