Skip to content

Commit

Permalink
link to file using name
Browse files Browse the repository at this point in the history
  • Loading branch information
brodavi committed Oct 27, 2021
1 parent 8a168ee commit 4d6ecc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/projects/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,10 @@ function Project({
<ul>
{data.resources.map((resource, k) => (
<li key={k}>
<b>{resource.name}</b>
<p>{resource.description}</p>
<div>
<Link marginLeft="1em" color="#2995F8" href={resource.file}>
{resource.file}
{resource.name}
</Link>
</div>
<div>
Expand Down

0 comments on commit 4d6ecc0

Please sign in to comment.