|
10 | 10 | <MudSnackbarProvider/>
|
11 | 11 |
|
12 | 12 | <MudLayout>
|
13 |
| - <MudAppBar Gutters="false" Elevation="0" Class="p-0 m-0"> |
| 13 | + <MudAppBar Gutters="false" Elevation="0" Class="p-0 m-0 flex"> |
14 | 14 | <div class="flex opacity-0 flex-row my-auto mx-3 align-self-end rounded-lg bg-[#1f1f1f] active:bg-[#1a1a1a] p-3 text-white" hidden>
|
15 | 15 | <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5">
|
16 | 16 | <path stroke-linecap="round" stroke-linejoin="round" d="M9 15L3 9m0 0l6-6M3 9h12a6 6 0 010 12h-3"/>
|
17 | 17 | </svg>
|
18 | 18 | </div>
|
19 |
| - <MudImage Class="flex h-10 mx-auto my-auto" Src="images/nitefox-logo.svg"></MudImage> |
20 |
| - @if (NavigationManager.Uri.EndsWith("settings")) |
21 |
| - { |
22 |
| - <button @onclick="@OpenHome" class="flex flex-row my-auto mx-3 align-self-end rounded-lg bg-[#1f1f1f] active:bg-[#1a1a1a] p-3 text-white"> |
23 |
| - <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5"> |
24 |
| - <path stroke-linecap="round" stroke-linejoin="round" d="M9 15L3 9m0 0l6-6M3 9h12a6 6 0 010 12h-3"/> |
25 |
| - </svg> |
26 |
| - </button> |
27 |
| - } |
28 |
| - else |
29 |
| - { |
30 |
| - <button @onclick="@OpenSettings" class="flex flex-row my-auto mx-3 align-self-end rounded-lg bg-[#1f1f1f] active:bg-[#1a1a1a] p-3 text-white"> |
31 |
| - <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5"> |
32 |
| - <path stroke-linecap="round" stroke-linejoin="round" d="M10.5 6h9.75M10.5 6a1.5 1.5 0 11-3 0m3 0a1.5 1.5 0 10-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-9.75 0h9.75"/> |
33 |
| - </svg> |
34 |
| - </button> |
35 |
| - } |
36 |
| - |
| 19 | + <div class="fixed w-full h-full flex"> |
| 20 | + <MudImage Class="flex h-10 mx-auto my-auto" Src="images/nitefox-logo.svg"></MudImage> |
| 21 | + </div> |
| 22 | + <div class="fixed w-full h-full flex"> |
| 23 | + <MudSpacer/> |
| 24 | + @if (NavigationManager.Uri.EndsWith("settings")) |
| 25 | + { |
| 26 | + <button @onclick="@OpenHome" class="flex flex-row my-auto mx-3 align-self-end rounded-lg bg-[#1f1f1f] active:bg-[#1a1a1a] p-3 text-white"> |
| 27 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5"> |
| 28 | + <path stroke-linecap="round" stroke-linejoin="round" d="M9 15L3 9m0 0l6-6M3 9h12a6 6 0 010 12h-3"/> |
| 29 | + </svg> |
| 30 | + </button> |
| 31 | + } |
| 32 | + else |
| 33 | + { |
| 34 | + <button @onclick="@OpenSettings" class="flex flex-row my-auto mx-3 align-self-end rounded-lg bg-[#1f1f1f] active:bg-[#1a1a1a] p-3 text-white"> |
| 35 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5"> |
| 36 | + <path stroke-linecap="round" stroke-linejoin="round" d="M10.5 6h9.75M10.5 6a1.5 1.5 0 11-3 0m3 0a1.5 1.5 0 10-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-9.75 0h9.75"/> |
| 37 | + </svg> |
| 38 | + </button> |
| 39 | + } |
| 40 | + </div> |
37 | 41 | </MudAppBar>
|
38 | 42 | <MudMainContent Class="flex flex-column h-screen">
|
39 | 43 | @Body
|
|
0 commit comments