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

import SwiftUI
import Bedrock

/// App entry point and configuration
@main
struct TheNoiseClockApp: App {
    
    // MARK: - Initialization
    init() {
        // Initialize notification delegate to handle snooze actions
        _ = NotificationDelegate.shared
    }
    
    // MARK: - Body
    var body: some Scene {
        WindowGroup {
            ZStack {
                Color.Branding.primary
                    .ignoresSafeArea()

                AppLaunchView(config: .noiseClock) {
                    ContentView()
                }
            }
            .preferredColorScheme(.dark)
        }
    }
}
