diff --git a/Utils/Phantom.Utils/Runtime/AssemblyAttributes.cs b/Utils/Phantom.Utils/Runtime/AssemblyAttributes.cs index 45fd3f1..3801035 100644 --- a/Utils/Phantom.Utils/Runtime/AssemblyAttributes.cs +++ b/Utils/Phantom.Utils/Runtime/AssemblyAttributes.cs @@ -4,6 +4,6 @@ namespace Phantom.Utils.Runtime; public static class AssemblyAttributes { public static string GetFullVersion(Assembly assembly) { - return assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion.Replace('+', '/') ?? string.Empty; + return assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion.Replace('+', '-') ?? string.Empty; } } diff --git a/Web/Phantom.Web/Layout/NavMenu.razor b/Web/Phantom.Web/Layout/NavMenu.razor index 5d0c4de..e92cf1b 100644 --- a/Web/Phantom.Web/Layout/NavMenu.razor +++ b/Web/Phantom.Web/Layout/NavMenu.razor @@ -6,7 +6,10 @@ <div class="navbar navbar-dark"> <div class="container-fluid"> - <a class="navbar-brand" href="">Phantom Panel</a> + <div class="pt-1 pb-2"> + <a class="navbar-brand" href="">Phantom Panel</a> + <small class="navbar-text">Version @ApplicationProperties.Version</small> + </div> <button title="Navigation menu" class="navbar-toggler" @onclick="ToggleNavMenu"> <span class="navbar-toggler-icon"></span> </button> @@ -45,9 +48,6 @@ </Authorized> </AuthorizeView> </nav> - <footer> - Build @ApplicationProperties.Version - </footer> </div> @code { diff --git a/Web/Phantom.Web/wwwroot/css/site.css b/Web/Phantom.Web/wwwroot/css/site.css index 8ed4e8f..b833ef2 100644 --- a/Web/Phantom.Web/wwwroot/css/site.css +++ b/Web/Phantom.Web/wwwroot/css/site.css @@ -14,6 +14,8 @@ .sidebar { background-image: linear-gradient(180deg, #0f6477 200px, #1b3d59 1000px); + border-right: 1px solid rgba(2, 39, 47, 0.5); + box-shadow: 0 0 2px #093c47; } @media (min-width: 960px) { @@ -27,7 +29,7 @@ position: sticky; top: 0; width: 230px; - min-height: 100vh; + height: 100vh; } } @@ -38,6 +40,7 @@ main { } h1 { + font-size: 2rem; font-weight: 600; }