aboutsummaryrefslogtreecommitdiff
path: root/src/app/web-series
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/web-series
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/web-series')
-rw-r--r--src/app/web-series/loading.jsx15
-rw-r--r--src/app/web-series/page.jsx9
2 files changed, 7 insertions, 17 deletions
diff --git a/src/app/web-series/loading.jsx b/src/app/web-series/loading.jsx
deleted file mode 100644
index 63ffdfc..0000000
--- a/src/app/web-series/loading.jsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import { CircularProgress } from "@nextui-org/react";
-
-const LoadingScreen = async () => {
- return (
- <div className="w-screen h-screen flex gap-4 items-center justify-center">
- <CircularProgress
- color="success"
- aria-label="Loading..."
- label="Loading Web-series..."
- />
- </div>
- );
-};
-
-export default LoadingScreen;
diff --git a/src/app/web-series/page.jsx b/src/app/web-series/page.jsx
index a5f24bb..bb57ec3 100644
--- a/src/app/web-series/page.jsx
+++ b/src/app/web-series/page.jsx
@@ -2,6 +2,11 @@ import { Card, CardHeader, CardBody } from "@nextui-org/react";
import Image from "next/image";
import Link from "next/link";
+export const metadata = {
+ title: "Dramalama TV-Shows",
+ description: "Web series page for Dramalama",
+};
+
import {
TOP_SHOWS,
TRENDING_SHOWS,
@@ -39,7 +44,7 @@ const SeriesHomepage = async () => {
className="mx-1 flex flex-col items-center"
>
<Card
- className="overflow-visible"
+ className="overflow-visible bg-stone-800"
isPressable
isHoverable
shadow="sm"
@@ -49,7 +54,7 @@ const SeriesHomepage = async () => {
alt="Movie Poster"
src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=https://image.tmdb.org/t/p/original${item.poster_path}`}
width={270}
- height={180}
+ height={170}
className="h-64 overflow-hidden rounded-md"
priority
/>