@@ -11,7 +11,7 @@ import {
1111 CardHeader ,
1212 CardTitle ,
1313} from "@/components/ui/card" ;
14- import { Github , Sparkles , AlertCircle , Calendar } from "lucide-react" ;
14+ import { Github , Sparkles , AlertCircle } from "lucide-react" ;
1515import { Alert , AlertDescription } from "@/components/ui/alert" ;
1616
1717const exampleRepos = [
@@ -128,27 +128,23 @@ export default function Home() {
128128 } ;
129129
130130 return (
131- < div className = "min-h-screen bg-gradient-to-b from-background to-secondary/20" >
132- < div className = "container mx-auto px-4 py-16 md:py-24 max-w-4xl" >
133- < div className = "text-center space-y-6 mb-8" >
134- { /* <div className="flex items-center justify-center gap-2 mb-4">
135- <Github className="w-8 h-8" />
136- <Sparkles className="w-8 h-8" />
137- </div> */ }
138-
139- < h1 className = "text-3xl md:text-4xl font-bold tracking-tight" >
131+ < div className = "min-h-screen bg-background" >
132+ < div className = "container mx-auto px-4 py-12 max-w-2xl" >
133+ { /* Header */ }
134+ < header className = "text-center mb-8" >
135+ < h1 className = "text-2xl font-bold tracking-tight" >
140136 Changelog generator
141137 </ h1 >
142-
143- < p className = "text-xl text-muted-foreground max-w-2xl mx-auto" >
138+ < p className = "mt-2 text-muted-foreground" >
144139 Turn GitHub commits into developer-friendly changelogs using Claude
145140 Agent SDK with custom MCP tools + Trigger.dev.
146141 </ p >
147- </ div >
142+ </ header >
148143
149- < Card className = "max-w-2xl mx-auto" >
144+ { /* Main Form Card */ }
145+ < Card >
150146 < CardHeader >
151- < CardTitle className = "pb-2" > Generate changelog</ CardTitle >
147+ < CardTitle > Generate changelog</ CardTitle >
152148 < CardDescription >
153149 Enter a GitHub repository and date range to generate a changelog
154150 </ CardDescription >
@@ -165,7 +161,6 @@ export default function Home() {
165161 placeholder = "https://github.com/username/repository"
166162 value = { repoUrl }
167163 onChange = { ( e ) => setRepoUrl ( e . target . value ) }
168- className = "w-full"
169164 disabled = { isLoading }
170165 />
171166 </ div >
@@ -175,30 +170,26 @@ export default function Home() {
175170 < label htmlFor = "startDate" className = "text-sm font-medium" >
176171 Start date
177172 </ label >
178- < div className = "relative" >
179- < Input
180- id = "startDate"
181- type = "date"
182- value = { startDate }
183- onChange = { ( e ) => setStartDate ( e . target . value ) }
184- disabled = { isLoading }
185- />
186- </ div >
173+ < Input
174+ id = "startDate"
175+ type = "date"
176+ value = { startDate }
177+ onChange = { ( e ) => setStartDate ( e . target . value ) }
178+ disabled = { isLoading }
179+ />
187180 </ div >
188181
189182 < div className = "space-y-2" >
190183 < label htmlFor = "endDate" className = "text-sm font-medium" >
191184 End date
192185 </ label >
193- < div className = "relative" >
194- < Input
195- id = "endDate"
196- type = "date"
197- value = { endDate }
198- onChange = { ( e ) => setEndDate ( e . target . value ) }
199- disabled = { isLoading }
200- />
201- </ div >
186+ < Input
187+ id = "endDate"
188+ type = "date"
189+ value = { endDate }
190+ onChange = { ( e ) => setEndDate ( e . target . value ) }
191+ disabled = { isLoading }
192+ />
202193 </ div >
203194 </ div >
204195
@@ -232,22 +223,22 @@ export default function Home() {
232223 </ Card >
233224
234225 { /* Example Repositories */ }
235- < div className = "mt-8 space-y-4 " >
236- < h2 className = "text-xl font-semibold text-center " >
226+ < section className = "mt-8" >
227+ < h2 className = "text-sm font-medium text-muted-foreground mb-4 " >
237228 Try with popular repositories
238229 </ h2 >
239230
240- < div className = "grid md: grid-cols-3 gap-4 max-w-2xl mx-auto " >
231+ < div className = "grid grid-cols-3 gap-4" >
241232 { exampleRepos . map ( ( repo ) => (
242233 < Card
243234 key = { repo . url }
244- className = "cursor-pointer transition-all duration-200 hover:border-primary"
235+ className = "cursor-pointer transition-colors hover:border-primary"
245236 onClick = { ( ) => handleExampleRepo ( repo . url ) }
246237 >
247- < CardHeader className = "pb-2" >
248- < CardTitle className = "flex items-center gap-2 text-base " >
249- < Github className = "w-4 h-4" />
250- { repo . name }
238+ < CardHeader >
239+ < CardTitle className = "flex items-center gap-2" >
240+ < Github className = "w-4 h-4 shrink-0 " />
241+ < span className = "truncate" > { repo . name } </ span >
251242 </ CardTitle >
252243 < CardDescription className = "text-xs" >
253244 { repo . description }
@@ -256,7 +247,7 @@ export default function Home() {
256247 </ Card >
257248 ) ) }
258249 </ div >
259- </ div >
250+ </ section >
260251 </ div >
261252 </ div >
262253 ) ;
0 commit comments