@* EN: Brand panel for split auth layouts — shows logo, title, description, and trust stats. VI: Panel thương hiệu cho layout chia đôi — hiển thị logo, tiêu đề, mô tả, thống kê. *@

@Title

@Description

@if (ShowStats) {
@foreach (var stat in Stats) {
@stat.Value @stat.Label
}
} @if (Features != null && Features.Count > 0) {
@foreach (var feature in Features) {
@feature
}
} @ChildContent
@code { /// /// EN: Panel variant class (auth-brand-panel--orange or auth-brand-panel--dark). /// VI: Class biến thể panel (auth-brand-panel--orange hoặc auth-brand-panel--dark). /// [Parameter] public string PanelClass { get; set; } = "auth-brand-panel--orange"; /// /// EN: Logo character/text displayed in the brand panel. /// VI: Ký tự/text logo hiển thị trong brand panel. /// [Parameter] public string LogoText { get; set; } = "a"; /// /// EN: Brand panel title. /// VI: Tiêu đề brand panel. /// [Parameter] public string Title { get; set; } = "aPOS Branch"; /// /// EN: Description text. /// VI: Text mô tả. /// [Parameter] public string Description { get; set; } = ""; /// /// EN: Whether to show trust stats. /// VI: Có hiển thị thống kê tin cậy không. /// [Parameter] public bool ShowStats { get; set; } = true; /// /// EN: Trust statistics data. /// VI: Dữ liệu thống kê tin cậy. /// [Parameter] public List Stats { get; set; } = new() { new("1,200+", "Cửa hàng"), new("50K+", "Giao dịch/ngày"), new("99.9%", "Uptime") }; /// /// EN: Feature list items. /// VI: Danh sách tính năng. /// [Parameter] public List? Features { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; } /// /// EN: Brand stat record. /// VI: Record thống kê thương hiệu. /// public record BrandStat(string Value, string Label); }