package templates import "dealroom/internal/model" import "fmt" type AnalyticsStats struct { DealCount int FileCount int RequestCount int CompletionPct int } func completionWidth(pct int) templ.Attributes { return templ.Attributes{"style": fmt.Sprintf("width: %d%%", pct)} } templ AnalyticsPage(profile *model.Profile, stats *AnalyticsStats, deals []*model.Deal, selectedDealID string) { @Layout(profile, "analytics") {
Key metrics and insights across your deal portfolio.
Loading buyer activity...