Skip to content

Commit ba4bffb

Browse files
joeylee12629-starjoey
andauthored
add code brackets logo (SVG) to navbar and favicon (#52)
Co-authored-by: joey <joey@joeydeMacBook-Air.local>
1 parent d58d5ad commit ba4bffb

4 files changed

Lines changed: 30 additions & 2 deletions

File tree

site/app/layout.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ export const metadata: Metadata = {
2121
title: "Harness Engineering Guide",
2222
description:
2323
"The open guide to building AI agent runtimes. From core concepts to production patterns.",
24+
icons: {
25+
icon: "/favicon.svg",
26+
},
2427
};
2528

2629
export default function RootLayout({

site/components/Navigation.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"use client";
22

33
import Link from "next/link";
4+
import Image from "next/image";
45
import { usePathname } from "next/navigation";
56
import { useState } from "react";
67
import ThemeToggle from "./ThemeToggle";
@@ -65,9 +66,10 @@ export default function Navigation() {
6566
<div className="flex h-14 items-center justify-between">
6667
<Link
6768
href={isZh ? "/zh" : "/"}
68-
className="font-[family-name:var(--font-heading)] text-lg font-bold text-[var(--color-text-primary)] hover:text-[var(--color-accent-cyan)] transition-colors"
69+
className="flex items-center gap-2 font-[family-name:var(--font-heading)] text-lg font-bold text-[var(--color-text-primary)] hover:text-[var(--color-accent-cyan)] transition-colors"
6970
>
70-
{isZh ? "⚡ Harness Engineering Guide" : "⚡ Harness Guide"}
71+
<Image src="/logo.svg" alt="Harness Guide" width={28} height={28} className="inline-block" />
72+
<span>{isZh ? "Harness Engineering Guide" : "Harness Guide"}</span>
7173
</Link>
7274

7375
{/* Desktop nav */}

site/public/favicon.svg

Lines changed: 6 additions & 0 deletions
Loading

site/public/logo.svg

Lines changed: 17 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)