From 450388e93372677addafbef19c3eb118d1afc47b Mon Sep 17 00:00:00 2001 From: zha19115 <105790331+zha19115@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:31:01 +0100 Subject: [PATCH] Finish Startpage --- Pages/Index.razor | 18 ++++++++---------- Shared/NavMenu.razor | 2 +- Shared/Startseite.razor | 11 +++++++++++ wwwroot/css/Site.css | 31 ++++++++++++------------------- y4f.sln | 2 +- 5 files changed, 33 insertions(+), 31 deletions(-) create mode 100644 Shared/Startseite.razor diff --git a/Pages/Index.razor b/Pages/Index.razor index 5851de9..7acd1be 100644 --- a/Pages/Index.razor +++ b/Pages/Index.razor @@ -1,20 +1,18 @@ @page "/" +@layout Startseite -Index - - +Yummy4Friends
- - -
-
-

Herzlich Willkommen!

- -
+
+

Herzlich Willkommen!

+ + + +
diff --git a/Shared/NavMenu.razor b/Shared/NavMenu.razor index 8e4f374..ff41750 100644 --- a/Shared/NavMenu.razor +++ b/Shared/NavMenu.razor @@ -2,7 +2,7 @@
@*Yummy4Friends*@ - Yummy4Friends + Yummy4Friends
\ No newline at end of file diff --git a/wwwroot/css/Site.css b/wwwroot/css/Site.css index 76ec147..26e5f07 100644 --- a/wwwroot/css/Site.css +++ b/wwwroot/css/Site.css @@ -1,27 +1,20 @@ -#center { - - margin-left: auto; - margin-right: auto; - width: 50%; +@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); + +body { + margin: 0px; + padding: 0px; } - - #content { background-color: #C7FFD1; - padding: 10%; + padding: 5%; + margin-top: 1%; + border-radius: 10px; + } - -img { +.img { height: auto; - max-width: 50%; - text-align: center; + max-width: 100%; + margin: 10%; } - - -button { - text-align: center; - position: center; -} - diff --git a/y4f.sln b/y4f.sln index cd5de42..7814467 100644 --- a/y4f.sln +++ b/y4f.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.4.33205.214 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "y4f", "y4f.csproj", "{1B083D74-9507-4510-A532-8AAAD1FB6035}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "y4f", "y4f.csproj", "{1B083D74-9507-4510-A532-8AAAD1FB6035}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution