ass
This commit is contained in:
@@ -20,18 +20,19 @@ const InfoIcon = (
|
|||||||
export default function HeaderButtons() {
|
export default function HeaderButtons() {
|
||||||
return (
|
return (
|
||||||
<div className="flex gap-2 justify-center w-full md:w-auto mt-2 md:mt-0">
|
<div className="flex gap-2 justify-center w-full md:w-auto mt-2 md:mt-0">
|
||||||
<BadgeButton
|
<a href="/admin" target="_self" rel="noopener noreferrer">
|
||||||
label="Admin Login"
|
<img
|
||||||
color="#dc2626"
|
src="https://img.shields.io/badge/Admin%20Login-000000?style=for-the-badge&logo=lock&logoColor=white&labelColor=8B0000"
|
||||||
icon={PersonIcon}
|
alt="Admin Login"
|
||||||
onClick={() => window.location.href = '/admin'}
|
|
||||||
/>
|
/>
|
||||||
<BadgeButton
|
</a>
|
||||||
label="About Me"
|
{/* If your server for about me is running on a different port, change the port number here */}
|
||||||
color="#2563eb"
|
<a href={window.location.origin.replace('3000', '80')} target="_self" rel="noopener noreferrer">
|
||||||
icon={InfoIcon}
|
<img
|
||||||
onClick={() => window.open('http://' + window.location.hostname + ':80', '_blank')}
|
src="https://img.shields.io/badge/About%20Me-000000?style=for-the-badge&logo=account&logoColor=white&labelColor=2563eb"
|
||||||
|
alt="About Me"
|
||||||
/>
|
/>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user