feat: use favicon artwork for header logo mark; ignore .vscode
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
eefe924683
commit
9ec94a305b
@@ -33,3 +33,4 @@ yarn-error.log*
|
|||||||
# vercel
|
# vercel
|
||||||
.vercel
|
.vercel
|
||||||
.claude
|
.claude
|
||||||
|
.vscode
|
||||||
|
|||||||
@@ -23,7 +23,14 @@ export default function Header() {
|
|||||||
<header className={`header ${scrolled ? 'is-scrolled' : ''} ${open ? 'is-open' : ''}`}>
|
<header className={`header ${scrolled ? 'is-scrolled' : ''} ${open ? 'is-open' : ''}`}>
|
||||||
<nav className="navbar shell">
|
<nav className="navbar shell">
|
||||||
<Link href="/" className="logo" onClick={() => setOpen(false)}>
|
<Link href="/" className="logo" onClick={() => setOpen(false)}>
|
||||||
<span className="logo-mark">je</span>
|
<svg className="logo-mark" viewBox="0 0 32 32" aria-hidden="true">
|
||||||
|
<rect width="32" height="32" rx="7" fill="#0c0a09" />
|
||||||
|
<g fill="none" stroke="#fafaf9" strokeWidth="3" strokeLinecap="round">
|
||||||
|
<path d="M11.5 13v9a3.5 3.5 0 0 1-3.5 3.5h-1" />
|
||||||
|
<path d="M15.5 18h10a5 5 0 1 0-1.46 3.54" />
|
||||||
|
</g>
|
||||||
|
<circle cx="11.5" cy="8" r="2" fill="#34d399" />
|
||||||
|
</svg>
|
||||||
<span className="logo-text">
|
<span className="logo-text">
|
||||||
jesseinit<span className="logo-dot">.dev</span>
|
jesseinit<span className="logo-dot">.dev</span>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
+8
-9
@@ -329,18 +329,17 @@ button {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Same artwork as public/icon.svg; the ring keeps the dark tile visible in dark mode.
|
||||||
.logo-mark {
|
.logo-mark {
|
||||||
display: grid;
|
display: block;
|
||||||
place-items: center;
|
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
border-radius: 9px;
|
flex-shrink: 0;
|
||||||
background: var(--text);
|
border-radius: 7px;
|
||||||
color: var(--bg);
|
}
|
||||||
font-family: var(--font-mono);
|
|
||||||
font-size: 0.8125rem;
|
[data-theme='dark'] .logo-mark {
|
||||||
font-weight: 700;
|
box-shadow: 0 0 0 1px var(--border-strong);
|
||||||
letter-spacing: -0.02em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-text {
|
.logo-text {
|
||||||
|
|||||||
Reference in New Issue
Block a user