diff --git a/src/components/landing/nav-content/my-work.tsx b/src/components/landing/nav-content/my-work.tsx index 57148bb..ad97171 100644 --- a/src/components/landing/nav-content/my-work.tsx +++ b/src/components/landing/nav-content/my-work.tsx @@ -10,6 +10,7 @@ import Project from "@/types/project"; import { ScrollArea } from "@/components/ui/scroll-area"; import Image from "next/image"; import { truncateText } from "@/lib/utils"; +import SimpleTooltip from "@/components/ui/simple-tooltip"; const projects: Project[] = [ { @@ -76,55 +77,64 @@ const MyWork = (): ReactElement => { return (
- {projects.map((project, index) => ( - ( + - - {/* Icon, Name & Years Active */} -
-
- {`The -

- {project.name} -

-
-
- - {project.startDate.format("MMM YYYY")} - - 🞄 - {project.endDate ? ( - - {project.endDate.format("MMM YYYY")} - - ) : ( - - Present - - )} -
-
- - {/* Description */} -

- {truncateText(project.description, 136)} + content={ +

+ {project.description}

-
- + } + > + + + {/* Icon, Name & Years Active */} +
+
+ {`The +

+ {project.name} +

+
+
+ + {project.startDate.format( + "MMM YYYY" + )} + + 🞄 + {project.endDate ? ( + + {project.endDate.format( + "MMM YYYY" + )} + + ) : ( + + Present + + )} +
+
+ + {/* Description */} +

+ {truncateText(project.description, 136)} +

+
+ +
))}