Skip to content

Commit 4c24c20

Browse files
committed
Added branding.
1 parent d9fafe5 commit 4c24c20

File tree

4 files changed

+50
-113
lines changed

4 files changed

+50
-113
lines changed

src/Geta.NotFoundHandler.Admin/Pages/Geta.NotFoundHandler.Admin/Shared/_Layout.cshtml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
<!DOCTYPE html>
1+
@using System.Reflection
2+
@using Microsoft.AspNetCore.Mvc.TagHelpers
3+
@{
4+
var version = GetType().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
5+
version = version == null ? string.Empty : $"v{version}";
6+
}
7+
<!DOCTYPE html>
28
<html lang="en">
39
<head>
410
<meta charset="utf-8" />
@@ -10,7 +16,10 @@
1016
</head>
1117
<body>
1218
<header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
13-
<a class="navbar-brand col-md-3 col-lg-2 me-0 px-3" href="">NotFound Handler</a>
19+
<a class="navbar-brand col-md-3 col-lg-2 me-0 px-3" href="">NotFound Handler <span class="version">@version</span></a>
20+
<div class="ml-auto mb-1 px-3">
21+
<span class="geta-logo-prefix">by</span> @{ await Html.RenderPartialAsync("Shared/_Logo"); }
22+
</div>
1423
<button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
1524
<span class="navbar-toggler-icon"></span>
1625
</button>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<a href="https://www.getadigital.com" class="geta-logo" target="_blank">
2+
<?xml version="1.0" encoding="utf-8"?>
3+
4+
<!-- Generator: Adobe Illustrator 23.0.6, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
5+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
6+
viewBox="0 0 133.5 41.5" style="enable-background:new 0 0 133.5 41.5;" xml:space="preserve">
7+
<style type="text/css">
8+
.st0{fill:#FFFFFF;}
9+
</style>
10+
<g>
11+
<path class="st0" d="M20.6,25.1h8.2v4.4c-1.6,1.1-4.2,1.8-6.8,1.8c-6.1,0-10.5-4.5-10.5-10.6v-0.1c0-5.9,4.3-10.6,9.8-10.6
12+
c3.8,0,6.5,1.3,9.3,3.6L37,6.2c-4.1-3.5-8.9-5.6-15.6-5.6c-11.9,0-20,8.8-20,20v0.1c0,11.6,8.2,19.9,20.2,19.9
13+
c7,0,12.6-2.6,16.7-5.9V16.5H23.5L20.6,25.1z"/>
14+
<path class="st0" d="M96.2,17.8l2-8h-9.6V0.7l-9.2,4.5v4.5v8v13c0,5.8,3.6,9.3,9.3,9.3h8.4v-8.4h-5c-2.5,0-3.5-1-3.5-3.6V17.8H96.2
15+
z"/>
16+
<path class="st0" d="M122.3,9.8v1.8c-1.8-1.5-4.2-2.3-6.7-2.3c-9,0-14.7,7.3-14.7,15.6s5.7,15.6,14.7,15.6c2.5,0,4.9-0.8,6.7-2.3
17+
V40h9.2V9.8H122.3z M122.3,29.6c-1.2,1.6-2.9,2.6-5.2,2.6c-4.4,0-7-3.3-7-7.3s2.6-7.3,7-7.3c2.2,0,3.9,0.9,5.2,2.5V29.6z"/>
18+
<path class="st0" d="M58.9,9.3c-9.3,0-15.6,6.7-15.6,15.6c0,9.3,7.5,15.6,15.5,15.6c6,0,10.9-2.9,13.7-7.3l-7.3-4.9
19+
c-1.2,2.2-3.3,3.8-6.5,3.8c-2.6,0-5.2-1.1-6.5-5.2c0-0.1-0.1-0.3-0.1-0.5h8h1.2h12.2c0.1-0.9,0.2-1.8,0.2-2.7
20+
C73.6,14.3,66.7,9.3,58.9,9.3z M61.1,21.2h-1.2h-7.7c0-0.1,0-0.2,0.1-0.3c0.9-3.4,4-4.3,6.1-4.3c2.9,0,5.5,1.3,6.1,4.2l0.1,0.4
21+
L61.1,21.2z"/>
22+
</g>
23+
</svg>
24+
</a>

src/Geta.NotFoundHandler.Admin/wwwroot/css/dashboard.css

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
body {
2-
font-size: .875rem;
3-
}
1+
/*
2+
* Icons
3+
*/
44

55
.feather {
6-
width: 16px;
7-
height: 16px;
8-
vertical-align: text-bottom;
6+
width: 16px;
7+
height: 16px;
8+
margin-bottom: 3px;
99
}
1010

1111
/*
@@ -69,19 +69,19 @@ body {
6969
* Navbar
7070
*/
7171

72-
.navbar-brand {
73-
padding-top: .75rem;
74-
padding-bottom: .75rem;
75-
font-size: 1rem;
76-
background-color: rgba(0, 0, 0, .25);
77-
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
72+
.geta-logo svg {
73+
width: 60px;
7874
}
7975

80-
.navbar .navbar-toggler {
81-
top: .25rem;
82-
right: 1rem;
76+
.geta-logo-prefix {
77+
color: white;
78+
font-size: 12px;
8379
}
8480

81+
.version {
82+
color: white;
83+
font-size: 0.6em;
84+
}
8585

8686
/*
8787
* Search

src/Geta.NotFoundHandler.Admin/wwwroot/css/dashboard.rtl.css

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)