This commit is contained in:
Cody Cook 2024-05-19 20:01:13 -07:00
commit 70c8a87e15
25 changed files with 508 additions and 187 deletions

View file

@ -19,7 +19,7 @@ require_once 'includes/header.php';
<nav aria-label="breadcrumb" class="bg-body-tertiary rounded-3 p-3 mb-4">
<ol class="breadcrumb mb-0">
<li class="breadcrumb-item"><a href="/"><?php echo $locale['home']; ?></a></li>
<li class="breadcrumb-item active"><a href="/genres.php"><?php echo $locale['genres']; ?></a>
<li class="breadcrumb-item active"><a href="/genres"><?php echo $locale['genres']; ?></a>
</li>
</ol>
</nav>
@ -35,7 +35,7 @@ require_once 'includes/header.php';
$count = 0;
foreach ($genres as $genre) {
card_output($count, $genre, $locale);
echo '<a href="/genre.php?genre=' . $genre['slug'] . '" class="btn btn-primary">' . $locale['view'] . '</a>';
echo '<a href="/genre/' . $genre['slug'] . '" class="btn btn-primary">' . $locale['view'] . '</a>';
echo '</div>';
echo '</div>';
echo '</div>';