Skip to content

Commit 14cbdf9

Browse files
committed
feat: add tornado logo to header, switch wordmark to ink for contrast
1 parent 56b48f6 commit 14cbdf9

4 files changed

Lines changed: 31 additions & 7 deletions

File tree

Lines changed: 9 additions & 0 deletions
Loading

src/design/components/header/index.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ export function Header({ config }: { config: SiteConfig }) {
66
return (
77
<header class="site-header">
88
<a href={url('/', config.basePath)} class="site-brand">
9-
Flexion Labs
9+
<img
10+
src={url('/assets/flexion_tornado.svg', config.basePath)}
11+
alt=""
12+
class="site-brand__logo"
13+
width="38"
14+
height="38"
15+
/>
16+
<span>Flexion Labs</span>
1017
</a>
1118
<nav aria-label="Primary">
1219
<ul>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.site-brand {
2+
display: inline-flex;
3+
align-items: center;
4+
gap: var(--space-3);
5+
font-weight: 700;
6+
font-size: var(--step-1);
7+
text-decoration: none;
8+
color: var(--color-ink);
9+
}
10+
.site-brand__logo {
11+
block-size: 1.8em;
12+
inline-size: auto;
13+
display: block;
14+
}

src/design/layout.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
display: flex;
3333
gap: var(--space-5);
3434
}
35-
.site-brand {
36-
font-weight: 700;
37-
font-size: var(--step-1);
38-
text-decoration: none;
39-
color: var(--color-accent);
40-
}
4135
.site-footer {
4236
inline-size: 100%;
4337
max-inline-size: none;

0 commit comments

Comments
 (0)