diff --git a/.gitignore b/.gitignore index add57be..f400df3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ bin/ obj/ /packages/ riderModule.iml -/_ReSharper.Caches/ \ No newline at end of file +/_ReSharper.Caches/ +.idea/ \ No newline at end of file diff --git a/AmaroMenu.Web/Program.cs b/AmaroMenu.Web/Program.cs index ec8e4f4..10ad91d 100644 --- a/AmaroMenu.Web/Program.cs +++ b/AmaroMenu.Web/Program.cs @@ -1,6 +1,11 @@ var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); -app.MapGet("/", () => "Hello World!"); +var amaro = await File.ReadAllTextAsync(Path.Combine(Directory.GetCurrentDirectory(), "wwwroot","amaro","index.html")); + +app.MapGet("/amaro", () => Results.Content(amaro, "text/html")); + + + app.Run(); \ No newline at end of file diff --git a/AmaroMenu.Web/wwwroot/amaro/index.html b/AmaroMenu.Web/wwwroot/amaro/index.html new file mode 100644 index 0000000..1ed2b7e --- /dev/null +++ b/AmaroMenu.Web/wwwroot/amaro/index.html @@ -0,0 +1,172 @@ + + + +
+ + +قهوهی تازه، لحظههای موندگار
+قهوه خالص با طعمی قوی و عمیق
+ترکیب اسپرسو، شیر داغ و فوم نرم
+ملایم، خامهای و مناسب هر سلیقه
+قهوه با شکلات، شیرین و خاص
+