Skip to content

Commit f8d44b2

Browse files
committed
feat: add api con banner
1 parent 8473dbe commit f8d44b2

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

pwa/components/layout/Layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function Layout({ children }: { children: React.ReactNode }) {
1818
)}
1919
>
2020
<Providers>
21-
<Nav withPreheader={false} />
21+
<Nav withPreheader={true} />
2222
</Providers>
2323
{children}
2424
</div>

pwa/components/layout/Nav.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ export default function Nav({ withPreheader = false }) {
2020

2121
const version = current;
2222

23-
const withRyanHeader = true;
24-
2523
const forceClose = () => {
2624
setOpen(false);
2725
};

pwa/components/layout/Preheader.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Link from "components/common/Link";
55
export default function Preheader() {
66
return (
77
<Link
8-
href="/con/2024"
8+
href="/con/2025"
99
rel="noreferrer"
1010
className="block relative overflow-hidden bg-blue-black border-b-blue border-b-2 bg-conf-gradient text-white py-2 w-full z-50"
1111
>
@@ -65,7 +65,7 @@ export default function Preheader() {
6565
The conference dedicated to API Platform and its ecosystem
6666
</p>
6767
<div className="text-lg">
68-
<strong className="font-bold">Sep 19, 20 2024</strong> | Lille &
68+
<strong className="font-bold">Sep 18, 19 2025</strong> | Lille &
6969
online
7070
</div>
7171
</div>
@@ -82,8 +82,8 @@ export default function Preheader() {
8282
clipRule="evenodd"
8383
/>
8484
</svg>
85-
<span className="lg:hidden">Register&nbsp;now</span>
86-
<span className="hidden lg:block">Only a few tickets left!</span>
85+
<span>Register&nbsp;now</span>
86+
<span className="hidden">Only a few tickets left!</span>
8787
</Button>
8888
</div>
8989
</Link>

0 commit comments

Comments
 (0)