@@ -134,14 +134,14 @@ export default function Home() {
134134 return (
135135 < div className = "min-h-screen bg-gradient-to-b from-background to-secondary/20" >
136136 < div className = "container mx-auto px-4 py-16 md:py-24 max-w-4xl" >
137- < div className = "text-center space-y-6 mb-12 " >
137+ < div className = "text-center space-y-6 mb-8 " >
138138 < div className = "flex items-center justify-center gap-2 mb-4" >
139139 < Github className = "w-8 h-8" />
140140 < Sparkles className = "w-8 h-8" />
141141 </ div >
142142
143143 < h1 className = "text-3xl md:text-4xl font-bold tracking-tight" >
144- Analyze any GitHub Repository
144+ Analyze any GitHub repository
145145 </ h1 >
146146
147147 < p className = "text-xl text-muted-foreground max-w-2xl mx-auto" >
@@ -152,7 +152,7 @@ export default function Home() {
152152
153153 < Card className = "max-w-2xl mx-auto" >
154154 < CardHeader >
155- < CardTitle > Repository Analysis </ CardTitle >
155+ < CardTitle className = "pb-2" > Repository analysis </ CardTitle >
156156 < CardDescription >
157157 Enter a GitHub repository URL and ask a question about the
158158 codebase
@@ -162,7 +162,7 @@ export default function Home() {
162162 < form onSubmit = { handleSubmit } className = "space-y-4" >
163163 < div className = "space-y-2" >
164164 < label htmlFor = "repo" className = "text-sm font-medium" >
165- GitHub Repository URL
165+ GitHub repository URL
166166 </ label >
167167 < Input
168168 id = "repo"
@@ -177,7 +177,7 @@ export default function Home() {
177177
178178 < div className = "space-y-2" >
179179 < label htmlFor = "question" className = "text-sm font-medium" >
180- Your Question
180+ Your question
181181 </ label >
182182 < Textarea
183183 id = "question"
@@ -189,44 +189,6 @@ export default function Home() {
189189 />
190190 </ div >
191191
192- { /* Example Questions */ }
193- < Collapsible open = { showExamples } onOpenChange = { setShowExamples } >
194- < CollapsibleTrigger asChild >
195- < Button
196- type = "button"
197- variant = "ghost"
198- size = "sm"
199- className = "w-full"
200- >
201- { showExamples ? (
202- < >
203- < ChevronUp className = "w-4 h-4 mr-2" />
204- Hide example questions
205- </ >
206- ) : (
207- < >
208- < ChevronDown className = "w-4 h-4 mr-2" />
209- Show example questions
210- </ >
211- ) }
212- </ Button >
213- </ CollapsibleTrigger >
214- < CollapsibleContent className = "space-y-2 mt-2" >
215- { exampleQuestions . map ( ( q , idx ) => (
216- < Button
217- key = { idx }
218- type = "button"
219- variant = "outline"
220- size = "sm"
221- className = "w-full text-left justify-start"
222- onClick = { ( ) => handleExampleQuestion ( q ) }
223- >
224- { q }
225- </ Button >
226- ) ) }
227- </ CollapsibleContent >
228- </ Collapsible >
229-
230192 { error && (
231193 < Alert variant = "destructive" >
232194 < AlertCircle className = "h-4 w-4" />
@@ -257,7 +219,7 @@ export default function Home() {
257219 </ Card >
258220
259221 { /* Example Repositories */ }
260- < div className = "mt-12 space-y-4" >
222+ < div className = "mt-8 space-y-4" >
261223 < h2 className = "text-xl font-semibold text-center" >
262224 Try with popular repositories
263225 </ h2 >
0 commit comments