diff --git a/tools/star-tracker/src/index.ts b/tools/star-tracker/src/index.ts index 254874a..c42f613 100644 --- a/tools/star-tracker/src/index.ts +++ b/tools/star-tracker/src/index.ts @@ -142,6 +142,22 @@ async function backfillRepo( return { mode: 'sampled', stargazers_count: count }; } +// -- Favicon ---------------------------------------------------------------- + +// Lucide `star` + `trending-up` combined: a gold star with a blue chart +// line rising to meet it. Telegraphs "tracking stars over time" at favicon +// scale. Inlined so it ships with the Worker — no static asset bucket needed. +const FAVICON_SVG = ``; + +app.get('/favicon.svg', () => { + return new Response(FAVICON_SVG, { + headers: { + 'content-type': 'image/svg+xml; charset=utf-8', + 'cache-control': 'public, max-age=86400', + }, + }); +}); + // -- Landing ---------------------------------------------------------------- app.get('/', (c) => c.html(pages.landing(c.get('user')))); diff --git a/tools/star-tracker/src/pages.ts b/tools/star-tracker/src/pages.ts index 766b864..e09c253 100644 --- a/tools/star-tracker/src/pages.ts +++ b/tools/star-tracker/src/pages.ts @@ -34,6 +34,7 @@ function shell(title: string, user: User | null, body: string): string {