Skip to content

Commit ac8ad47

Browse files
Merge pull request #184 from erikdarlingdata/fix/web-header-landing
Web UI refresh: font, header nav, footer
2 parents 184bc1c + 5485126 commit ac8ad47

4 files changed

Lines changed: 50 additions & 14 deletions

File tree

src/PlanViewer.Web/Layout/MainLayout.razor

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
<div class="header-content">
55
<a href="https://www.erikdarling.com" target="_blank" rel="noopener"><img src="darling-data-logo.jpg" alt="Darling Data" class="header-logo" /></a>
66
<span class="header-divider"></span>
7-
<span class="header-title">Performance Studio</span>
7+
<span class="header-title">Free SQL Server Query Plan Analysis</span>
8+
<nav class="header-nav">
9+
<a href="https://erikdarling.com/blog/" target="_blank" rel="noopener">Blog</a>
10+
<a href="https://training.erikdarling.com/sqlconsulting" target="_blank" rel="noopener">Consulting</a>
11+
<a href="https://training.erikdarling.com/catalog" target="_blank" rel="noopener">Training</a>
12+
<a href="https://training.erikdarling.com/sql-monitoring" target="_blank" rel="noopener">Monitoring</a>
13+
<a href="https://erikdarling.com/request-a-call/" target="_blank" rel="noopener">Request a Call</a>
14+
</nav>
815
</div>
916
</header>
1017

@@ -20,7 +27,10 @@
2027
</main>
2128

2229
<footer>
23-
<a href="https://www.erikdarling.com" target="_blank" rel="noopener">erikdarling.com</a>
24-
<span class="footer-sep">&middot;</span>
25-
<a href="https://github.com/erikdarlingdata/PerformanceStudio" target="_blank" rel="noopener">GitHub</a>
30+
<div>Copyright &copy; 2019-@DateTime.Now.Year Darling Data</div>
31+
<div class="footer-links">
32+
<a href="https://www.erikdarling.com" target="_blank" rel="noopener">erikdarling.com</a>
33+
<span class="footer-sep">&middot;</span>
34+
<a href="https://github.com/erikdarlingdata/PerformanceStudio" target="_blank" rel="noopener">GitHub</a>
35+
</div>
2636
</footer>

src/PlanViewer.Web/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
<div class="landing">
66
<div class="landing-content">
7-
<h2>Execution Plan Analysis</h2>
7+
<h2>Free SQL Server Query Plan Analysis</h2>
88
<p class="privacy">Paste or upload a .sqlplan file. Your plan XML never leaves your browser.</p>
99

1010
@if (errorMessage != null)

src/PlanViewer.Web/wwwroot/css/app.css

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
html, body {
5252
background: var(--bg);
5353
color: var(--text);
54-
font-family: 'Armata', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
54+
font-family: 'Montserrat', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
5555
font-size: 14px;
5656
line-height: 1.5;
5757
}
@@ -83,9 +83,32 @@ header {
8383
}
8484

8585
.header-title {
86+
font-family: 'Montserrat', sans-serif;
8687
font-size: 1rem;
88+
font-weight: 600;
89+
color: #ffffff;
90+
letter-spacing: 0.3px;
91+
}
92+
93+
.header-nav {
94+
display: flex;
95+
gap: 1.5rem;
96+
margin-left: auto;
97+
}
98+
99+
.header-nav a {
87100
color: #e0e0e0;
88-
letter-spacing: 0.5px;
101+
text-decoration: none;
102+
font-size: 1rem;
103+
font-weight: 500;
104+
padding: 0.3rem 0.6rem;
105+
border-radius: 4px;
106+
transition: color 0.15s, background 0.15s;
107+
}
108+
109+
.header-nav a:hover {
110+
color: #ffffff;
111+
background: rgba(255, 255, 255, 0.1);
89112
}
90113

91114
/* === Footer === */
@@ -94,7 +117,8 @@ footer {
94117
padding: 1.5rem 2rem;
95118
border-top: 1px solid var(--border);
96119
margin-top: 2rem;
97-
font-size: 0.8rem;
120+
font-size: 1.1rem;
121+
font-weight: 500;
98122
color: var(--text-muted);
99123
}
100124

@@ -136,12 +160,14 @@ main {
136160
font-size: 1.5rem;
137161
color: var(--text);
138162
margin-bottom: 0.25rem;
139-
font-weight: 400;
163+
font-weight: 700;
140164
}
141165

142166
.privacy {
143-
color: var(--text-muted);
144-
font-size: 0.9rem;
167+
color: var(--text);
168+
font-family: 'Montserrat', sans-serif;
169+
font-size: 1.05rem;
170+
font-weight: 600;
145171
margin-bottom: 1.5rem;
146172
}
147173

@@ -838,7 +864,7 @@ textarea::placeholder {
838864
min-height: 200px;
839865
color: var(--text-muted);
840866
font-size: 1.1rem;
841-
font-family: 'Armata', sans-serif;
867+
font-family: 'Montserrat', sans-serif;
842868
}
843869

844870
/* === Blazor Error UI === */

src/PlanViewer.Web/wwwroot/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Performance Studio</title>
6+
<title>Free SQL Server Query Plan Analysis — Darling Data</title>
77
<base href="/" />
88
<link rel="preconnect" href="https://fonts.googleapis.com" />
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10-
<link href="https://fonts.googleapis.com/css2?family=Armata&display=swap" rel="stylesheet" />
10+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet" />
1111
<link href="css/app.css" rel="stylesheet" />
1212
</head>
1313
<body>

0 commit comments

Comments
 (0)