Address changes.

This commit is contained in:
Cody Cook 2025-02-22 17:20:19 -08:00
commit 635b3ddcbc
59 changed files with 7249 additions and 2745 deletions

View file

@ -52,10 +52,7 @@ require_once 'includes/header.php';
<img src="<?php echo $genre->get_img(); ?>"
alt="avatar"
class="rounded-circle img-fluid" style="width: 150px;">
<h5 class="my-3"><?php echo $genre->get_name();
?></h5>
</p>
<h5 class="my-3"><?php echo $genre->get_name();?></h5>
</div>
</div>
@ -110,11 +107,11 @@ require_once 'includes/header.php';
$output = new Mix($mix, $db);
echo '<div class="row">';
echo '<p class="mb-0">';
echo '<a href="/mix/' . $output->get_slug() . '">';
echo $output->get_name();
echo '<a href="/mix/' . $output->getSlug() . '">';
echo $output->getName();
echo '</a>';
echo ' &dash; ';
$djs = $output->get_djs();
$djs = $output->getDJs();
$djCount = 0;
foreach ($djs as $dj) {
echo '<a href="/dj/' . $dj->getSlug() . '">';
@ -168,10 +165,10 @@ require_once 'includes/header.php';
<script>
document.addEventListener('DOMContentLoaded', function () {
var shareBtn = document.getElementById('shareBtn');
var shareModal = new bootstrap.Modal(document.getElementById('shareModal'));
var copyLinkBtn = document.getElementById("copyLinkBtn");
var urlToCopy = window.location.href + '?utm_source=website&utm_medium=share_modal&utm_campaign=sharing';
const shareBtn = document.getElementById('shareBtn');
const shareModal = new bootstrap.Modal(document.getElementById('shareModal'));
const copyLinkBtn = document.getElementById("copyLinkBtn");
const urlToCopy = window.location.href + '?utm_source=website&utm_medium=share_modal&utm_campaign=sharing';
shareBtn.addEventListener('click', function () {
shareModal.show();