Initial project setup - Phases 1-3 complete

This commit is contained in:
Trey t
2026-04-06 11:28:40 -05:00
commit c77e506db5
293 changed files with 14233 additions and 0 deletions

87
UI/More/MoreView.swift Normal file
View File

@@ -0,0 +1,87 @@
import SwiftUI
import ProxyCore
struct MoreView: View {
@Environment(AppState.self) private var appState
var body: some View {
List {
Section {
NavigationLink {
SetupGuideView()
} label: {
Label {
VStack(alignment: .leading) {
Text("Setup Guide")
Text(appState.isVPNConnected ? "Ready to Intercept" : "Setup Required")
.font(.caption)
.foregroundStyle(appState.isVPNConnected ? .green : .orange)
}
} icon: {
Image(systemName: "checkmark.shield.fill")
.foregroundStyle(appState.isVPNConnected ? .green : .orange)
}
}
NavigationLink {
CertificateView()
} label: {
Label("Certificate", systemImage: "lock.shield")
}
}
Section("Rules") {
NavigationLink {
SSLProxyingListView()
} label: {
Label("SSL Proxying List", systemImage: "lock.fill")
}
NavigationLink {
BlockListView()
} label: {
Label("Block List", systemImage: "xmark.shield")
}
NavigationLink {
BreakpointRulesView()
} label: {
Label("Breakpoint", systemImage: "pause.circle")
}
NavigationLink {
MapLocalView()
} label: {
Label("Map Local", systemImage: "doc.on.doc")
}
NavigationLink {
NoCachingView()
} label: {
Label("No Caching", systemImage: "arrow.clockwise.circle")
}
NavigationLink {
DNSSpoofingView()
} label: {
Label("DNS Spoofing", systemImage: "network")
}
}
Section("Settings") {
NavigationLink {
AdvancedSettingsView()
} label: {
Label("Advanced", systemImage: "gearshape.2")
}
NavigationLink {
AppSettingsView()
} label: {
Label("App Settings", systemImage: "gearshape")
}
}
}
.navigationTitle("More")
}
}