Files
gunshiz 801386a8ed
CI / Verify application and manifests (push) Successful in 1m27s
CI / Build immutable images and deploy (push) Failing after 5m58s
feat : overwite buzz.sudloh.com/guide
2026-09-17 21:55:16 +07:00

12 lines
609 B
TypeScript

import { withBasePath } from "@/lib/base-path";
export function navigationIconPath(slug: string): string | null {
if (slug === "overview") return withBasePath("/icon/nav/Overview.webp");
if (slug === "weapon") return withBasePath("/icon/nav/Weapon.png");
if (slug === "artifact") return withBasePath("/icon/nav/Artifact.webp");
if (slug === "constellations") return withBasePath("/icon/nav/Constellations.webp");
if (slug === "team") return withBasePath("/icon/nav/Team-calc.webp");
if (slug === "extra" || slug.startsWith("extra-")) return withBasePath("/icon/nav/Extra.webp");
return null;
}