feat : overwite buzz.sudloh.com/guide
This commit is contained in:
+8
-6
@@ -1,9 +1,11 @@
|
||||
import { withBasePath } from "@/lib/base-path";
|
||||
|
||||
export function navigationIconPath(slug: string): string | null {
|
||||
if (slug === "overview") return "/icon/nav/Overview.webp";
|
||||
if (slug === "weapon") return "/icon/nav/Weapon.png";
|
||||
if (slug === "artifact") return "/icon/nav/Artifact.webp";
|
||||
if (slug === "constellations") return "/icon/nav/Constellations.webp";
|
||||
if (slug === "team") return "/icon/nav/Team-calc.webp";
|
||||
if (slug === "extra" || slug.startsWith("extra-")) return "/icon/nav/Extra.webp";
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user