Remove admin page, Add nav button, and basic auth
This commit is contained in:
@@ -220,21 +220,6 @@ export default function RestaurantPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Admin link */}
|
||||
<div className="mt-12 pt-8 border-t border-white/[0.06] flex gap-4">
|
||||
<Link
|
||||
href={`/admin?restaurant=${restaurant.id}`}
|
||||
className="text-sm text-white/30 hover:text-[#f59e0b] transition-colors"
|
||||
>
|
||||
+ add visit
|
||||
</Link>
|
||||
<Link
|
||||
href="/admin"
|
||||
className="text-sm text-white/30 hover:text-[#f59e0b] transition-colors"
|
||||
>
|
||||
manage
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user