blob: 026cb080a9bd76f6c7c54a2bb3202f318a04bc88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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;
|