Move Quick Channels to full-width row below hero card
Quick Channels (MLB Network + Werkout NSFW) were cramped in the right
sidebar with text wrapping ("Networ k"). Moved them out of controlRail
into the main content flow as a full-width HStack. Each card takes
50% width with proper text display. Positioned between the hero section
and game shelves.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -132,6 +132,9 @@ struct DashboardView: View {
|
|||||||
heroAndControlSection
|
heroAndControlSection
|
||||||
.platformFocusSection()
|
.platformFocusSection()
|
||||||
|
|
||||||
|
featuredChannelsSection
|
||||||
|
.platformFocusSection()
|
||||||
|
|
||||||
if !viewModel.liveGames.isEmpty {
|
if !viewModel.liveGames.isEmpty {
|
||||||
gameShelf(
|
gameShelf(
|
||||||
title: "Live Board",
|
title: "Live Board",
|
||||||
@@ -599,7 +602,6 @@ struct DashboardView: View {
|
|||||||
private var controlRail: some View {
|
private var controlRail: some View {
|
||||||
VStack(alignment: .leading, spacing: 18) {
|
VStack(alignment: .leading, spacing: 18) {
|
||||||
liveRadarPanel
|
liveRadarPanel
|
||||||
featuredChannelsSection
|
|
||||||
multiViewStatus
|
multiViewStatus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -806,16 +808,12 @@ struct DashboardView: View {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
private var featuredChannelsSection: some View {
|
private var featuredChannelsSection: some View {
|
||||||
VStack(alignment: .leading, spacing: 14) {
|
HStack(spacing: DS.Spacing.cardGap) {
|
||||||
Text("Quick Channels")
|
|
||||||
.font(railTitleFont)
|
|
||||||
.foregroundStyle(DS.Colors.textPrimary)
|
|
||||||
|
|
||||||
mlbNetworkCard
|
mlbNetworkCard
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
nsfwVideosCard
|
nsfwVideosCard
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
}
|
}
|
||||||
.padding(24)
|
|
||||||
.background(surfaceCardBackground())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private var mlbNetworkCard: some View {
|
private var mlbNetworkCard: some View {
|
||||||
|
|||||||
Reference in New Issue
Block a user