Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion frontend/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function displayCasterTable(data) {
row.appendChild(nameTd)

const platformTd = document.createElement('td')
platformTd.innerHTML = `<i class="fab fa-${c.platform.toLowerCase()}"></i>`
platformTd.innerHTML = `<i class="fa-brands fa-${c.platform.toLowerCase()}"></i>`
row.appendChild(platformTd)

const handleTd = document.createElement('td')
Expand Down
4 changes: 4 additions & 0 deletions frontend/gfx/gfx.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

<script src="/static/main-bundle.js"></script>

<!--
Update the kit to version 7
Don't forget to also update `layout.pug` and `login.pug` files
-->
<script
src="https://kit.fontawesome.com/23ea831532.js"
crossorigin="anonymous"
Expand Down
5 changes: 4 additions & 1 deletion frontend/gfx/gfx.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function displayCaster(data) {
function getSocial(platform, handle) {
const span = document.createElement('span')

const icon =`<i class="fab fa-${platform.toLowerCase()}"></i>`
const icon =`<i class="fa-brands fa-${platform.toLowerCase()}"></i>`
span.innerHTML += icon
handle = handle.trim()

Expand All @@ -78,6 +78,9 @@ function getSocial(platform, handle) {
case 'YouTube':
handle = `@${handle}`
break;
case 'LinkTree':
handle = `linktr.ee/${handle}`
break;
}
span.innerHTML += handle

Expand Down
1 change: 1 addition & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ <h1>RCVolus Caster: Operator Cockpit</h1>
<option>TikTok</option>
<option>Telegram</option>
<option>LinkedIn</option>
<option>LinkTree</option>
</select>
</div>
<div class="form-group w-50">
Expand Down