refactor: update bike detail links to point to admin fleet route instead of public bike view
This commit is contained in:
@@ -1183,7 +1183,7 @@ export default function InvestmentDetailPage({ params }: { params: Promise<{ id:
|
||||
</div>
|
||||
<p className="text-xs text-slate-400">Total Earnings</p>
|
||||
</div>
|
||||
<Link href={`/bikes?bike=${bike.id}`} className="p-2 hover:bg-white/50 rounded-lg">
|
||||
<Link href={`/admin/fleet/${bike.id}`} className="p-2 hover:bg-white/50 rounded-lg">
|
||||
<ArrowRight className="w-4 h-4 text-slate-400 group-hover:text-investor transition-colors" />
|
||||
</Link>
|
||||
<button
|
||||
|
||||
@@ -1720,7 +1720,7 @@ export default function InvestorDetailPage() {
|
||||
</div>
|
||||
|
||||
<div className="mt-3 pt-3 border-t border-slate-100 flex justify-end gap-2">
|
||||
<Link href={`/bikes?bike=${bike.id}`} className="text-xs text-slate-500 hover:text-slate-800 font-semibold transition-colors px-2 py-1 bg-slate-100 rounded">
|
||||
<Link href={`/admin/fleet/${bike.id}`} className="text-xs text-slate-500 hover:text-slate-800 font-semibold transition-colors px-2 py-1 bg-slate-100 rounded">
|
||||
View Details
|
||||
</Link>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user