The logo mark next to the wordmark
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
This commit is contained in:
@@ -5,10 +5,27 @@ import type { Me } from "@/lib/types";
|
||||
import { LogoutButton } from "./LogoutButton";
|
||||
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() {
|
||||
return (
|
||||
<Link href="/" className="logo">
|
||||
sors<span>fonalak</span>
|
||||
<Link href="/" className="logo" aria-label="Sorsfonalak – főoldal">
|
||||
<LogoMark />
|
||||
<span className="logo-word">
|
||||
sors<span>fonalak</span>
|
||||
</span>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user