Skip to content

Commit

Permalink
fixed an issue where the View Details button wouldn't redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
omnipotentsock committed Jul 2, 2024
1 parent c992061 commit 7b1cf3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Events.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Events = () => {
<label>{event.startTime}</label>
<label id='c'>{event.date}</label>
</div>
<button id='redirect'>View Details</button>
<a href={event.url}><button id='redirect'>View Details</button></a>
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/styles/Events.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@
border-left: 0.5px solid #116655;
}

#footDetails a {
text-decoration: none;
color: aliceblue;
}

#footDetails #redirect {

display: block;
Expand Down

0 comments on commit 7b1cf3b

Please sign in to comment.