blob: a1fc39590937d8803857abff3bd5031f2c886587 (
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
33
34
35
36
|
import SiteSwitcher from "./SiteSwitcher";
import Link from "next/link";
import styles from "./header-logo.module.css";
import TurboAnimated from "./logos/TurboAnimated";
import { LogoContext } from "./LogoContext";
function HeaderLogo() {
return (
<>
<LogoContext />
<svg
data-testid="geist-icon"
fill="none"
height={24}
shapeRendering="geometricPrecision"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
viewBox="0 0 24 24"
className="dark:text-[#333] text-[#eaeaea] ml-2 mr-1"
>
<path d="M16.88 3.549L7.12 20.451" />
</svg>
<Link href="/" title="Home" className="hover:opacity-75">
<TurboAnimated height={32} />
</Link>
<div className={styles.siteSwitcher}>
<SiteSwitcher />
</div>
</>
);
}
export default HeaderLogo;
|