Skip to content

Commit 827c254

Browse files
committed
header: scale up hero logo and fluid-size the SVG
Increase header logo container to w-40 sm:w-60 md:w-80 lg:w-96 so the mark scales past the previous 288px ceiling on desktop. Make logo.svg fluid (width="100%", preserveAspectRatio) so it fills the container instead of rendering at its intrinsic 320px. Swap items-end for items-center on the header row and step the tagline from text-lg to text-sm sm:text-base md:text-lg so the mark reads as dominant on mobile.
1 parent 36bffa1 commit 827c254

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

components/Header.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import ThemeSwitch from './ThemeSwitch'
77
import SearchButton from './SearchButton'
88

99
const Header = () => {
10-
let headerClass = 'flex items-end w-full bg-page justify-between py-10'
10+
let headerClass = 'flex items-center w-full bg-page justify-between py-10'
1111
if (siteMetadata.stickyNav) {
1212
headerClass += ' sticky top-0 z-50'
1313
}
@@ -16,9 +16,9 @@ const Header = () => {
1616
<header className={headerClass}>
1717
<Link href="/" aria-label={siteMetadata.headerTitle}>
1818
<div className="flex items-center justify-between">
19-
<div className="mr-3 w-36 sm:w-56 md:w-72">
19+
<div className="mr-3 w-40 sm:w-60 md:w-80 lg:w-96">
2020
<Logo />
21-
<span className="text-muted mt-1 block text-left text-lg font-medium">
21+
<span className="text-muted mt-1 block text-left text-sm font-medium sm:text-base md:text-lg">
2222
Intelligent Backends
2323
</span>
2424
</div>

data/logo.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)