@@ -65,11 +65,11 @@ export const InfiniteMovingCards = ({
6565 const getSpeed = ( ) => {
6666 if ( containerRef . current ) {
6767 if ( speed === "fast" ) {
68- containerRef . current . style . setProperty ( "--animation-duration" , "20s " ) ;
68+ containerRef . current . style . setProperty ( "--animation-duration" , "300s " ) ;
6969 } else if ( speed === "normal" ) {
70- containerRef . current . style . setProperty ( "--animation-duration" , "40s " ) ;
70+ containerRef . current . style . setProperty ( "--animation-duration" , "450s " ) ;
7171 } else {
72- containerRef . current . style . setProperty ( "--animation-duration" , "80s " ) ;
72+ containerRef . current . style . setProperty ( "--animation-duration" , "600s " ) ;
7373 }
7474 }
7575 } ;
@@ -92,27 +92,23 @@ export const InfiniteMovingCards = ({
9292 >
9393 { items . map ( ( item , idx ) => (
9494 < li
95- className = "w-[350px] max-w-full relative rounded-2xl border border-b-0 flex-shrink-0 border-slate-700 px-8 py-6 md:w-[450px]"
96- style = { {
97- background :
98- "linear-gradient(180deg, var(--slate-800), var(--slate-900))" ,
99- } }
95+ className = "w-[350px] max-w-full relative rounded-2xl border border-b-0 flex-shrink-0 border-neutral-300 dark:border-slate-700 px-8 py-6 md:w-[450px] bg-neutral-800 dark:bg-slate-800"
10096 key = { idx }
10197 >
10298 < blockquote >
10399 < div
104100 aria-hidden = "true"
105101 className = "user-select-none -z-1 pointer-events-none absolute -left-0.5 -top-0.5 h-[calc(100%_+_4px)] w-[calc(100%_+_4px)]"
106102 > </ div >
107- < span className = "relative z-20 text-sm leading-[1.6] text-gray-100 font-normal" >
103+ < span className = "relative z-20 text-sm leading-[1.6] text-white dark:text- gray-100 font-normal" >
108104 "{ item . quote } "
109105 </ span >
110106 < div className = "relative z-20 mt-6 flex flex-row items-center" >
111107 < span className = "flex flex-col gap-1" >
112- < span className = "text-sm leading-[1.6] text-gray-400 font-normal" >
108+ < span className = "text-sm leading-[1.6] text-neutral-300 dark:text- gray-400 font-normal" >
113109 { item . name }
114110 </ span >
115- < span className = "text-sm leading-[1.6] text-gray-400 font-normal" >
111+ < span className = "text-sm leading-[1.6] text-neutral-300 dark:text- gray-400 font-normal" >
116112 { item . title }
117113 </ span >
118114 </ span >
0 commit comments