From 31c8da42dcf905c9fd9eafcf41cff30c0f988333 Mon Sep 17 00:00:00 2001 From: real-zephex Date: Fri, 24 May 2024 23:24:27 +0530 Subject: =?UTF-8?q?=E2=9C=85=20fix(anime):=20fix=20continue=20watching=20f?= =?UTF-8?q?unctionality=20and=20minor=20tweaks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/anime/continueWatching/page.jsx | 36 ++++++++++++++++-------------- src/app/components/workInProgress/page.jsx | 2 +- 2 files changed, 20 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/app/anime/continueWatching/page.jsx b/src/app/anime/continueWatching/page.jsx index 69d06de..e58360e 100644 --- a/src/app/anime/continueWatching/page.jsx +++ b/src/app/anime/continueWatching/page.jsx @@ -1,8 +1,8 @@ "use client"; import React, { useState, useEffect } from "react"; -import Image from "next/image"; -import Link from "next/link"; +import NextImage from "next/image"; +import { Card, CardFooter, Image, Button, Link } from "@nextui-org/react"; const ContinueWatching = () => { const [localItems, setLocalItems] = useState(null); @@ -23,33 +23,35 @@ const ContinueWatching = () => { } return ( -
-

Continue Watching

+
+

Continue Watching

{localItems && ( -
+
{localItems.watchHis && localItems.watchHis.map((item, index) => ( -
-
-

{item.name}

-

- Episode watching: {item.episode} -

-

- Last watched on: {item.date} at{" "} - {item.time} hours +

+
+

+ {item.name}

+

Episode: {item.episode}

Continue anime poster
diff --git a/src/app/components/workInProgress/page.jsx b/src/app/components/workInProgress/page.jsx index 0af0a98..66d1e22 100644 --- a/src/app/components/workInProgress/page.jsx +++ b/src/app/components/workInProgress/page.jsx @@ -1,7 +1,7 @@ const WorkInProgress = async () => { return (
-

+

This section is undergoing a complete overhaul. Sorry for the inconvenience.

-- cgit v1.2.3