fix: center date picker, reset in theme row, 1hr grid padding, updated show descriptions

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-02 19:33:59 -05:00
parent a28554dfaf
commit 0fb0a82936
4 changed files with 33 additions and 38 deletions

View File

@@ -47,14 +47,13 @@ export function renderPage(title: string, bodyContent: string, prefs: Preference
<h1 class="site-title"><a href="/week">📻 VCR Calendar</a></h1> <h1 class="site-title"><a href="/week">📻 VCR Calendar</a></h1>
<p class="site-header__disclaimer">Subject to change, not official</p> <p class="site-header__disclaimer">Subject to change, not official</p>
<nav class="controls-bar"> <nav class="controls-bar">
<div class="controls-row"> <div class="controls-row controls-row--center">
<a href="${prevLink}" class="week-nav" aria-label="Previous week">←</a> <a href="${prevLink}" class="week-nav" aria-label="Previous week">←</a>
<span class="week-label">${weekBounds.label}</span> <span class="week-label">${weekBounds.label}</span>
<a href="${nextLink}" class="week-nav" aria-label="Next week">→</a> <a href="${nextLink}" class="week-nav" aria-label="Next week">→</a>
</div> </div>
<div class="controls-row">${tzLinks}</div> <div class="controls-row">${tzLinks}</div>
<div class="controls-row">${themeLinks}</div> <div class="controls-row">${themeLinks}<span class="reset-spacer"></span><a href="/week?reset=1" class="reset-link" title="Resets timezone, theme, and mode to defaults">↺ Reset</a></div>
<div class="controls-row controls-row--reset"><a href="/week?reset=1" class="reset-link" title="Resets timezone, theme, and mode to defaults">↺ Reset</a><span class="reset-hint">resets all options</span></div>
</nav> </nav>
</header> </header>
<main class="page-container">${bodyContent}</main> <main class="page-container">${bodyContent}</main>

View File

@@ -49,11 +49,10 @@ export function renderWeekGrid(shows: Show[], prefs: Preferences): string {
gridEndMin = 22 * 60; gridEndMin = 22 * 60;
} }
gridStartMin = Math.floor(gridStartMin / 30) * 30; gridStartMin = Math.floor(gridStartMin / 60) * 60 - 60;
gridEndMin = Math.ceil(gridEndMin / 30) * 30; gridEndMin = Math.ceil(gridEndMin / 60) * 60 + 60;
if (gridEndMin <= gridStartMin) { if (gridStartMin < 0) gridStartMin = 0;
gridEndMin = gridStartMin + 30; if (gridEndMin > 48 * 60) gridEndMin = 48 * 60;
}
for (const block of placed) { for (const block of placed) {
block.startRow = minutesToRow(block.startMin, gridStartMin); block.startRow = minutesToRow(block.startMin, gridStartMin);

View File

@@ -3,7 +3,7 @@
{ {
"slug": "bowl-after-bowl", "slug": "bowl-after-bowl",
"name": "Bowl After Bowl", "name": "Bowl After Bowl",
"shortDescription": "The flagship Small Group talk show.", "shortDescription": "A podcast about life, liberty, love and the pursuit of bowls. May your bowls burn ever brighter!",
"websiteUrl": "https://bowlafterbowl.com", "websiteUrl": "https://bowlafterbowl.com",
"feedUrl": "https://feed.bowlafterbowl.com/feed.xml", "feedUrl": "https://feed.bowlafterbowl.com/feed.xml",
"accentColor": "#f2b705", "accentColor": "#f2b705",
@@ -22,7 +22,7 @@
{ {
"slug": "homegrown-hits", "slug": "homegrown-hits",
"name": "Homegrown Hits", "name": "Homegrown Hits",
"shortDescription": "Small Group music/V4V radio-style show.", "shortDescription": "V4V Music show. You host it. We Toast it.",
"websiteUrl": "https://homegrownhits.xyz", "websiteUrl": "https://homegrownhits.xyz",
"feedUrl": "https://feed.homegrownhits.xyz/feed.xml", "feedUrl": "https://feed.homegrownhits.xyz/feed.xml",
"accentColor": "#39d97a", "accentColor": "#39d97a",
@@ -41,7 +41,7 @@
{ {
"slug": "behind-the-sch3m3s", "slug": "behind-the-sch3m3s",
"name": "Behind the Sch3m3s", "name": "Behind the Sch3m3s",
"shortDescription": "Small Group talk show.", "shortDescription": "You Can't Spell The New Abnormal W/o NWO Leave a Scr33m Mail at 612-263-SXXY (7999)",
"websiteUrl": "https://www.feed.behindthesch3m3s.com", "websiteUrl": "https://www.feed.behindthesch3m3s.com",
"feedUrl": "https://www.feed.behindthesch3m3s.com/feed.xml", "feedUrl": "https://www.feed.behindthesch3m3s.com/feed.xml",
"accentColor": "#e85fd1", "accentColor": "#e85fd1",
@@ -79,7 +79,7 @@
{ {
"slug": "millennial-media-offensive", "slug": "millennial-media-offensive",
"name": "Millennial Media Offensive", "name": "Millennial Media Offensive",
"shortDescription": "Small Group talk show.", "shortDescription": "Weekly news commentary and geopolitical analysis from a millennial perspective - deconstructing mainstream narratives on politics, international affairs, current events, and generational issues",
"websiteUrl": "https://mmo.show", "websiteUrl": "https://mmo.show",
"feedUrl": "https://mmo.show/wp-content/feed.xml", "feedUrl": "https://mmo.show/wp-content/feed.xml",
"accentColor": "#ff5c4d", "accentColor": "#ff5c4d",
@@ -98,7 +98,7 @@
{ {
"slug": "nick-the-rat-radio", "slug": "nick-the-rat-radio",
"name": "Nick the Rat Radio", "name": "Nick the Rat Radio",
"shortDescription": "Small Group show.", "shortDescription": "A paranoid cartoon rat that plays music on a paranormal podcast. Also takes calls! 1-917-719-5923",
"websiteUrl": "https://nicktherat.com", "websiteUrl": "https://nicktherat.com",
"feedUrl": "https://nicktherat.com/radio/feed.xml", "feedUrl": "https://nicktherat.com/radio/feed.xml",
"accentColor": "#e07bff", "accentColor": "#e07bff",
@@ -136,7 +136,7 @@
{ {
"slug": "mutton-mead-and-music", "slug": "mutton-mead-and-music",
"name": "Mutton, Mead & Music", "name": "Mutton, Mead & Music",
"shortDescription": "Small Group music/V4V show.", "shortDescription": "A Value4Value Music Podcast. Supporting musicians with Boostagrams, through Wallet Switching Technology, on the BTC Lightning Network.",
"websiteUrl": "https://mmmusic.show", "websiteUrl": "https://mmmusic.show",
"feedUrl": "https://mmmusic.show/podcast/feed.xml", "feedUrl": "https://mmmusic.show/podcast/feed.xml",
"accentColor": "#5fe0a8", "accentColor": "#5fe0a8",
@@ -155,9 +155,9 @@
{ {
"slug": "planet-rage", "slug": "planet-rage",
"name": "Planet Rage", "name": "Planet Rage",
"shortDescription": "Media deconstruction comedy podcast.", "shortDescription": "Like No Agenda With Anger Management Issues!",
"websiteUrl": "https://planetrage.show", "websiteUrl": "https://planetrage.show",
"feedUrl": "", "feedUrl": "https://planetrage.show/feed/podcast/",
"accentColor": "#d94f30", "accentColor": "#d94f30",
"hosts": ["Darren O'Neill", "Larry Bleidner"], "hosts": ["Darren O'Neill", "Larry Bleidner"],
"isSmallGroup": false, "isSmallGroup": false,
@@ -174,9 +174,9 @@
{ {
"slug": "dh-unplugged", "slug": "dh-unplugged",
"name": "DH Unplugged", "name": "DH Unplugged",
"shortDescription": "Markets and finance podcast.", "shortDescription": "Dvorak and Horowitz Unplugged Podcast. (Markets and finance podcast)",
"websiteUrl": "https://www.dhunplugged.com", "websiteUrl": "https://www.dhunplugged.com",
"feedUrl": "", "feedUrl": "https://www.dhunplugged.com/feed/",
"accentColor": "#3d9eff", "accentColor": "#3d9eff",
"hosts": [], "hosts": [],
"isSmallGroup": false, "isSmallGroup": false,
@@ -193,9 +193,9 @@
{ {
"slug": "party-line-show", "slug": "party-line-show",
"name": "Party Line Show", "name": "Party Line Show",
"shortDescription": "Interactive call-in show on voidzero Community Radio.", "shortDescription": "Party Line Show: a guest centric ensemble variety show, multiple hosts, unexpected interviews, crowd engagement, and, of course, media deconstruction.",
"websiteUrl": "https://www.partylineshow.com", "websiteUrl": "https://www.partylineshow.com",
"feedUrl": "", "feedUrl": "https://rss.partylineshow.com/feed.xml",
"accentColor": "#e6c845", "accentColor": "#e6c845",
"hosts": [], "hosts": [],
"isSmallGroup": false, "isSmallGroup": false,
@@ -214,7 +214,7 @@
"name": "#OO Show", "name": "#OO Show",
"shortDescription": "Creative Commons radio show.", "shortDescription": "Creative Commons radio show.",
"websiteUrl": "https://rynothebearded.com/category/ooshow/", "websiteUrl": "https://rynothebearded.com/category/ooshow/",
"feedUrl": "", "feedUrl": "http://rynothebearded.com/feed/podcast/",
"accentColor": "#44cfcf", "accentColor": "#44cfcf",
"hosts": ["Ryno The Bearded"], "hosts": ["Ryno The Bearded"],
"isSmallGroup": false, "isSmallGroup": false,
@@ -231,9 +231,9 @@
{ {
"slug": "unrelenting", "slug": "unrelenting",
"name": "Unrelenting", "name": "Unrelenting",
"shortDescription": "Unfiltered tech and culture podcast.", "shortDescription": "A weekly look at politics, technology, and pop-culture with a smattering of opinion.",
"websiteUrl": "https://www.unrelenting.show", "websiteUrl": "https://www.unrelenting.show",
"feedUrl": "", "feedUrl": "https://www.unrelenting.show/feed/podcast/",
"accentColor": "#b8602e", "accentColor": "#b8602e",
"hosts": ["Darren O'Neill", "Gene Naftulyev"], "hosts": ["Darren O'Neill", "Gene Naftulyev"],
"isSmallGroup": false, "isSmallGroup": false,
@@ -250,9 +250,9 @@
{ {
"slug": "podcasting-2-0", "slug": "podcasting-2-0",
"name": "Podcasting 2.0", "name": "Podcasting 2.0",
"shortDescription": "The reference show for Podcasting 2.0 standards.", "shortDescription": "The Podcast Index presents Podcasting 2.0 - Upgrading Podcasting",
"websiteUrl": "https://podcastindex.org", "websiteUrl": "https://podcastindex.org",
"feedUrl": "", "feedUrl": "https://feeds.podcastindex.org/pc20.xml",
"accentColor": "#7b68ee", "accentColor": "#7b68ee",
"hosts": ["Adam Curry", "Dave Jones"], "hosts": ["Adam Curry", "Dave Jones"],
"isSmallGroup": false, "isSmallGroup": false,
@@ -269,7 +269,7 @@
{ {
"slug": "chad-and-reeds-podcast", "slug": "chad-and-reeds-podcast",
"name": "Chad and Reeds Podcast", "name": "Chad and Reeds Podcast",
"shortDescription": "Small Group talk show.", "shortDescription": "The Chad and Reeds Podcast is two guys building on the new internet, out loud. Chad and Reed each found their way into Podcasting 2.0, Bitcoin, and Nostr, spent a while vibe-coding sites and apps with them, and figured it was time to team up",
"websiteUrl": "https://candr.space", "websiteUrl": "https://candr.space",
"feedUrl": "https://serve.podhome.fm/rss/7c6f7875-2b73-491e-b32c-e2c8d6e91d53", "feedUrl": "https://serve.podhome.fm/rss/7c6f7875-2b73-491e-b32c-e2c8d6e91d53",
"accentColor": "#5b9dff", "accentColor": "#5b9dff",
@@ -288,7 +288,7 @@
{ {
"slug": "hyper-spaceout", "slug": "hyper-spaceout",
"name": "Hyper SpaceOut", "name": "Hyper SpaceOut",
"shortDescription": "Live-only biweekly game night.", "shortDescription": "Live-only biweekly game night. Every other Sunday, the rules bend like warm plastic.",
"websiteUrl": "https://hyperspaceout.com", "websiteUrl": "https://hyperspaceout.com",
"feedUrl": "https://feed.falsefinish.club/HSO/podcast-rss.xml", "feedUrl": "https://feed.falsefinish.club/HSO/podcast-rss.xml",
"accentColor": "#c98fff", "accentColor": "#c98fff",
@@ -307,7 +307,7 @@
{ {
"slug": "accidentally-interesting", "slug": "accidentally-interesting",
"name": "Accidentally Interesting", "name": "Accidentally Interesting",
"shortDescription": "Small Group talk show.", "shortDescription": "Two guys who pay attention and ask questions.",
"websiteUrl": "https://accidentallyinteresting.com", "websiteUrl": "https://accidentallyinteresting.com",
"feedUrl": "https://accidentallyinteresting.com/feed.xml", "feedUrl": "https://accidentallyinteresting.com/feed.xml",
"accentColor": "#8f8cff", "accentColor": "#8f8cff",

View File

@@ -192,9 +192,12 @@ ${DARK_VARS}
color: var(--text); color: var(--text);
} }
.controls-row--reset { .controls-row--center {
justify-content: flex-end; justify-content: center;
gap: 0.5rem; }
.reset-spacer {
flex: 1;
} }
.reset-link { .reset-link {
@@ -202,6 +205,7 @@ ${DARK_VARS}
color: var(--text-muted); color: var(--text-muted);
padding: 0.15rem 0.5rem; padding: 0.15rem 0.5rem;
border-radius: 4px; border-radius: 4px;
margin-left: auto;
} }
.reset-link:hover { .reset-link:hover {
@@ -210,13 +214,6 @@ ${DARK_VARS}
text-decoration: none; text-decoration: none;
} }
.reset-hint {
font-size: 0.6875rem;
color: var(--text-muted);
opacity: 0.6;
font-style: italic;
}
/* Timezone picker */ /* Timezone picker */
.tz-link { .tz-link {