Skip to content

Commit 423a314

Browse files
committed
docs: add logo
1 parent d5b2e69 commit 423a314

File tree

6 files changed

+81
-0
lines changed

6 files changed

+81
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# github-code-search
22

3+
<img src="docs/public/logo.svg" alt="github-code-search logo" width="80" align="right">
4+
35
[![Docs](https://img.shields.io/badge/docs-fulll.github.io%2Fgithub--code--search-blue)](https://fulll.github.io/github-code-search/)
46
[![Latest release](https://img.shields.io/github/v/release/fulll/github-code-search)](https://github.com/fulll/github-code-search/releases/latest)
57

docs/.vitepress/config.mts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ export default defineConfig({
2727
// ── Head ───────────────────────────────────────────────────────────────────
2828
head: [
2929
// Favicons — fulll brand assets
30+
[
31+
"link",
32+
{
33+
rel: "icon",
34+
type: "image/svg+xml",
35+
href: "/github-code-search/favicon.svg",
36+
},
37+
],
3038
[
3139
"link",
3240
{
@@ -49,6 +57,9 @@ export default defineConfig({
4957
],
5058

5159
themeConfig: {
60+
// ── Logo (top-left, next to title) ───────────────────────────────────────
61+
logo: "/logo.svg",
62+
5263
// ── Nav ──────────────────────────────────────────────────────────────────
5364
nav: [
5465
{

docs/.vitepress/theme/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ body::before {
8181
);
8282
}
8383

84+
.VPNavBarTitle span {
85+
letter-spacing: -1px;
86+
}
87+
8488
/* ── Hero terminal demo image ────────────────────────────────────────────── */
8589
.VPHero .image {
8690
display: flex;

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ hero:
55
name: "github-code-search"
66
text: "Search GitHub code across your org"
77
tagline: Per-repository aggregation · Keyboard-driven TUI · Markdown & JSON output
8+
image:
9+
src: /logo.svg
10+
alt: github-code-search
811
actions:
912
- theme: brand
1013
text: Get Started

docs/public/favicon.svg

Lines changed: 27 additions & 0 deletions
Loading

docs/public/logo.svg

Lines changed: 34 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)