import SwiftUI struct VideoCTAView: View { let url: String let subtitle: String var body: some View { Link(destination: URL(string: url)!) { HStack(spacing: 12) { Image(systemName: "play.circle.fill") .symbolRenderingMode(.hierarchical) .font(.system(size: 24)) .foregroundStyle(Color.blue) VStack(alignment: .leading, spacing: 2) { Text("Watch how it works") .font(.system(size: 15, weight: .semibold)) .foregroundColor(.primary) Text(subtitle) .font(.system(size: 13)) .foregroundColor(.secondary) } Spacer() Image(systemName: "chevron.right") .font(.system(size: 14, weight: .medium)) .foregroundColor(.secondary) } .padding(16) .background( RoundedRectangle(cornerRadius: 12) .fill(Color(.windowBackgroundColor).opacity(0.9)) ) .overlay( RoundedRectangle(cornerRadius: 12) .stroke(Color.secondary.opacity(0.1), lineWidth: 1) ) } .buttonStyle(.plain) } }