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() {{post.author.bio}
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 = () => { ); 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 */}