Browse Source

move home link

pull/56/head
Jason Dove 5 years ago
parent
commit
b32e28b8c6
  1. 43
      ErsatzTV/Shared/MainLayout.razor

43
ErsatzTV/Shared/MainLayout.razor

@ -10,7 +10,9 @@ @@ -10,7 +10,9 @@
<MudLayout>
<MudAppBar Elevation="1">
<div style="min-width: 240px">
<img src="/images/ersatztv.png" alt="ErsatzTV"/>
<a href="/">
<img src="/images/ersatztv.png" alt="ErsatzTV"/>
</a>
</div>
<MudTextField T="string"
@ref=" _textField"
@ -34,7 +36,6 @@ @@ -34,7 +36,6 @@
</MudAppBar>
<MudDrawer Open="true" Elevation="2" ClipMode="DrawerClipMode.Always">
<MudNavMenu>
<MudNavLink Href="/" Match="NavLinkMatch.All">Home</MudNavLink>
<MudNavLink Href="/channels">Channels</MudNavLink>
<MudNavLink Href="/ffmpeg">FFmpeg</MudNavLink>
@* <MudNavGroup Title="Media Sources" Expanded="true"> *@
@ -66,32 +67,24 @@ @@ -66,32 +67,24 @@
private MudTextField<string> _textField;
private MudTheme _ersatzTvTheme
private MudTheme _ersatzTvTheme => new()
{
get
Palette = new Palette
{
var current = new MudTheme();
return new MudTheme
{
Palette = new Palette
{
ActionDefault = "rgba(255,255,255, 0.80)",
Primary = "#009000",
AppbarBackground = "#121212",
Background = "#272727",
DrawerBackground = "#1f1f1f",
Surface = "#1f1f1f",
DrawerText = "rgba(255,255,255, 0.80)",
TextPrimary = "rgba(255,255,255, 0.80)",
TextSecondary = "rgba(255,255,255, 0.80)",
Info = "#00c0c0",
Tertiary = "#00c000",
White = Colors.Shades.White
}
};
ActionDefault = "rgba(255,255,255, 0.80)",
Primary = "#009000",
AppbarBackground = "#121212",
Background = "#272727",
DrawerBackground = "#1f1f1f",
Surface = "#1f1f1f",
DrawerText = "rgba(255,255,255, 0.80)",
TextPrimary = "rgba(255,255,255, 0.80)",
TextSecondary = "rgba(255,255,255, 0.80)",
Info = "#00c0c0",
Tertiary = "#00c000",
White = Colors.Shades.White
}
}
};
private void OnSearchKeyDown(KeyboardEventArgs args)
{

Loading…
Cancel
Save