Add iOS/iPad target with platform-adaptive UI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-30 21:30:28 -05:00
parent 127125ae1b
commit fda809fd2f
21 changed files with 851 additions and 129 deletions

View File

@@ -26,12 +26,20 @@ struct FeaturedGameCard: View {
var body: some View {
Button(action: onSelect) {
VStack(spacing: 0) {
HStack(alignment: .top, spacing: 28) {
matchupColumn
.frame(maxWidth: .infinity, alignment: .leading)
ViewThatFits {
HStack(alignment: .top, spacing: 28) {
matchupColumn
.frame(maxWidth: .infinity, alignment: .leading)
sidePanel
.frame(width: 760, alignment: .leading)
sidePanel
.frame(width: 760, alignment: .leading)
}
VStack(alignment: .leading, spacing: 24) {
matchupColumn
sidePanel
.frame(maxWidth: .infinity, alignment: .leading)
}
}
.padding(.horizontal, 34)
.padding(.top, 30)
@@ -60,7 +68,7 @@ struct FeaturedGameCard: View {
)
.shadow(color: shadowColor, radius: 24, y: 10)
}
.buttonStyle(.card)
.platformCardStyle()
}
@ViewBuilder