Replace header logo image with jmartgraphix text
This commit is contained in:
@@ -19,24 +19,13 @@
|
|||||||
&__logo {
|
&__logo {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.65rem;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
font-size: 1.05rem;
|
font-size: 1.05rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__logo-img {
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
object-fit: contain;
|
|
||||||
flex-shrink: 0;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__logo-text {
|
&__logo-text {
|
||||||
@media (max-width: 420px) {
|
color: var(--text);
|
||||||
// logo mark is enough on very small screens
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__mark {
|
&__mark {
|
||||||
@@ -156,8 +145,7 @@
|
|||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
border-radius: 8px;
|
background: transparent;
|
||||||
background: #000;
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,14 +36,7 @@ export function Layout() {
|
|||||||
<header className="site-header">
|
<header className="site-header">
|
||||||
<div className="container site-header__inner">
|
<div className="container site-header__inner">
|
||||||
<Link to="/" className="site-header__logo" aria-label={`${name} home`}>
|
<Link to="/" className="site-header__logo" aria-label={`${name} home`}>
|
||||||
<img
|
<span className="site-header__logo-text">jmartgraphix</span>
|
||||||
src="/logo.png"
|
|
||||||
alt={name}
|
|
||||||
className="site-header__logo-img"
|
|
||||||
width={36}
|
|
||||||
height={36}
|
|
||||||
decoding="async"
|
|
||||||
/>
|
|
||||||
</Link>
|
</Link>
|
||||||
<button
|
<button
|
||||||
className="site-header__burger"
|
className="site-header__burger"
|
||||||
|
|||||||
Reference in New Issue
Block a user