Add lead workflows, PDF signing, AR projects and photo gallery integration

This commit is contained in:
Dennis Nemec
2026-11-08 17:49:39 +01:00
parent a343bde741
commit 8d18873412
82 changed files with 6401 additions and 34 deletions

View File

@ -0,0 +1,37 @@
import SwiftUI
struct BookmarkedLeadsSection: View {
let leads: [Lead]
let columns: [GridItem]
let flyingLeadID: String?
let cardMotion: Namespace.ID
let isBusy: Bool
let onOpen: (Lead) -> Void
let onBookmark: (Lead) -> Void
var body: some View {
VStack(alignment: .leading, spacing: 14) {
HStack(alignment: .firstTextBaseline, spacing: 8) {
Text("Gemerkt").font(.title2.bold())
Text(leads.count, format: .number)
.foregroundStyle(.secondary)
}
if leads.isEmpty {
Text("Mit dem Lesezeichen kannst du dir Interessenten merken.")
.font(.subheadline)
.foregroundStyle(.secondary)
}
LeadCardGrid(columnCount: columns.count) {
ForEach(leads) { lead in
BookmarkedLeadCardView(lead: lead, isBusy: isBusy,
onOpen: { onOpen(lead) },
onBookmark: { onBookmark(lead) })
.matchedGeometryEffect(id: "flight-\(lead.id)", in: cardMotion)
.opacity(flyingLeadID == lead.id ? 0 : 1)
.transition(.identity)
.zIndex(1)
}
}
}
}
}