From 7ec5ba668767344400fc049e12b2620b4ab0318f Mon Sep 17 00:00:00 2001 From: real-zephex Date: Mon, 8 Jul 2024 22:44:46 +0530 Subject: style: i mean, it's better than before? --- bun.lockb | Bin 210694 -> 212675 bytes package.json | 1 + public/manga.jpg | Bin 0 -> 351741 bytes public/todoroki.jpg | Bin 0 -> 39378 bytes src/app/page.jsx | 92 ++++++++++++++++++++++++++++++++++++++++++++-------- 5 files changed, 79 insertions(+), 14 deletions(-) create mode 100644 public/manga.jpg create mode 100644 public/todoroki.jpg diff --git a/bun.lockb b/bun.lockb index 73be665..275f1d7 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 3fd098f..a8513c0 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "@types/node": "20.11.28", "@types/react": "18.2.66", "autoprefixer": "^10.4.19", + "daisyui": "^4.12.10", "eslint": "^9", "postcss": "^8.4.38", "tailwindcss": "^3.4.3" diff --git a/public/manga.jpg b/public/manga.jpg new file mode 100644 index 0000000..beb9d1d Binary files /dev/null and b/public/manga.jpg differ diff --git a/public/todoroki.jpg b/public/todoroki.jpg new file mode 100644 index 0000000..5f6386c Binary files /dev/null and b/public/todoroki.jpg differ diff --git a/src/app/page.jsx b/src/app/page.jsx index 3827c56..7c8b209 100644 --- a/src/app/page.jsx +++ b/src/app/page.jsx @@ -1,18 +1,36 @@ -import { Card, CardBody } from "@nextui-org/react"; +import { + Card, + CardBody, + CardFooter, + Button, + CardHeader, + Divider, +} from "@nextui-org/react"; +import Image from "next/image"; import Link from "next/link"; export default async function Home() { - const homePageCards = (title) => { + const homePageCards = (title, image) => { return ( - + + + anime image + + -

{title}

+

{title}

@@ -20,14 +38,60 @@ export default async function Home() { }; return ( -
-
- {homePageCards("anime")} - {homePageCards("movies")} - {homePageCards("kdrama")} - {homePageCards("manga")} - {homePageCards("web-series")} -
+
+
+

Welcome to

+
+

Dramalama

+

+ Dramalama is a platform which lets you stream your favourite + content for free. +

+
+ + {/*
+
+ anime image +

Anime

+
+
*/} +
+ {homePageCards("anime", "todoroki.jpg")} + {homePageCards("manga", "manga.jpg")} +
+ +
+ {" "} + + +
); } -- cgit v1.2.3