From ad9727beecc36c5bc2dad7e24e1cb6f769f3235d Mon Sep 17 00:00:00 2001 From: allavenavr Date: Thu, 16 Jan 2025 15:22:30 +0100 Subject: [PATCH] init --- .gitignore | 63 +++ App.xaml | 14 + App.xaml.cs | 11 + AppShell.xaml | 15 + AppShell.xaml.cs | 9 + HegreHotel.csproj | 65 +++ HegreHotel.sln | 16 + MainPage.xaml | 36 ++ MainPage.xaml.cs | 23 + MauiProgram.cs | 24 + Platforms/Android/AndroidManifest.xml | 6 + Platforms/Android/MainActivity.cs | 12 + Platforms/Android/MainApplication.cs | 15 + Platforms/Android/Resources/values/colors.xml | 6 + Platforms/MacCatalyst/AppDelegate.cs | 9 + Platforms/MacCatalyst/Entitlements.plist | 14 + Platforms/MacCatalyst/Info.plist | 38 ++ Platforms/MacCatalyst/Program.cs | 15 + Platforms/Tizen/Main.cs | 16 + Platforms/Tizen/tizen-manifest.xml | 15 + Platforms/Windows/App.xaml | 8 + Platforms/Windows/App.xaml.cs | 23 + Platforms/Windows/Package.appxmanifest | 46 ++ Platforms/Windows/app.manifest | 15 + Platforms/iOS/AppDelegate.cs | 9 + Platforms/iOS/Info.plist | 32 ++ Platforms/iOS/Program.cs | 15 + Platforms/iOS/Resources/PrivacyInfo.xcprivacy | 51 +++ Properties/launchSettings.json | 8 + Resources/AppIcon/appicon.svg | 4 + Resources/AppIcon/appiconfg.svg | 8 + Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107280 bytes Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111168 bytes Resources/Images/dotnet_bot.png | Bin 0 -> 69811 bytes Resources/Raw/AboutAssets.txt | 15 + Resources/Splash/splash.svg | 8 + Resources/Styles/Colors.xaml | 45 ++ Resources/Styles/Styles.xaml | 427 ++++++++++++++++++ 38 files changed, 1136 insertions(+) create mode 100644 .gitignore create mode 100644 App.xaml create mode 100644 App.xaml.cs create mode 100644 AppShell.xaml create mode 100644 AppShell.xaml.cs create mode 100644 HegreHotel.csproj create mode 100644 HegreHotel.sln create mode 100644 MainPage.xaml create mode 100644 MainPage.xaml.cs create mode 100644 MauiProgram.cs create mode 100644 Platforms/Android/AndroidManifest.xml create mode 100644 Platforms/Android/MainActivity.cs create mode 100644 Platforms/Android/MainApplication.cs create mode 100644 Platforms/Android/Resources/values/colors.xml create mode 100644 Platforms/MacCatalyst/AppDelegate.cs create mode 100644 Platforms/MacCatalyst/Entitlements.plist create mode 100644 Platforms/MacCatalyst/Info.plist create mode 100644 Platforms/MacCatalyst/Program.cs create mode 100644 Platforms/Tizen/Main.cs create mode 100644 Platforms/Tizen/tizen-manifest.xml create mode 100644 Platforms/Windows/App.xaml create mode 100644 Platforms/Windows/App.xaml.cs create mode 100644 Platforms/Windows/Package.appxmanifest create mode 100644 Platforms/Windows/app.manifest create mode 100644 Platforms/iOS/AppDelegate.cs create mode 100644 Platforms/iOS/Info.plist create mode 100644 Platforms/iOS/Program.cs create mode 100644 Platforms/iOS/Resources/PrivacyInfo.xcprivacy create mode 100644 Properties/launchSettings.json create mode 100644 Resources/AppIcon/appicon.svg create mode 100644 Resources/AppIcon/appiconfg.svg create mode 100644 Resources/Fonts/OpenSans-Regular.ttf create mode 100644 Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 Resources/Images/dotnet_bot.png create mode 100644 Resources/Raw/AboutAssets.txt create mode 100644 Resources/Splash/splash.svg create mode 100644 Resources/Styles/Colors.xaml create mode 100644 Resources/Styles/Styles.xaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea7d688 --- /dev/null +++ b/.gitignore @@ -0,0 +1,63 @@ +# Fichiers de logs +*.log +*.tlog + +# Fichiers de build +bin/ +obj/ +build/ +*.ilk +*.pdb +*.ipdb +*.iobj +*.genruntimeconfigcache +*.manifest +*.userprefs + +# Dossiers de cache +.vscode/ +.idea/ +.env/ +.env.* + +# JetBrains Rider +.idea/ +*.sln.iml +*.suo +*.user +*.sqlite-journal + +# Fichiers générés pour les plateformes cibles +*.apk +*.aab +*.app +*.ipa +*.dll +*.exe +*.dSYM/ +*.dylib +*.so + +# Paquets NuGet +*.nupkg +*.snupkg +.nuget/ +packages/ + +# Fichiers de config spécifiques à l'utilisateur +*.sln.DotSettings +*.sln.DotSettings.user + +# Fichiers temporaires et de sauvegarde +*.tmp +*.swp +*.bak +*.backup +*.orig +*.rej +*~ + +# Fichiers locaux MAUI/VS +.vs/ +logs/ +TestResults/ diff --git a/App.xaml b/App.xaml new file mode 100644 index 0000000..3d48e12 --- /dev/null +++ b/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/App.xaml.cs b/App.xaml.cs new file mode 100644 index 0000000..54e907c --- /dev/null +++ b/App.xaml.cs @@ -0,0 +1,11 @@ +namespace HegreHotel; + +public partial class App : Application +{ + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } +} \ No newline at end of file diff --git a/AppShell.xaml b/AppShell.xaml new file mode 100644 index 0000000..7c34de3 --- /dev/null +++ b/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/AppShell.xaml.cs b/AppShell.xaml.cs new file mode 100644 index 0000000..151751c --- /dev/null +++ b/AppShell.xaml.cs @@ -0,0 +1,9 @@ +namespace HegreHotel; + +public partial class AppShell : Shell +{ + public AppShell() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/HegreHotel.csproj b/HegreHotel.csproj new file mode 100644 index 0000000..c50628a --- /dev/null +++ b/HegreHotel.csproj @@ -0,0 +1,65 @@ + + + + net8.0-android;net8.0-ios;net8.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.0 + + + + + + + Exe + HegreHotel + true + true + enable + enable + + + HegreHotel + + + com.companyname.hegrehotel + + + 1.0 + 1 + + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HegreHotel.sln b/HegreHotel.sln new file mode 100644 index 0000000..8c1d3ed --- /dev/null +++ b/HegreHotel.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HegreHotel", "HegreHotel.csproj", "{FEF59F7E-F629-4CA1-A4B9-7AF1A558683C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FEF59F7E-F629-4CA1-A4B9-7AF1A558683C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FEF59F7E-F629-4CA1-A4B9-7AF1A558683C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FEF59F7E-F629-4CA1-A4B9-7AF1A558683C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FEF59F7E-F629-4CA1-A4B9-7AF1A558683C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/MainPage.xaml b/MainPage.xaml new file mode 100644 index 0000000..496cf86 --- /dev/null +++ b/MainPage.xaml @@ -0,0 +1,36 @@ + + + + + + + +