//
//  ContentView.swift
//  HelloVisionOS - Niall George Horn - June 2026
//
//  Minimal launcher window. Opens ImmersiveSpace immediately on appear.
//  I'd like to formally aplogise to Qt, I'd use it over SwiftUI any day of the week.

import SwiftUI 

struct ContentView: View {

    @Environment(\.openImmersiveSpace) private var openImmersiveSpace

    var body: some View {
        VStack(spacing: 4) {
            Image(systemName: "figure.stand")
                .font(.title2)
                .foregroundStyle(.cyan)
            Text("CoreIK")
                .font(.caption2)
                .foregroundStyle(.secondary)
        }
        .frame(width: 80, height: 80)
        .task {
            await openImmersiveSpace(id: "ImmersiveSpace")
        }
    }
}
