Compare commits

...
Author SHA1 Message Date
sagifer fd655952b6 Merge pull request 'The logo mark next to the wordmark' (#24) from main into prod
CI / test (push) Successful in 1m19s
CI / build (push) Successful in 22s
CI / deploy (push) Successful in 37s
Reviewed-on: #24
2026-11-19 18:41:57 +01:00
fecoandClaude Opus 5.5 f10e5fdb69 The logo mark next to the wordmark
CI / test (push) Successful in 1m26s
CI / build (push) Successful in 4m45s
CI / deploy (push) Skipped
The shared Logo (headers, login page, home page footer) shows the mark
before 'sorsfonalak': gold orbit, thread and crossbar, a light star, sized
with the text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-19 17:30:13 +00:00
2 changed files with 26 additions and 4 deletions
+7 -2
View File
@@ -52,8 +52,13 @@ p { margin: 0; }
padding: 12px 24px; background: rgba(13, 18, 32, 0.94); padding: 12px 24px; background: rgba(13, 18, 32, 0.94);
border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
} }
.logo { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.3px; } .logo {
.logo span { color: var(--gold); } display: inline-flex; align-items: center; gap: 9px;
font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.3px;
}
.logo-word span { color: var(--gold); }
.logo-mark { width: 1.15em; height: 1.15em; flex: none; color: var(--gold); }
.logo-star { fill: var(--ink); }
.logo:hover { color: var(--ink); } .logo:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; flex: 1; } .nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; } .nav a { color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
@@ -5,10 +5,27 @@ import type { Me } from "@/lib/types";
import { LogoutButton } from "./LogoutButton"; import { LogoutButton } from "./LogoutButton";
import { NavLinks } from "./NavLinks"; import { NavLinks } from "./NavLinks";
/** The mark: the orbit, the thread (an S, with the crossbar an f) and a star on the rim. */
export function LogoMark({ className = "logo-mark" }: { className?: string }) {
return (
<svg className={className} viewBox="0 0 64 64" aria-hidden="true">
<g fill="none" stroke="currentColor" strokeWidth="4.5" strokeLinecap="round">
<circle cx="32" cy="32" r="23" />
<path d="M10 46 C 24 45, 29 23, 44 18" />
<path d="M18 33.5 L36 33.5" strokeWidth="4.2" />
</g>
<path d="M49 6 L51.8 13.2 L59 16 L51.8 18.8 L49 26 L46.2 18.8 L39 16 L46.2 13.2 Z" className="logo-star" />
</svg>
);
}
export function Logo() { export function Logo() {
return ( return (
<Link href="/" className="logo"> <Link href="/" className="logo" aria-label="Sorsfonalak – főoldal">
sors<span>fonalak</span> <LogoMark />
<span className="logo-word">
sors<span>fonalak</span>
</span>
</Link> </Link>
); );
} }