diff --git a/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Home.razor b/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Home.razor index e4d9fde5..fe6e2d07 100644 --- a/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Home.razor +++ b/apps/web-client-tpos-net/src/WebClientTpos.Client/Pages/Home.razor @@ -1,5 +1,6 @@ @page "/" @inject IStringLocalizer L +@inject IJSRuntime JS aPOS - @L["HeroHeadline"] @@ -22,11 +23,11 @@
- + @L["HeroCTA_Primary"] - + @L["HeroCTA_Secondary"]
@@ -67,7 +68,7 @@ {
- +

@L[f.Title]

@L[f.Desc]

@@ -209,7 +210,7 @@ {
- + @L[addon.Name]
@L[addon.Price]
@@ -228,7 +229,7 @@

@L["CTA_Subtitle"]

- + @L["CTA_Primary"] @L["CTA_Secondary"] @@ -277,15 +278,24 @@ @code { + // Initialize Lucide icons after render + protected override async Task OnAfterRenderAsync(bool firstRender) + { + if (firstRender) + { + await JS.InvokeVoidAsync("lucide.createIcons"); + } + } + // Feature cards data private record FeatureItem(string Icon, string Title, string Desc, string IconColor, string IconBg); private readonly FeatureItem[] _features = diff --git a/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html b/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html index 31c8e9b4..5ef59eb3 100644 --- a/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html +++ b/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html @@ -15,8 +15,8 @@ - - + +