aboutsummaryrefslogtreecommitdiff
path: root/src/app/page.jsx
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-05-26 22:29:35 +0530
committerreal-zephex <[email protected]>2024-05-26 22:29:35 +0530
commit3da8e6263d1900571cc8565b19d1b383dfbbf631 (patch)
treec9aefb831b91e9f8c531d246be2cd88cd0af669a /src/app/page.jsx
parent🚀 feat(download): add download feature for movies (diff)
downloaddramalama-3da8e6263d1900571cc8565b19d1b383dfbbf631.tar.xz
dramalama-3da8e6263d1900571cc8565b19d1b383dfbbf631.zip
⚡️ perf(kdrama, anime): cache video links, replace next/image
Diffstat (limited to 'src/app/page.jsx')
-rw-r--r--src/app/page.jsx12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/app/page.jsx b/src/app/page.jsx
index 4c99113..6a8e0aa 100644
--- a/src/app/page.jsx
+++ b/src/app/page.jsx
@@ -1,11 +1,5 @@
-import {
- Card,
- CardHeader,
- CardBody,
- Divider,
- Link,
- Image,
-} from "@nextui-org/react";
+import { Card, CardHeader, CardBody, Divider, Link } from "@nextui-org/react";
+import Image from "next/image";
export default async function Home() {
const homePageCards = (title, message, url) => {
@@ -17,8 +11,8 @@ export default async function Home() {
alt="nextui logo"
height={40}
width={40}
- radius="sm"
src={url}
+ className="rounded-md"
/>
<div className="flex flex-col">
<p className="text-md">{title}</p>