Firefly Navbar Config
Overview
Adjust navigation links and search behavior while respecting page toggle dependencies.
Workflow
- •Read the current target file(s) before editing.
- •Confirm the requested behavior and map it to existing keys.
- •Apply the smallest possible change inside the declared scope.
- •Keep existing style, object structure, and value types.
- •Report changed keys and paths.
Edit Scope
- •src/config/navBarConfig.ts
- •src/config/siteConfig.ts
Common Keys
- •links[] / children[] / external / icon / name / url
- •navBarSearchConfig.method
- •siteConfig.pages.sponsor / pages.guestbook / pages.bangumi (affects dynamic menu visibility)
Guardrails
- •Do not modify files outside Edit Scope unless explicitly requested.
- •Keep booleans, numbers, arrays, enums, and URLs in valid types.
- •Preserve existing comments unless they conflict with the new behavior.
- •Prefer minimal diffs that are easy to review.