//
//  EmptyAlarmsView.swift
//  TheNoiseClock
//
//  Created by Matt Bruce on 9/7/25.
//

import SwiftUI
import Bedrock

/// Empty state view for when no alarms are configured
struct EmptyAlarmsView: View {
    
    // MARK: - Properties
    let onAddAlarm: () -> Void
    
    // MARK: - Body
    var body: some View {
        VStack(spacing: Design.Spacing.medium) {
            // Icon
            Image(systemName: "alarm")
                .font(.largeTitle)
                .foregroundColor(.secondary)
            
            // Instructional text
            Text("Create an alarm to begin")
                .font(.subheadline)
                .foregroundColor(.secondary)
        }
        .frame(maxWidth: .infinity, maxHeight: .infinity)
        .background(Color.clear)
    }
}

// MARK: - Preview
#Preview {
    EmptyAlarmsView {
        print("Add alarm tapped")
    }
}
