File tree Expand file tree Collapse file tree
src/components/blogCarousel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export function BlogCarousel() {
4545 </ p >
4646 </ div >
4747 < Link
48- to = "/blog "
48+ to = "/blogs "
4949 className = "flex items-center gap-1.5 text-sm font-medium text-indigo-600 border border-indigo-200 px-4 py-2 rounded-lg hover:bg-indigo-50 transition-all dark:text-indigo-400 dark:border-indigo-800 dark:hover:bg-indigo-950"
5050 style = { { textDecoration : "none" } }
5151 >
@@ -97,11 +97,10 @@ export function BlogCarousel() {
9797 key = { index }
9898 onClick = { ( ) => api ?. scrollTo ( index ) }
9999 aria-label = { `Go to slide ${ index + 1 } ` }
100- className = { `h-2 rounded-full transition-all duration-300 ${
101- current === index + 1
100+ className = { `h-2 rounded-full transition-all duration-300 ${ current === index + 1
102101 ? "w-5 bg-indigo-500"
103102 : "w-2 bg-gray-300 hover:bg-gray-400 dark:bg-gray-600 dark:hover:bg-gray-500"
104- } `}
103+ } `}
105104 />
106105 ) ) }
107106 </ div >
You can’t perform that action at this time.
0 commit comments