aboutsummaryrefslogtreecommitdiff
path: root/src/app/movies/components
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-06-07 14:03:40 +0530
committerreal-zephex <[email protected]>2024-06-07 14:03:40 +0530
commit9e0d502e6f9c0dd1dc88f42f7be4aae71c858164 (patch)
tree661d2f887d323c374529f4fe2af168708f2bdb39 /src/app/movies/components
parentMerge branch 'master' of https://github.com/real-zephex/Dramalama-Next (diff)
downloaddramalama-9e0d502e6f9c0dd1dc88f42f7be4aae71c858164.tar.xz
dramalama-9e0d502e6f9c0dd1dc88f42f7be4aae71c858164.zip
✨ style: changed background color for show pages
Diffstat (limited to 'src/app/movies/components')
-rw-r--r--src/app/movies/components/descriptionTabs.jsx6
-rw-r--r--src/app/movies/components/searchFormatter.jsx7
-rw-r--r--src/app/movies/components/videoPlayer.jsx4
3 files changed, 11 insertions, 6 deletions
diff --git a/src/app/movies/components/descriptionTabs.jsx b/src/app/movies/components/descriptionTabs.jsx
index 7eec2fb..dc11939 100644
--- a/src/app/movies/components/descriptionTabs.jsx
+++ b/src/app/movies/components/descriptionTabs.jsx
@@ -11,14 +11,14 @@ export default function DescriptionTabs({ 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>:{" "}
@@ -62,7 +62,7 @@ export default function DescriptionTabs({ data: data }) {
</Card>
</Tab>
<Tab key="download" title="Download">
- <Card>
+ <Card shadow="sm">
<CardBody className={lexend.className}>
<h4 className="flex items-center">
<Link
diff --git a/src/app/movies/components/searchFormatter.jsx b/src/app/movies/components/searchFormatter.jsx
index f6a578e..d241d7b 100644
--- a/src/app/movies/components/searchFormatter.jsx
+++ b/src/app/movies/components/searchFormatter.jsx
@@ -18,7 +18,12 @@ const MovieSearchFormatter = 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/movies/components/videoPlayer.jsx b/src/app/movies/components/videoPlayer.jsx
index 154d633..12885da 100644
--- a/src/app/movies/components/videoPlayer.jsx
+++ b/src/app/movies/components/videoPlayer.jsx
@@ -2,11 +2,11 @@ const MovieVideoPlayer = async ({ id: id }) => {
const videoFrameGenerator = (id) => {
return (
<iframe
- src={`https://vidsrc.pro/embed/movie/${id}?player=new`}
+ src={`https://vidsrc.pro/embed/movie/${id}`}
allowFullScreen
referrerPolicy="origin"
height={720}
- className="w-full h-[240px] lg:h-[720px]"
+ className="w-full h-[240px] lg:h-[720px] rounded-lg"
></iframe>
);
};