From 6f74ae9da8ff320a9eb706afd707023c3b955d98 Mon Sep 17 00:00:00 2001 From: sanjidaRimi023 Date: Wed, 6 May 2026 19:43:33 +0600 Subject: [PATCH] fix some minor link bug --- src/components/TeamSection.tsx | 13 +++++++------ src/pages/BlogArticle.tsx | 16 ++++++++-------- src/pages/NotFound.tsx | 6 +++--- src/pages/ProjectDetails.tsx | 12 ++++++------ src/pages/Projects.tsx | 14 ++++++++------ 5 files changed, 32 insertions(+), 29 deletions(-) diff --git a/src/components/TeamSection.tsx b/src/components/TeamSection.tsx index e243b75..bcfb91b 100644 --- a/src/components/TeamSection.tsx +++ b/src/components/TeamSection.tsx @@ -5,6 +5,7 @@ import { Autoplay, Pagination } from "swiper/modules"; import { Swiper, SwiperSlide } from "swiper/react"; import { useTeam } from "@/hooks/queires/useTeam"; +import { Link } from "react-router-dom"; export default function TeamSection() { const { data: teamdata } = useTeam(); @@ -85,16 +86,16 @@ export default function TeamSection() { />
- + - - + + - - + + {" "} - +
diff --git a/src/pages/BlogArticle.tsx b/src/pages/BlogArticle.tsx index 1d37d3b..f0de011 100644 --- a/src/pages/BlogArticle.tsx +++ b/src/pages/BlogArticle.tsx @@ -205,9 +205,9 @@ export default function BlogArticle() {
  • {children}
  • ), a: ({ href, children }) => ( - + {children} - + ), strong: ({ children }) => ( @@ -337,24 +337,24 @@ export default function BlogArticle() {

    {post.author.bio}

    {post.author.twitter && ( - - + )} {post.author.linkedin && ( - - + )}
    diff --git a/src/pages/NotFound.tsx b/src/pages/NotFound.tsx index 7bc2234..1b30452 100644 --- a/src/pages/NotFound.tsx +++ b/src/pages/NotFound.tsx @@ -1,4 +1,4 @@ -import { useLocation } from "react-router-dom"; +import { Link, useLocation } from "react-router-dom"; import { useEffect } from "react"; const NotFound = () => { @@ -13,9 +13,9 @@ const NotFound = () => {

    404

    Oops! Page not found

    - + Return to Home - +
    ); diff --git a/src/pages/ProjectDetails.tsx b/src/pages/ProjectDetails.tsx index 8956028..0cfc0d5 100644 --- a/src/pages/ProjectDetails.tsx +++ b/src/pages/ProjectDetails.tsx @@ -202,8 +202,8 @@ export default function ProjectDetails() { transition={{ duration: 0.5, delay: 0.4 }} className="flex flex-wrap gap-4" > - View Live - + {project.codeUrl && ( - View Code - + )} diff --git a/src/pages/Projects.tsx b/src/pages/Projects.tsx index 28bfdc3..343b7b8 100644 --- a/src/pages/Projects.tsx +++ b/src/pages/Projects.tsx @@ -167,20 +167,22 @@ export default function Projects() { {/* Quick Links */}
    - - - + - +