Skip to content

Commit 959f2bf

Browse files
authored
fix the redirection link on blog carousal to blogs home page
2 parents b00bd2e + a85a177 commit 959f2bf

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/components/blogCarousel/blogCarousel.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)