@@ -124,7 +124,9 @@ function Home() {
124124 < Link to = "/organizations" > organizations</ Link >
125125 </ Button >
126126 < Button asChild variant = "outline" >
127- < a href = "/apps" > published apps</ a >
127+ < Link to = "/apps" search = { { } } >
128+ published apps
129+ </ Link >
128130 </ Button >
129131 </ div >
130132 </ CardContent >
@@ -243,7 +245,9 @@ function Home() {
243245 </ div >
244246 < div className = "flex flex-wrap gap-2" >
245247 < Button asChild size = "sm" >
246- < a href = { `/organizations/${ encodeURIComponent ( activeOrg . id ) } ` } > open org</ a >
248+ < Link to = "/organizations/$id" params = { { id : activeOrg . id } } >
249+ open org
250+ </ Link >
247251 </ Button >
248252 { organizations . length > 1 && (
249253 < Button
@@ -284,7 +288,7 @@ function Home() {
284288 </ p >
285289 </ div >
286290 < Button asChild variant = "outline" size = "sm" >
287- < a href = "/projects/new" > new project</ a >
291+ < Link to = "/projects/new" > new project</ Link >
288292 </ Button >
289293 </ div >
290294
@@ -309,12 +313,13 @@ function Home() {
309313 </ Badge >
310314 < Badge variant = "outline" > { project . visibility } </ Badge >
311315 </ div >
312- < a
313- href = { `/projects/${ project . id } ` }
316+ < Link
317+ to = "/projects/$id"
318+ params = { { id : project . id } }
314319 className = "font-medium hover:underline break-all"
315320 >
316321 { project . title }
317- </ a >
322+ </ Link >
318323 { project . description && (
319324 < p className = "text-xs text-muted-foreground line-clamp-2" >
320325 { project . description }
@@ -333,7 +338,7 @@ function Home() {
333338 No projects yet. Create your first project to start organizing apps.
334339 </ p >
335340 < Button asChild variant = "outline" size = "sm" >
336- < a href = "/projects/new" > create project</ a >
341+ < Link to = "/projects/new" > create project</ Link >
337342 </ Button >
338343 </ CardContent >
339344 </ Card >
@@ -351,7 +356,9 @@ function Home() {
351356 </ Button >
352357 { activeOrgId ? (
353358 < Button asChild variant = "outline" size = "sm" >
354- < a href = { `/organizations/${ encodeURIComponent ( activeOrgId ) } ` } > invite member</ a >
359+ < Link to = "/organizations/$id" params = { { id : activeOrgId } } >
360+ invite member
361+ </ Link >
355362 </ Button >
356363 ) : (
357364 < Button variant = "outline" size = "sm" disabled >
@@ -367,7 +374,9 @@ function Home() {
367374 </ Button >
368375 ) }
369376 < Button asChild variant = "outline" size = "sm" >
370- < a href = "/apps" > open registry</ a >
377+ < Link to = "/apps" search = { { } } >
378+ open registry
379+ </ Link >
371380 </ Button >
372381 </ div >
373382 </ section >
0 commit comments