import SwiftUI struct EdgeScaffold: View { let title: String let subtitle: String let actionLabel: String var body: some View { ZStack { LinearGradient( colors: [ Color(red: 0.03, green: 0.05, blue: 0.08), Color.black, ], startPoint: .topLeading, endPoint: .bottomTrailing ) .ignoresSafeArea() VStack(alignment: .leading, spacing: 18) { Text(title) .font(.system(size: 30, weight: .bold)) .foregroundStyle(.white) Text(subtitle) .font(.system(size: 14)) .foregroundStyle(Color.white.opacity(0.7)) VStack(alignment: .leading, spacing: 8) { Text("EDGE ACTION") .font(.system(size: 10, weight: .semibold)) .tracking(1.4) .foregroundStyle(Color(red: 0.22, green: 0.60, blue: 0.98)) Text(actionLabel) .font(.system(size: 18, weight: .semibold)) .foregroundStyle(.white) Text("This narrow surface is ready for `/api/mobile-edge` hookup once auth, installs, and heartbeat registration are connected.") .font(.system(size: 13)) .foregroundStyle(Color.white.opacity(0.72)) } .padding(18) .frame(maxWidth: .infinity, alignment: .leading) .background( RoundedRectangle(cornerRadius: 22) .fill(Color.white.opacity(0.06)) .overlay( RoundedRectangle(cornerRadius: 22) .stroke(Color.white.opacity(0.08), lineWidth: 1) ) ) Spacer() } .padding(24) } } }