Drop redundant jmartgraphix wordmark next to logo
Hero shows logo + tagline only; header is logo-only for a11y.
This commit is contained in:
@@ -38,13 +38,12 @@ export function Layout() {
|
||||
<Link to="/" className="site-header__logo" aria-label={`${name} home`}>
|
||||
<img
|
||||
src="/logo.png"
|
||||
alt=""
|
||||
alt={name}
|
||||
className="site-header__logo-img"
|
||||
width={36}
|
||||
height={36}
|
||||
decoding="async"
|
||||
/>
|
||||
<span className="site-header__logo-text">{name}</span>
|
||||
</Link>
|
||||
<button
|
||||
className="site-header__burger"
|
||||
|
||||
@@ -12,42 +12,22 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 0.75rem;
|
||||
font-size: clamp(2.8rem, 8vw, 5.2rem);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
&__serif {
|
||||
font-family: var(--font-serif);
|
||||
font-style: italic;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
&__logo {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
object-fit: contain;
|
||||
border-radius: 16px;
|
||||
background: #000;
|
||||
margin-bottom: 1.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
&__eyebrow {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.18em;
|
||||
font-size: 0.75rem;
|
||||
color: var(--accent);
|
||||
margin: 0 0 1rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
&__sub {
|
||||
font-size: 1.15rem;
|
||||
font-size: clamp(1.15rem, 2.5vw, 1.45rem);
|
||||
color: var(--text-muted);
|
||||
margin: 0 0 1rem;
|
||||
margin: 0 0 1.25rem;
|
||||
max-width: 32rem;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
&__about {
|
||||
|
||||
@@ -24,7 +24,6 @@ export function HomePage() {
|
||||
});
|
||||
}, []);
|
||||
|
||||
const heroTitle = site?.heroTitle || site?.name || "jmartgraphix";
|
||||
const heroSub = site?.heroSubtitle || "3D · Design · Motion · Craft";
|
||||
|
||||
return (
|
||||
@@ -39,10 +38,7 @@ export function HomePage() {
|
||||
height={96}
|
||||
decoding="async"
|
||||
/>
|
||||
<p className="home-hero__eyebrow">Portfolio</p>
|
||||
<h1>
|
||||
<span className="home-hero__serif">{heroTitle}</span>
|
||||
</h1>
|
||||
<h1 className="sr-only">jmartgraphix</h1>
|
||||
<p className="home-hero__sub">{heroSub}</p>
|
||||
<p className="home-hero__about">
|
||||
{site?.about ||
|
||||
|
||||
@@ -195,7 +195,7 @@ async function main() {
|
||||
youtube: "https://www.youtube.com/@samuraijkm",
|
||||
vimeo: "https://vimeo.com/jmartgraphix",
|
||||
},
|
||||
heroTitle: "jmartgraphix",
|
||||
heroTitle: "",
|
||||
heroSubtitle: "3D · Design · Motion · Craft",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user