@@ -21,9 +21,11 @@ import RecorderGradientIcon from "@/app/components/theme/Icon/recorderGradientIc
2121import SEOComponent from "@/app/components/theme/SEOComponent/SEOComponent" ;
2222import { detectBrowser } from "@/app/libs/helpers" ;
2323import EdgeIcon from "@/app/components/theme/Icon/edgeIcon" ;
24+ import { useTheme } from "@/app/contexts/themeContext" ;
2425
2526const Page = ( { params : { slug } } : { params : { slug : string } } ) => {
2627 const [ browser , setBrowser ] = useState ( "chrome" ) ;
28+ const { isLightTheme } = useTheme ( ) ;
2729
2830 useEffect ( ( ) => {
2931 setBrowser ( detectBrowser ( ) ) ;
@@ -56,11 +58,11 @@ const Page = ({ params: { slug } }: { params: { slug: string } }) => {
5658 ogDescription = { meta_data ?. og_description }
5759 ogImage = { meta_data ?. og_image }
5860 />
59- < div className = " md:max-w-[1170px] mx-auto" >
61+ < div className = { ` md:max-w-[1170px] mx-auto ${ DevelopmentToolsStyles . pageContainer } ` } >
6062 < div className = "px-3 md:px-auto mx-auto" >
6163 { /*Hero cta section */ }
6264 < section className = "md:pt-0 pt-9" >
63- < div className = " bg-[#090B0B] text-white flex flex-col items-center justify-center pl-6 pr-4 mt-10 rounded-lg" >
65+ < div className = { ` bg-[#090B0B] text-white flex flex-col items-center justify-center pl-6 pr-4 mt-10 rounded-lg ${ DevelopmentToolsStyles . promoPanel } ` } >
6466 < div className = "w-full flex md:flex-row flex-col md:items-center items-start md:justify-between justify-start gap-8 md:py-4 py-8 md:px-7" >
6567 { /* Left Section */ }
6668 < div className = "text-left flex-1" >
@@ -169,7 +171,7 @@ const Page = ({ params: { slug } }: { params: { slug: string } }) => {
169171 </ div >
170172 </ section >
171173
172- < div className = " md:pb-[70px] md:pt-[30px] py-[50px]" >
174+ < div className = { ` md:pb-[70px] md:pt-[30px] py-[50px] ${ DevelopmentToolsStyles . contentWrapper } ` } >
173175 { /* Heading section */ }
174176 { hero_section && (
175177 < section >
@@ -209,7 +211,7 @@ const Page = ({ params: { slug } }: { params: { slug: string } }) => {
209211 { /* Tools Panel - 20% width, fixed */ }
210212 { development_tools_list ?. length > 0 && (
211213 < div className = "md:w-1/4 md:sticky left-0 md:top-8 top-2 h-full overflow-y-auto flex flex-col" >
212- < div className = "bg-[#FFFFFF1A] p-4 rounded-xl" >
214+ < div className = { DevelopmentToolsStyles . sidePanel } >
213215 < div className = "flex items-center mb-6" >
214216 < h2 className = "text-xl font-bold text-gray-800" >
215217 Other Tools
@@ -218,7 +220,7 @@ const Page = ({ params: { slug } }: { params: { slug: string } }) => {
218220 { development_tools_list ?. map ( ( tool : any , index : any ) => (
219221 < Link key = { index } href = { tool ?. url } >
220222 < div
221- className = { `p-3 mb-2 cursor-pointer rounded-xl border-[1px] border-transparent hover:border-1 hover:border-primary bg-black text-white hover:text-primary` }
223+ className = { `p-3 mb-2 cursor-pointer rounded-xl border-[1px] border-transparent hover:border-1 hover:border-primary bg-black text-white hover:text-primary ${ DevelopmentToolsStyles . sidePanelItem } ` }
222224 >
223225 { tool ?. tool }
224226 </ div >
@@ -884,7 +886,7 @@ const Page = ({ params: { slug } }: { params: { slug: string } }) => {
884886
885887 { /* cta section */ }
886888 < section >
887- < div className = " bg-[#090B0B] text-white flex flex-col items-center justify-center pl-6 pr-4 mt-10" >
889+ < div className = { ` bg-[#090B0B] text-white flex flex-col items-center justify-center pl-6 pr-4 mt-10 ${ DevelopmentToolsStyles . promoPanel } ` } >
888890 < div className = "w-full flex md:flex-row flex-col md:items-center items-start md:justify-between justify-start gap-8 md:py-4 py-8 md:px-7" >
889891 { /* Left Section */ }
890892 < div className = "text-left flex-1" >
@@ -933,7 +935,10 @@ const Page = ({ params: { slug } }: { params: { slug: string } }) => {
933935 "https://www.loom.com/share/beb5310bed634e4783d10becd4a291f2?sid=7bcb9a6f-0290-4d5b-9eb0-12ed04e9167e"
934936 }
935937 >
936- < PlayIcon className = "hover:text-primary" />
938+ < PlayIcon
939+ className = { isLightTheme ? "text-[#111827] hover:text-primary" : "hover:text-primary" }
940+ arrowFill = { isLightTheme ? "#ffffff" : "#000000" }
941+ />
937942 </ Link >
938943 </ div >
939944 < p className = "text-sm mt-2 text-white" >
0 commit comments