RTSDA-iOS/Views/Components/ServiceTimeRow.swift
RTSDA 00679f927c docs: Update README for v2.0 release and fix git remote URL
- Comprehensive README update documenting v2.0 architectural changes
- Updated git remote to ssh://rockvilleav@git.rockvilletollandsda.church:10443/RTSDA/RTSDA-iOS.git
- Documented unified ChurchService and 60% code reduction
- Added new features: Home Feed, responsive reading, enhanced UI
- Corrected license information (GPL v3 with church content copyright)
- Updated build instructions and technical stack details
2025-08-16 18:41:51 -04:00

30 lines
919 B
Swift

import SwiftUI
struct ServiceTimeRow: View {
let day: String
let time: String
let service: String
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
var body: some View {
HStack {
VStack(alignment: .leading, spacing: 2) {
Text(day)
.font(.caption)
.foregroundStyle(.secondary)
.textCase(.uppercase)
Text(time)
.font(.system(size: horizontalSizeClass == .regular ? 18 : 16, weight: .semibold))
.foregroundStyle(Color(hex: "fb8b23"))
}
Spacer()
Text(service)
.font(.system(size: horizontalSizeClass == .regular ? 16 : 14, weight: .medium))
.foregroundStyle(.primary)
}
.padding(.vertical, 4)
}
}