mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
32 lines
859 B
TypeScript
32 lines
859 B
TypeScript
import React from "react";
|
|
import Image from "next/image";
|
|
import Link from "next/link";
|
|
import Logo from "../../public/logo.svg";
|
|
import { ChatIcon } from "@repo/ui/icons";
|
|
|
|
import DynamicIsland from "./dynamicisland";
|
|
|
|
function Header() {
|
|
return (
|
|
<div>
|
|
<div className="fixed left-0 w-full flex items-center justify-between z-10">
|
|
<Link className="px-5" href="/home">
|
|
<Image
|
|
src={Logo}
|
|
alt="SuperMemory logo"
|
|
className="hover:brightness-75 brightness-50 duration-200"
|
|
/>
|
|
</Link>
|
|
|
|
<DynamicIsland />
|
|
|
|
<button className="flex shrink-0 duration-200 items-center gap-2 px-5 py-1.5 rounded-xl hover:bg-secondary">
|
|
<Image src={ChatIcon} alt="Chat icon" />
|
|
Start new chat
|
|
</button>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default Header;
|