using Microsoft.AspNetCore.Components; namespace DeepDrftPublic.Client.Common; /// /// One entry in the public-site Settings menu (Phase 18 wave 18.6, §4a). The settings-item abstraction the /// menu renders instead of a hard-coded control list: a plus a /// fragment bound to a persisted preference. Adding a future tenant (e.g. dark mode) is appending one of /// these — not rewiring the menu. The control fragment owns its own binding to /// and its own persistence call, so each item is self-contained and the menu stays preference-agnostic. /// public sealed record SettingsItem(string Label, RenderFragment Control);