+ {/* Minimal Nav */}
+
+
+ {/* Hero + Search */}
+
+
+
+ Search code by meaning
+
+
+ Find functions, patterns, and logic across codebases — powered by AI
+
+
+
+ {/* Repo Selector Pills */}
+
+ {DEMO_REPOS.map(repo => (
+
+ ))}
+
+
+ {/* Search Box */}
+
+
+ {/* Example Queries */}
+ {!hasSearched && (
+
+ Try:
+ {EXAMPLE_QUERIES.map(q => (
+
+ ))}
+
+ )}
+
+ {/* Remaining searches indicator */}
+ {searchCount > 0 && remainingSearches > 0 && (
+
+ {remainingSearches} free {remainingSearches === 1 ? 'search' : 'searches'} remaining •{' '}
+
+
+ )}
+
+
+ {/* Results */}
+ {hasSearched && (
+
+ {/* Stats */}
+ {searchTime !== null && (
+
+ {results.length} results
+ •
+ {searchTime}ms
+
+ )}
+
+ {/* Limit Reached Banner */}
+ {searchCount >= FREE_SEARCH_LIMIT && (
+
+
You've used all free searches
+
+ Sign up to get unlimited searches, index your own repos, and more.
+
+
+
+ )}
+
+ {/* Results List */}
+
+ {results.map((result, idx) => (
+
+ {/* Header */}
+
+
+
+
{result.name}
+
+ {result.type.replace('_', ' ')}
+
+
+
+ {result.file_path}
+
+
+
+
+ {(result.score * 100).toFixed(0)}%
+
+
match
+
+
+
+ {/* Code */}
+
+ {result.code}
+
+
+ ))}
+
+
+ {/* Empty State */}
+ {results.length === 0 && !loading && (
+
+
🔍
+
No results found
+
Try a different query or select another repository
+
+ )}
+
+ )}
+
+ {/* Features Section (shown before first search) */}
+ {!hasSearched && (
+
+
+
+
🧠
+
Semantic Search
+
+ Find code by meaning, not just keywords. Ask for "auth logic" and get authentication functions.
+
+
+
+
🔌
+
MCP Integration
+
+ Connect to Claude, Cursor, or any MCP client. Search code from your AI assistant.
+
+
+
+
📊
+
Code Intelligence
+
+ Understand dependencies, coding patterns, and impact analysis for your codebase.
+
+
+
+
+ )}
+
+ )
+}