+ {state === "auth_required" ? (
+ <>
+ {/* Icon */}
+
+
+
+
+ {/* Copy */}
+
+
+ Unlock AI Insights
+
+
+ Get {AI_FREE_LIMIT} free AI architectural analyses. Sign in with
+ GitHub — no credit card needed.
+
+
+
+ {/* Feature pills */}
+
+ {[
+ "Architecture Summary",
+ "Risk Detection",
+ "Code Health Score",
+ ].map((f) => (
+
+ {f}
+
+ ))}
+
+
+ {/* CTA */}
+
+
+
+ Free forever · No spam · Open source
+
+ >
+ ) : (
+ <>
+ {/* Icon */}
+
+
+
+
+ {/* Copy */}
+
+
+ You've used your {AI_FREE_LIMIT} free analyses
+
+
+ Upgrade to Pro for unlimited AI insights, or plug in your own
+ Gemini API key to keep going for free.
+
+
+
+ {/* CTA — Pro (placeholder) */}
+
+
+ {/* CTA — Own key (placeholder) */}
+
+ >
+ )}
+
+