2024-12-25 14:08:51 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="ja">
|
2024-12-26 13:14:43 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="/css/schedule.css">
|
|
|
|
<link rel="stylesheet" href="/css/header.css">
|
|
|
|
</head>
|
|
|
|
<%- include("partials/head") %>
|
|
|
|
<body>
|
|
|
|
<%- include("partials/header") %>
|
|
|
|
<div class="header-spacer"></div>
|
|
|
|
<div class="main-content">
|
|
|
|
<div class="content">
|
|
|
|
<div class="schedule-container">
|
|
|
|
<% Object.keys(groupedSchedules).forEach(date => { %>
|
|
|
|
<div class="date-header">
|
|
|
|
<%= dayjs(date).tz("Asia/Tokyo").format("YYYY年MM月DD日 (ddd)") %>
|
2024-12-25 14:08:51 +00:00
|
|
|
</div>
|
2024-12-26 13:14:43 +00:00
|
|
|
<div class="banners">
|
|
|
|
<% groupedSchedules[date].forEach(schedule => { %>
|
|
|
|
<a href="https://www.youtube.com/watch?v=<%= schedule.video_id %>" class="banner" target="_blank">
|
|
|
|
<div class="thumbnail">
|
|
|
|
<img src="<%= schedule.thumbnail_url || '/default-thumbnail.jpg' %>" alt="Thumbnail">
|
|
|
|
</div>
|
|
|
|
<div class="details">
|
|
|
|
<div class="time-channel">
|
|
|
|
<span class="time"><%= dayjs(schedule.start_time).tz("Asia/Tokyo").format("HH:mm") %></span>
|
|
|
|
<span class="channel-name">/ <%= schedule.Channel.name %></span>
|
|
|
|
</div>
|
|
|
|
<div class="title"><%= schedule.title %></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<% }) %>
|
2024-12-25 14:08:51 +00:00
|
|
|
</div>
|
2024-12-26 13:14:43 +00:00
|
|
|
<% }) %>
|
|
|
|
</div>
|
2024-12-25 14:08:51 +00:00
|
|
|
</div>
|
2024-12-26 13:14:43 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
2024-12-25 14:08:51 +00:00
|
|
|
</html>
|