Merge pull request #4 from yummy4friends/YUM04-18-startseite

Yum04 18 startseite
This commit is contained in:
zha19115 2023-03-06 20:01:05 +01:00 committed by GitHub
commit b2fecb868e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 6 deletions

View File

@ -1,9 +1,16 @@
@page "/"
@layout Startseite
<PageTitle>Index</PageTitle>
<PageTitle>Yummy4Friends</PageTitle>
<h1>Hello, world!</h1>
Welcome to your new app.
<body style='--blazor-load-percentage: 100%; --blazor-load-percentage-text: "100%";'>
<div class="container col-lg-6 col-md-9 col-sm-12 d-flex flex-column " id="content">
<center><h1>Herzlich Willkommen!</h1></center>
<img src="assets/Logo_new.png" class="img" title="logo image">
<button href="Speisekarte.razor" type="button" class=" btn btn-light justify-content-center">Zur Speisekarte</button>
</div>
</body>
<SurveyPrompt Title="How is Blazor working for you?" />

View File

@ -2,7 +2,7 @@
<div class="container-fluid">
@*<a class="navbar-brand" href="">Yummy4Friends</a>*@
<a class="navbar-brand" href="">
<img src="assets/Logo_new.png" alt="Yummy4Friends" width="100" height="100">
<img src="assets/Logo_new.png" alt="Yummy4Friends" width="8%" height="auto">
</a>
<button class="navbar-toggler @NavButtonCssClass" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"

11
Shared/Startseite.razor Normal file
View File

@ -0,0 +1,11 @@
@inherits LayoutComponentBase
<div>
<main class="container">
@Body
</main>
</div>

25
wwwroot/css/Site.css Normal file
View File

@ -0,0 +1,25 @@
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
html, body {
margin: 0px;
padding: 0px;
background-color: #C7FFD1;
}
#content {
background-color: #C7FFD1;
padding: 5%;
margin-top: 1%;
border-radius: 10px;
}
.img {
height: auto;
max-width: 100%;
margin: 10%;
}
button {
box-shadow: 5px 5px #d3d3d3;
}

View File

@ -7,6 +7,7 @@
<title>y4f</title>
<base href="/" />
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
<link href="css/Site.css" rel="stylesheet" />
<link href="css/app.css" rel="stylesheet" />
<link rel="icon" type="image/png" href="favicon.png" />
<link href="y4f.styles.css" rel="stylesheet" />

View File

@ -7,6 +7,10 @@
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
</PropertyGroup>
<ItemGroup>
<None Include="wwwroot\css\Site.css" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.1" PrivateAssets="all" />

View File

@ -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