feat(home): restore planning tips and add map buttons to itinerary rows
- Create shared TipsSection component for displaying planning tips - Add TipsSection to all 22 home content variants - Fix displayedTips population with onAppear in HomeView - Add map buttons to GameRowCompact (opens stadium in Apple Maps) - Add map buttons to TravelRowView (opens driving directions) - Add map buttons to CustomItemRowView (opens location when GPS available) - Add AppleMapsLauncher.openLocation() and openDirections() methods Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,13 @@ struct HomeContent_SeatGeek: View {
|
||||
// Browse by sport
|
||||
browseBySportSection
|
||||
.padding(.horizontal, 16)
|
||||
.padding(.bottom, 32)
|
||||
|
||||
// Planning tips
|
||||
if !displayedTips.isEmpty {
|
||||
TipsSection(tips: displayedTips)
|
||||
.padding(.horizontal, 16)
|
||||
.padding(.bottom, 32)
|
||||
}
|
||||
}
|
||||
}
|
||||
.background(bgColor.ignoresSafeArea())
|
||||
|
||||
Reference in New Issue
Block a user