2024-07-26 14:08:24 +00:00
|
|
|
import { ClientOnly } from 'remix-utils/client-only';
|
2024-07-29 18:31:45 +00:00
|
|
|
import { IconButton } from '~/components/ui/IconButton';
|
2024-07-30 08:31:35 +00:00
|
|
|
import { OpenStackBlitz } from './OpenStackBlitz.client';
|
2024-07-26 14:08:24 +00:00
|
|
|
|
2024-07-10 16:44:39 +00:00
|
|
|
export function Header() {
|
|
|
|
return (
|
2024-07-12 15:25:41 +00:00
|
|
|
<header className="flex items-center bg-white p-4 border-b border-gray-200 h-[var(--header-height)]">
|
2024-07-10 16:44:39 +00:00
|
|
|
<div className="flex items-center gap-2">
|
2024-07-31 21:21:40 +00:00
|
|
|
<a href="/" className="text-2xl font-semibold text-accent">
|
|
|
|
Bolt
|
|
|
|
</a>
|
2024-07-10 16:44:39 +00:00
|
|
|
</div>
|
2024-07-29 18:31:45 +00:00
|
|
|
<div className="ml-auto flex gap-2">
|
2024-07-26 14:08:24 +00:00
|
|
|
<ClientOnly>{() => <OpenStackBlitz />}</ClientOnly>
|
2024-07-29 18:31:45 +00:00
|
|
|
<a href="/logout">
|
|
|
|
<IconButton icon="i-ph:sign-out" />
|
|
|
|
</a>
|
2024-07-26 14:08:24 +00:00
|
|
|
</div>
|
2024-07-10 16:44:39 +00:00
|
|
|
</header>
|
|
|
|
);
|
|
|
|
}
|