Update admin dashboard to allow navigation to homepage via logo
Remove the 'Home' button from the admin dashboard header and make the SAPIENS logo clickable to navigate to the homepage. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/YptCfK0
This commit is contained in:
@ -106,12 +106,14 @@ export default function AdminDashboard() {
|
|||||||
<div className="max-w-7xl mx-auto px-6 py-4">
|
<div className="max-w-7xl mx-auto px-6 py-4">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
|
<a href="/" className="cursor-pointer" data-testid="logo-link">
|
||||||
<img
|
<img
|
||||||
src="/attached_assets/logo_black_1759162717640.png"
|
src="/attached_assets/logo_black_1759162717640.png"
|
||||||
alt="SAPIENS"
|
alt="SAPIENS"
|
||||||
className="h-6 w-auto"
|
className="h-6 w-auto hover:opacity-80 transition-opacity"
|
||||||
data-testid="logo-sapiens"
|
data-testid="logo-sapiens"
|
||||||
/>
|
/>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-center space-x-4">
|
<div className="flex items-center space-x-4">
|
||||||
@ -127,15 +129,6 @@ export default function AdminDashboard() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button
|
|
||||||
variant="ghost"
|
|
||||||
size="sm"
|
|
||||||
onClick={() => window.location.href = "/"}
|
|
||||||
data-testid="button-home"
|
|
||||||
>
|
|
||||||
Home
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="sm"
|
size="sm"
|
||||||
|
|||||||
Reference in New Issue
Block a user