Make streamer name and profile picture in navbar link to twitch page

master
Dessa Simpson 2020-11-10 15:09:27 -07:00
parent 51a4c5b2a3
commit fd1d4613bd
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@
</head>
<body>
<div id="navbar">
<div id="nav-streamerpic"><img src="<%= it.streamerProfilePicture %>" /></div>
<div id="nav-title"><%= it.streamerName %>'s Learn Request Queue</div>
<div id="nav-streamerpic"><a href="https://twitch.tv/<%= it.streamerName %>"><img src="<%= it.streamerProfilePicture %>" /></a></div>
<div id="nav-title"><a href="https://twitch.tv/<%= it.streamerName %>"><%= it.streamerName %></a>'s Learn Request Queue</div>
<div id="nav-requests"><a href="/">Requests</a></div>
<%- if (it.loggedIn) { -%>
<div id="nav-addrequest"><a href="#" onclick="openAddRequestModal()">Add Request</a></div>