Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixing hyperlink issue #2009

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions components/projects/ProjectList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,8 @@ function ProjectList() {
userObj &&
Object.keys(userObj).length > 0 &&
userObj?.Projects.map((project, index) => (
<Link
href={project.link}
target="_blank"
rel="noreferrer"
<div key={index}
className="w-100 my-1 p-4 mb-4 text-white hover:border-primary border border-gray-800"
key={index}
style={{
borderRadius: "10px",
minHeight: "100px",
Expand All @@ -206,13 +202,17 @@ function ProjectList() {
<p className=" pr-[.5rem] text-[.9rem] my-4 xsm:mx-0 mx-4">
{project.description}
</p>
<span className="absolute top-[-.5rem] right-[-.2rem]">
<Link
href={project.link}
target="_blank"
rel="noreferrer"
className="absolute top-[-.5rem] right-[-.2rem]">
<div
className="inline-flex h-10 items-center rounded-lg font-extrabold text-[2rem] hover:scale-110 transition-all duration-300 ease-in-out hover:text-primary"
>
<LuExternalLink size={25} />
</div>
</span>
</Link>
</div>
{/* Tech Stack section */}
<div className="flex flex-row items-center m-4 gap-4">
Expand All @@ -227,7 +227,7 @@ function ProjectList() {
))}
</div>
</div>
</Link>
</div>
))}
</div>
{isOpenModal && (
Expand Down
Loading