+
#{index + 1} Spotlight
-
+
{language === "EN" ? item.title : item.japanese_title}
-
+
{item.tvInfo && (
<>
{item.tvInfo.showType && (
-
+
{item.tvInfo.showType}
@@ -47,9 +46,9 @@ function Banner({ item, index }) {
-
+
{item.tvInfo.duration}
@@ -59,9 +58,9 @@ function Banner({ item, index }) {
-
+
{item.tvInfo.releaseDate}
@@ -69,30 +68,30 @@ function Banner({ item, index }) {
{item.tvInfo.quality && (
-
+
{item.tvInfo.quality}
)}
{item.tvInfo.episodeInfo?.sub && (
-
+
-
+
{item.tvInfo.episodeInfo.sub}
)}
{item.tvInfo.episodeInfo?.dub && (
-
+
-
+
{item.tvInfo.episodeInfo.dub}
@@ -102,35 +101,30 @@ function Banner({ item, index }) {
>
)}
-
+
{item.description}
-
-
-
-
- Detail
-
-
-
-
+
+
+
+
+ Watch Now
+
+
+ Details
+
);
}
-export default Banner;
+export default Banner;
\ No newline at end of file
diff --git a/src/components/splashscreen/SplashScreen.css b/src/components/splashscreen/SplashScreen.css
index 26bf168..7040ad2 100644
--- a/src/components/splashscreen/SplashScreen.css
+++ b/src/components/splashscreen/SplashScreen.css
@@ -98,18 +98,23 @@ body {
/* Enter button */
.enter-button {
- background: white;
+ background: rgba(255, 255, 255, 0.9);
color: black;
- padding: 12px 24px;
+ padding: 14px 28px;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
margin: 8px 0 60px;
- transition: background-color 0.2s;
+ transition: all 0.2s ease;
+ backdrop-filter: blur(8px);
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
+ border: 1px solid rgba(255, 255, 255, 0.1);
}
.enter-button:hover {
- background: #ffbade;
+ background: white;
+ transform: translateY(-1px);
+ box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
/* FAQ Section */
@@ -133,10 +138,11 @@ body {
}
.faq-item {
- background: #141414;
+ background: rgba(255, 255, 255, 0.03);
border-radius: 12px;
overflow: hidden;
- border: 1px solid #1a1a1a;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(8px);
}
.faq-question {
@@ -155,18 +161,18 @@ body {
}
.faq-question:hover {
- background: #1a1a1a;
+ background: rgba(255, 255, 255, 0.05);
}
.faq-toggle {
font-size: 16px;
- color: white;
- opacity: 0.8;
- transition: transform 0.2s ease;
+ color: rgba(255, 255, 255, 0.7);
+ transition: all 0.2s ease;
}
.faq-toggle.rotate {
transform: rotate(180deg);
+ color: white;
}
.faq-answer {
diff --git a/src/components/spotlight/Spotlight.css b/src/components/spotlight/Spotlight.css
index 01d867e..639a04d 100644
--- a/src/components/spotlight/Spotlight.css
+++ b/src/components/spotlight/Spotlight.css
@@ -13,56 +13,99 @@
}
.button-prev,
.button-next {
- width: 40px;
- height: 40px;
- color: white;
- background-color: #383747;
- border-radius: 7px;
- display: flex;
- justify-content: center;
- align-items: center;
+ width: 32px;
+ height: 32px;
+ background-color: rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(8px);
+ border-radius: 6px;
cursor: pointer;
- transition: all 0.3s ease-out;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: all 0.2s ease;
}
+
.button-prev:hover,
.button-next:hover {
- background-color: #ffbade;
- color: #383747;
+ background-color: rgba(255, 255, 255, 0.1);
+ border-color: rgba(255, 255, 255, 0.2);
+ transform: translateY(-1px);
+}
+
+.button-prev::after,
+.button-next::after {
+ content: '';
+ width: 7px;
+ height: 7px;
+ border: 1.5px solid rgba(255, 255, 255, 0.8);
+ border-left: 0;
+ border-bottom: 0;
}
.button-prev::after {
- font-family: "Font Awesome 5 Free";
- content: "\f053";
- font-weight: 900;
- font-size: 14px;
+ transform: rotate(-135deg);
+ margin-left: 3px;
}
.button-next::after {
- font-family: "Font Awesome 5 Free";
- content: "\f054";
- font-weight: 900;
- font-size: 14px;
+ transform: rotate(45deg);
+ margin-right: 3px;
}
.swiper-horizontal > .swiper-pagination-bullets {
- display: none;
+ bottom: 20px !important;
+ left: 50% !important;
+ transform: translateX(-50%) !important;
+ width: auto !important;
+ display: flex !important;
+ gap: 8px;
+ align-items: center;
+ justify-content: center;
}
+
+.swiper-pagination-bullet {
+ width: 8px !important;
+ height: 8px !important;
+ border-radius: 50% !important;
+ background-color: rgba(255, 255, 255, 0.5) !important;
+ opacity: 1 !important;
+}
+
.swiper-pagination-bullet-active {
- background-color: rgb(239, 213, 22) !important;
+ background-color: #ffbade !important;
+ width: 24px !important;
+ border-radius: 12px !important;
}
+
+.swiper-pagination {
+ bottom: 15px !important;
+}
+
+.swiper-pagination-bullet {
+ background: white !important;
+ opacity: 0.5;
+}
+
+.swiper-pagination-bullet-active {
+ opacity: 1;
+}
+
@media only screen and (max-width: 575px) {
.swiper-horizontal > .swiper-pagination-bullets {
- /* bottom: var(--swiper-pagination-bottom, 8px); */
- bottom: 0;
- right: 10px !important ;
- left: auto !important;
- width: 20px !important;
- bottom: 5px !important;
+ bottom: 10px !important;
+ left: 50% !important;
+ transform: translateX(-50%) !important;
+ width: auto !important;
display: flex !important;
- gap: 18px;
+ gap: 6px;
align-items: center;
justify-content: center;
- height: 80%;
- flex-direction: column;
+ flex-direction: row !important;
+ height: auto !important;
}
-}
+ .button-prev,
+ .button-next {
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/src/components/spotlight/Spotlight.jsx b/src/components/spotlight/Spotlight.jsx
index 94e2e7a..54e5a1a 100644
--- a/src/components/spotlight/Spotlight.jsx
+++ b/src/components/spotlight/Spotlight.jsx
@@ -1,18 +1,19 @@
import { Swiper, SwiperSlide } from "swiper/react";
-import { Navigation, Autoplay } from "swiper/modules";
+import { Navigation, Autoplay, Pagination } from "swiper/modules";
import "swiper/css";
import "swiper/css/autoplay";
import "swiper/css/navigation";
+import "swiper/css/pagination";
import "./Spotlight.css";
import Banner from "../banner/Banner";
const Spotlight = ({ spotlights }) => {
return (
<>
-
-
-
+
+
+
{spotlights && spotlights.length > 0 ? (
<>
@@ -25,14 +26,18 @@ const Spotlight = ({ spotlights }) => {
nextEl: ".button-next",
prevEl: ".button-prev",
}}
+ pagination={{
+ clickable: true,
+ dynamicBullets: false,
+ }}
autoplay={{
delay: 3000,
disableOnInteraction: false,
}}
- modules={[Navigation, Autoplay]}
- className="h-[600px] max-[1390px]:h-full"
+ modules={[Navigation, Autoplay, Pagination]}
+ className="h-[450px] max-[1390px]:h-full"
style={{
- "--swiper-pagination-bullet-inactive-color": "#ffffff",
+ "--swiper-pagination-bullet-inactive-color": "rgba(255, 255, 255, 0.5)",
"--swiper-pagination-bullet-inactive-opacity": "1",
}}
>
@@ -51,4 +56,4 @@ const Spotlight = ({ spotlights }) => {
);
};
-export default Spotlight;
+export default Spotlight;
\ No newline at end of file
+
{item.tvInfo.showType}
+
{item.tvInfo.duration}
+
{item.tvInfo.releaseDate}
+
{item.tvInfo.episodeInfo.sub}
+
{item.tvInfo.episodeInfo.dub}
+
{item.description}
-- Detail -
-
+
+
+
+
+
+