diff --git a/.gitignore b/.gitignore index 3584a60f..b54e9b9b 100644 --- a/.gitignore +++ b/.gitignore @@ -83,3 +83,7 @@ infra/traefik/certs/* *storybook.log storybook-static + +# MAUI +obj +bin \ No newline at end of file diff --git a/apps/app-client-base/App.xaml b/apps/app-client-base/App.xaml new file mode 100644 index 00000000..3666c886 --- /dev/null +++ b/apps/app-client-base/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/apps/app-client-base/App.xaml.cs b/apps/app-client-base/App.xaml.cs new file mode 100644 index 00000000..28d0258d --- /dev/null +++ b/apps/app-client-base/App.xaml.cs @@ -0,0 +1,26 @@ +namespace AppClientBase; + +/// +/// EN: Main application class. +/// VI: Lớp ứng dụng chính. +/// +public partial class App : Application +{ + /// + /// EN: Constructor - initializes XAML components. + /// VI: Constructor - khởi tạo các thành phần XAML. + /// + public App() + { + InitializeComponent(); + } + + /// + /// EN: Creates the main window with AppShell. + /// VI: Tạo cửa sổ chính với AppShell. + /// + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); + } +} \ No newline at end of file diff --git a/apps/app-client-base/AppClientBase.csproj b/apps/app-client-base/AppClientBase.csproj new file mode 100644 index 00000000..488a97d8 --- /dev/null +++ b/apps/app-client-base/AppClientBase.csproj @@ -0,0 +1,66 @@ + + + + net10.0-android;net10.0-ios;net10.0-maccatalyst + $(TargetFrameworks);net10.0-windows10.0.19041.0 + + + + + Exe + AppClientBase + true + true + enable + enable + + + AppClientBase + + + com.companyname.appclientbase + + + 1.0 + 1 + + + None + + 15.0 + 15.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/app-client-base/AppShell.xaml b/apps/app-client-base/AppShell.xaml new file mode 100644 index 00000000..d150121c --- /dev/null +++ b/apps/app-client-base/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/apps/app-client-base/AppShell.xaml.cs b/apps/app-client-base/AppShell.xaml.cs new file mode 100644 index 00000000..66acd4d4 --- /dev/null +++ b/apps/app-client-base/AppShell.xaml.cs @@ -0,0 +1,9 @@ +namespace AppClientBase; + +public partial class AppShell : Shell +{ + public AppShell() + { + InitializeComponent(); + } +} diff --git a/apps/app-client-base/MainPage.xaml b/apps/app-client-base/MainPage.xaml new file mode 100644 index 00000000..4ecb2106 --- /dev/null +++ b/apps/app-client-base/MainPage.xaml @@ -0,0 +1,38 @@ + + + + + + + + +