From 78f4a296be3dbaa17bc089512e495fd47248f6c0 Mon Sep 17 00:00:00 2001 From: Ho Ngoc Hai Date: Thu, 12 Feb 2026 01:08:22 +0700 Subject: [PATCH] Update UI Design --- .../src/WebClientTpos.Client/Pages/Home.razor | 28 +++++++++++++------ .../WebClientTpos.Client/wwwroot/index.html | 4 +-- .../wwwroot/locales/en-US.json | 2 +- .../wwwroot/locales/vi-VN.json | 2 +- 4 files changed, 23 insertions(+), 13 deletions(-) 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 @@ @@ -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 @@ - - + +