diff --git a/Pages/Allergene.razor b/Pages/Allergene.razor new file mode 100644 index 0000000..2e0fa97 --- /dev/null +++ b/Pages/Allergene.razor @@ -0,0 +1,140 @@ +@page "/allergene" + +Allergene + + + +//TODO: Make css tag names more readable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Allergeninformation
gemäß Codex-Empfehlung
VisuellesKurzbezeichnungBuchstabencode
Getreideglutenhaltiges GetreideA
KrebstiereKrebstiereB
EiEiC
FischFischD
ErdnussErdnussE
SojaSojaF
Milch oder LaktoseMilch oder LaktoseG
SchalenfrüchteSchalenfrüchteH
SellerieSellerieL
SenfSenfM
SesamSesamN
SulfiteSulfiteO
LupinenLupinenP
WeichtiereWeichtiereR
\ No newline at end of file diff --git a/Pages/Counter.razor b/Pages/Counter.razor deleted file mode 100644 index 70212e3..0000000 --- a/Pages/Counter.razor +++ /dev/null @@ -1,17 +0,0 @@ -@page "/counter" - -Counter - -

Counter

- -

Current count: @currentCount

- - - -@code { - private int currentCount = 0; - private void IncrementCount() - { - currentCount++; - } -} diff --git a/Pages/Index.razor b/Pages/Index.razor index e8bc004..a435e7d 100644 --- a/Pages/Index.razor +++ b/Pages/Index.razor @@ -12,4 +12,4 @@ - + \ No newline at end of file diff --git a/Program.cs b/Program.cs index 09a039e..d1c70e0 100644 --- a/Program.cs +++ b/Program.cs @@ -10,5 +10,4 @@ builder.RootComponents.Add("head::after"); builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); -await builder.Build().RunAsync(); - +await builder.Build().RunAsync(); \ No newline at end of file diff --git a/Shared/MainLayout.razor.css b/Shared/MainLayout.razor.css deleted file mode 100644 index c865427..0000000 --- a/Shared/MainLayout.razor.css +++ /dev/null @@ -1,81 +0,0 @@ -.page { - position: relative; - display: flex; - flex-direction: column; -} - -main { - flex: 1; -} - -.sidebar { - background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); -} - -.top-row { - background-color: #f7f7f7; - border-bottom: 1px solid #d6d5d5; - justify-content: flex-end; - height: 3.5rem; - display: flex; - align-items: center; -} - - .top-row ::deep a, .top-row ::deep .btn-link { - white-space: nowrap; - margin-left: 1.5rem; - text-decoration: none; - } - - .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { - text-decoration: underline; - } - - .top-row ::deep a:first-child { - overflow: hidden; - text-overflow: ellipsis; - } - -@media (max-width: 640.98px) { - .top-row:not(.auth) { - display: none; - } - - .top-row.auth { - justify-content: space-between; - } - - .top-row ::deep a, .top-row ::deep .btn-link { - margin-left: 0; - } -} - -@media (min-width: 641px) { - .page { - flex-direction: row; - } - - .sidebar { - width: 250px; - height: 100vh; - position: sticky; - top: 0; - } - - .top-row { - position: sticky; - top: 0; - z-index: 1; - } - - .top-row.auth ::deep a:first-child { - flex: 1; - text-align: right; - width: 0; - } - - .top-row, article { - padding-left: 2rem !important; - padding-right: 1.5rem !important; - } -} diff --git a/Shared/NavMenu.razor b/Shared/NavMenu.razor index ff41750..2b6258a 100644 --- a/Shared/NavMenu.razor +++ b/Shared/NavMenu.razor @@ -53,4 +53,4 @@ { collapseNavMenu = !collapseNavMenu; } -} +} \ No newline at end of file diff --git a/Shared/NavMenu.razor.css b/Shared/NavMenu.razor.css deleted file mode 100644 index 604b7a1..0000000 --- a/Shared/NavMenu.razor.css +++ /dev/null @@ -1,68 +0,0 @@ -.navbar-toggler { - background-color: rgba(255, 255, 255, 0.1); -} - -.top-row { - height: 3.5rem; - background-color: rgba(0,0,0,0.4); -} - -.navbar-brand { - font-size: 1.1rem; -} - -.oi { - width: 2rem; - font-size: 1.1rem; - vertical-align: text-top; - top: -2px; -} - -.nav-item { - font-size: 0.9rem; - padding-bottom: 0.5rem; -} - - .nav-item:first-of-type { - padding-top: 1rem; - } - - .nav-item:last-of-type { - padding-bottom: 1rem; - } - - .nav-item ::deep a { - color: #d7d7d7; - border-radius: 4px; - height: 3rem; - display: flex; - align-items: center; - line-height: 3rem; - } - -.nav-item ::deep a.active { - background-color: rgba(255,255,255,0.25); - color: white; -} - -.nav-item ::deep a:hover { - background-color: rgba(255,255,255,0.1); - color: white; -} - -@media (min-width: 641px) { - .navbar-toggler { - display: none; - } - - .collapse { - /* Never collapse the sidebar for wide screens */ - display: block; - } - - .nav-scrollable { - /* Allow sidebar to scroll for tall menus */ - height: calc(100vh - 3.5rem); - overflow-y: auto; - } -} diff --git a/wwwroot/assets/ei.png b/wwwroot/assets/ei.png new file mode 100644 index 0000000..f3f0520 Binary files /dev/null and b/wwwroot/assets/ei.png differ diff --git a/wwwroot/assets/erdnuss.png b/wwwroot/assets/erdnuss.png new file mode 100644 index 0000000..41a5890 Binary files /dev/null and b/wwwroot/assets/erdnuss.png differ diff --git a/wwwroot/assets/fisch.png b/wwwroot/assets/fisch.png new file mode 100644 index 0000000..8dae807 Binary files /dev/null and b/wwwroot/assets/fisch.png differ diff --git a/wwwroot/assets/getreide.png b/wwwroot/assets/getreide.png new file mode 100644 index 0000000..6853c3e Binary files /dev/null and b/wwwroot/assets/getreide.png differ diff --git a/wwwroot/assets/krebstiere.png b/wwwroot/assets/krebstiere.png new file mode 100644 index 0000000..0dedb30 Binary files /dev/null and b/wwwroot/assets/krebstiere.png differ diff --git a/wwwroot/assets/lupinen.png b/wwwroot/assets/lupinen.png new file mode 100644 index 0000000..67a9e6b Binary files /dev/null and b/wwwroot/assets/lupinen.png differ diff --git a/wwwroot/assets/milch.png b/wwwroot/assets/milch.png new file mode 100644 index 0000000..c83d5c8 Binary files /dev/null and b/wwwroot/assets/milch.png differ diff --git a/wwwroot/assets/schalenfruechte.png b/wwwroot/assets/schalenfruechte.png new file mode 100644 index 0000000..8334ae7 Binary files /dev/null and b/wwwroot/assets/schalenfruechte.png differ diff --git a/wwwroot/assets/sellerie.png b/wwwroot/assets/sellerie.png new file mode 100644 index 0000000..71704cc Binary files /dev/null and b/wwwroot/assets/sellerie.png differ diff --git a/wwwroot/assets/senf.png b/wwwroot/assets/senf.png new file mode 100644 index 0000000..3bad648 Binary files /dev/null and b/wwwroot/assets/senf.png differ diff --git a/wwwroot/assets/sesam.png b/wwwroot/assets/sesam.png new file mode 100644 index 0000000..914288a Binary files /dev/null and b/wwwroot/assets/sesam.png differ diff --git a/wwwroot/assets/soja.png b/wwwroot/assets/soja.png new file mode 100644 index 0000000..98f7c9c Binary files /dev/null and b/wwwroot/assets/soja.png differ diff --git a/wwwroot/assets/sulfite.png b/wwwroot/assets/sulfite.png new file mode 100644 index 0000000..92db96d Binary files /dev/null and b/wwwroot/assets/sulfite.png differ diff --git a/wwwroot/assets/weichtiere.png b/wwwroot/assets/weichtiere.png new file mode 100644 index 0000000..f4c0af6 Binary files /dev/null and b/wwwroot/assets/weichtiere.png differ diff --git a/wwwroot/css/Site.css b/wwwroot/css/Site.css index e5e57d3..1e9b5a2 100644 --- a/wwwroot/css/Site.css +++ b/wwwroot/css/Site.css @@ -1,4 +1,4 @@ -@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); +@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); html, body { margin: 0px; @@ -22,4 +22,4 @@ html, body { button { box-shadow: 5px 5px #d3d3d3; -} +} \ No newline at end of file