diff options
| author | real-zephex <[email protected]> | 2024-06-07 14:03:40 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-06-07 14:03:40 +0530 |
| commit | 9e0d502e6f9c0dd1dc88f42f7be4aae71c858164 (patch) | |
| tree | 661d2f887d323c374529f4fe2af168708f2bdb39 /src/app/web-series/components | |
| parent | Merge branch 'master' of https://github.com/real-zephex/Dramalama-Next (diff) | |
| download | dramalama-9e0d502e6f9c0dd1dc88f42f7be4aae71c858164.tar.xz dramalama-9e0d502e6f9c0dd1dc88f42f7be4aae71c858164.zip | |
✨ style: changed background color for show pages
Diffstat (limited to 'src/app/web-series/components')
| -rw-r--r-- | src/app/web-series/components/descriptionTabs.jsx | 8 | ||||
| -rw-r--r-- | src/app/web-series/components/seriesSearchFormatter.jsx | 7 | ||||
| -rw-r--r-- | src/app/web-series/components/videoPlayer.jsx | 4 |
3 files changed, 12 insertions, 7 deletions
diff --git a/src/app/web-series/components/descriptionTabs.jsx b/src/app/web-series/components/descriptionTabs.jsx index ec6a78b..d0a4945 100644 --- a/src/app/web-series/components/descriptionTabs.jsx +++ b/src/app/web-series/components/descriptionTabs.jsx @@ -19,14 +19,14 @@ export default function SeriesDescriptionTabs({ data: data }) { <div className="flex w-full flex-col"> <Tabs aria-label="Options" className={lexend.className}> <Tab key="description" title="Description"> - <Card> + <Card shadow="sm"> <CardBody className={atkinson.className}> {data.overview || "No description found"} </CardBody> </Card> </Tab> <Tab key="episodes" title="Details"> - <Card> + <Card shadow="sm"> <CardBody className={lexend.className}> <h4> <strong>Tagline</strong>:{" "} @@ -86,7 +86,7 @@ export default function SeriesDescriptionTabs({ data: data }) { </Card> </Tab> <Tab key="seasons" title="Seasons"> - <Card> + <Card shadow="sm"> <CardBody> {data.seasons && data.seasons.map((item, index) => ( @@ -94,7 +94,7 @@ export default function SeriesDescriptionTabs({ data: data }) { key={index} className="flex flex-row items-center mb-1" isPressable - shadow="lg" + shadow="sm" > <Image src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=https://image.tmdb.org/t/p/original${item.poster_path}`} diff --git a/src/app/web-series/components/seriesSearchFormatter.jsx b/src/app/web-series/components/seriesSearchFormatter.jsx index 3b119d6..1480d84 100644 --- a/src/app/web-series/components/seriesSearchFormatter.jsx +++ b/src/app/web-series/components/seriesSearchFormatter.jsx @@ -19,7 +19,12 @@ const SeriesSearchFormatter = async (data) => { aria-label="anime redirection links" className="mx-1 flex flex-col items-center" > - <Card className="overflow-hidden" isPressable> + <Card + className="overflow-hidden" + isPressable + isHoverable + shadow="sm" + > <CardBody> <Image alt="Searched Movie Poster" diff --git a/src/app/web-series/components/videoPlayer.jsx b/src/app/web-series/components/videoPlayer.jsx index 49f44f5..3c2f017 100644 --- a/src/app/web-series/components/videoPlayer.jsx +++ b/src/app/web-series/components/videoPlayer.jsx @@ -16,7 +16,7 @@ const SeriesVideoPlayer = ({ id: id }) => { const VideoFrameGenerator = (sea, epi) => { return ( <iframe - src={`https://vidsrc.pro/embed/tv/${id}/${sea}/${epi}?player=new`} + src={`https://vidsrc.pro/embed/tv/${id}/${sea}/${epi}`} allowFullScreen referrerPolicy="origin" height={720} @@ -28,7 +28,7 @@ const SeriesVideoPlayer = ({ id: id }) => { function renderVideoFrame() { if (seasonNumber === "" || episodeNumber === "") { alert( - "Make sure that you have entered the episode number and the season number.", + "Make sure that you have entered the episode number and the season number." ); return; } |