diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-17 11:00:29 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-17 11:00:29 -0500 |
| commit | 32c2bb198007ab85095c14be544cfca9d083a7cd (patch) | |
| tree | f1c2498d4bc07488512dc9a3256f750ce1c8f7a9 /Biz/PodcastItLater/Admin/Views.py | |
| parent | 0044726a62179d25edd19e57b9bcd81c567ef6ee (diff) | |
Improve PodcastItLater homepage and dark mode support
Homepage changes:
- New marketing-focused landing page for logged-out users
- Hero: 'Your Reading List, as a Podcast' with clear value prop
- How It Works: 3-step process cards (paste URL, convert, listen)
- Social proof: 'Join others' section with public feed
- Login form moved below social proof for better conversion flow
Dark mode fixes:
- Remove bg-light from Current Plan card on /account page
- Remove bg-white from metrics card headers on /admin/metrics
Layout improvements:
- Stack metrics tables vertically (full-width) instead of horizontal
- Add spacing between metric cards for better readability
Diffstat (limited to 'Biz/PodcastItLater/Admin/Views.py')
| -rw-r--r-- | Biz/PodcastItLater/Admin/Views.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Biz/PodcastItLater/Admin/Views.py b/Biz/PodcastItLater/Admin/Views.py index 7834340..057c5e0 100644 --- a/Biz/PodcastItLater/Admin/Views.py +++ b/Biz/PodcastItLater/Admin/Views.py @@ -263,16 +263,16 @@ class MetricsDashboard(Component[AnyChildren, MetricsAttrs]): "Most Played", classes=["card-title", "mb-0"], ), - classes=["card-header", "bg-white"], + classes=["card-header"], ), TopEpisodesTable( episodes=metrics["most_played"], metric_name="Plays", count_key="play_count", ), - classes=["card", "shadow-sm"], + classes=["card", "shadow-sm", "mb-3"], ), - classes=["col-lg-4"], + classes=["col-12"], ), html.div( html.div( @@ -288,16 +288,16 @@ class MetricsDashboard(Component[AnyChildren, MetricsAttrs]): "Most Downloaded", classes=["card-title", "mb-0"], ), - classes=["card-header", "bg-white"], + classes=["card-header"], ), TopEpisodesTable( episodes=metrics["most_downloaded"], metric_name="Downloads", count_key="download_count", ), - classes=["card", "shadow-sm"], + classes=["card", "shadow-sm", "mb-3"], ), - classes=["col-lg-4"], + classes=["col-12"], ), html.div( html.div( @@ -313,16 +313,16 @@ class MetricsDashboard(Component[AnyChildren, MetricsAttrs]): "Most Added to Feeds", classes=["card-title", "mb-0"], ), - classes=["card-header", "bg-white"], + classes=["card-header"], ), TopEpisodesTable( episodes=metrics["most_added"], metric_name="Adds", count_key="add_count", ), - classes=["card", "shadow-sm"], + classes=["card", "shadow-sm", "mb-3"], ), - classes=["col-lg-4"], + classes=["col-12"], ), classes=["row", "g-3"], ), |
