Skip to content

Commit

Permalink
replace banner on pop up on room enter; move extra info down in profi…
Browse files Browse the repository at this point in the history
…le section
  • Loading branch information
bitkarrot committed Sep 23, 2024
1 parent 21ba492 commit ce7dbfd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
6 changes: 4 additions & 2 deletions public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -1866,9 +1866,11 @@ async function showAnnouncements(useNavigator = false) {
Swal.fire({
background: swalBackground,
position: 'center',
title: 'Latest Updates',
//title: 'Latest Updates',
html: `
<div><a href="https://hivetalk.printify.me/products" target="_blank"><img src="/images/bluemerch.png"></a></div>
<div><a href="https://hivetalk.printify.me/products" target="_blank">
<img src="/images/shophivetalk.gif" width="100%" height="50%"></a>
</div>
<div>
<p align="left"><ul style="text-align: left;">
<li>Locked Rooms are now hidden.</li>
Expand Down
26 changes: 13 additions & 13 deletions public/views/Room.html
Original file line number Diff line number Diff line change
Expand Up @@ -1197,19 +1197,6 @@ <h3>Moderator options</h3>
</div>
</td>
</tr>
<tr>
<td>
<div class="title">
<i class="fa-solid fa-circle-info"></i>
<p>Extra info:</p>
</div>
</td>
</tr>
<tr>
<td>
<pre id="extraInfo"></pre>
</td>
</tr>

<!-- add nostr login button here -->
<tr>
Expand Down Expand Up @@ -1237,6 +1224,19 @@ <h3>Moderator options</h3>
</div>
</td>
</tr>
<tr>
<td>
<div class="title">
<i class="fa-solid fa-circle-info"></i>
<p>Extra info:</p>
</div>
</td>
</tr>
<tr>
<td>
<pre id="extraInfo"></pre>
</td>
</tr>
</table>
</div>

Expand Down

0 comments on commit ce7dbfd

Please sign in to comment.