Channel Logos
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../src/Services/LogoService.php';
|
||||
|
||||
$logoUrl = LogoService::getLogoUrl($channelId);
|
||||
?>
|
||||
|
||||
<section class="channel">
|
||||
<div class="channel-header">
|
||||
<?= htmlspecialchars($channel['name']) ?>
|
||||
<div class="channel-header channel-header-with-logo">
|
||||
<img class="mini-channel-logo" src="<?= htmlspecialchars($logoUrl) ?>" alt="">
|
||||
<span><?= htmlspecialchars($channel['name']) ?></span>
|
||||
</div>
|
||||
|
||||
<?php if (!$programmes): ?>
|
||||
@@ -13,4 +20,3 @@
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user