Skip to content

Commit e3a0846

Browse files
committed
Unify paddings between navbar and footer
1 parent 850675b commit e3a0846

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/conf/2025/components/footer/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function Footer({
2323
return (
2424
<footer className="gql-all-anchors-focusable relative !bg-neu-100 text-neu-900 typography-menu dark:!bg-neu-0 max-md:px-0 max-md:pt-0">
2525
<Stripes />
26-
<div className="flex flex-wrap justify-between gap-4 px-6 py-4 max-md:w-full lg:py-10">
26+
<div className="flex flex-wrap justify-between gap-4 p-4 max-md:w-full md:px-6 lg:py-10 2xl:px-10">
2727
{logo}
2828
<div className="flex gap-x-4 gap-y-2 typography-body-lg">
2929
<p className="flex items-center gap-2">
@@ -41,7 +41,7 @@ export function Footer({
4141
</li>
4242
))}
4343
</ul>
44-
<div className="relative flex justify-between gap-10 px-6 py-4 text-sm max-lg:flex-col">
44+
<div className="relative flex justify-between gap-10 p-4 text-sm max-lg:flex-col md:px-6 2xl:px-10">
4545
<div className="flex flex-col font-light max-md:gap-5">
4646
<p>
4747
Copyright © {new Date().getFullYear()} The GraphQL Foundation. All
@@ -139,7 +139,7 @@ function FooterBox({ box }: { box: FooterLink | FooterLink[] }) {
139139
href={href}
140140
title={disabled ? "Coming soon" : undefined}
141141
className={clsx(
142-
"gql-focus-visible relative block h-full p-6",
142+
"gql-focus-visible relative block h-full p-4 pb-8 md:p-6 2xl:px-10",
143143
disabled ? "pointer-events-none" : "underline-offset-4 hover:underline",
144144
)}
145145
tabIndex={disabled ? -1 : undefined}

src/app/conf/2025/components/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function Navbar({ links, year }: NavbarProps): ReactElement {
4848
)}
4949
>
5050
<BackdropBlur />
51-
<div className="flex h-[var(--navbar-h)] items-center justify-between gap-5 px-4 lg:px-10">
51+
<div className="flex h-[var(--navbar-h)] items-center justify-between gap-5 px-4 md:px-6 2xl:px-10">
5252
<GraphQLConfLogoLink year={year} />
5353

5454
<div className="mr-auto flex h-full flex-col justify-center whitespace-pre border-x border-blk/60 px-4 typography-menu dark:border-white/80 max-xl:hidden">

0 commit comments

Comments
 (0)