Skip to content

Commit faa5535

Browse files
committed
feat(docs): add icon
1 parent 56d5c2a commit faa5535

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

apps/docs/public/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

apps/docs/src/components/layout.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { type Child, wave } from "@wavekit/wave";
2+
import dedent from "dedent";
23
import { Footer } from "./footer";
34
import { Navbar } from "./navbar";
45

@@ -12,10 +13,15 @@ export function Layout({ base }: { base: string }, slot: Child) {
1213
name: "viewport",
1314
content: "width=device-width, initial-scale=1.0",
1415
})
15-
.title("Wavekit")
16+
.title("Wavekit - The salty hair of the web")
1617
.link({
1718
rel: "stylesheet",
18-
href: "https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css",
19+
href: "https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.cyan.min.css",
20+
})
21+
.link({
22+
rel: "icon",
23+
type: "image/svg+xml",
24+
href: `${base}/favicon.svg`,
1925
});
2026
})
2127
.body((body) => {

0 commit comments

Comments
 (0)