Skip to content

Commit 0c11f7b

Browse files
authored
Add banner for current EP (#509)
1 parent 28ced3b commit 0c11f7b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

app/layout.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export const metadata: Metadata = {
1111
},
1212
twitter: {
1313
title: {
14-
default: "EuroPython 2023 | July 17th-23rd 2023 | Prague, Czech Republic & Remote",
14+
default:
15+
"EuroPython 2023 | July 17th-23rd 2023 | Prague, Czech Republic & Remote",
1516
template: "%s | July 17th-23rd 2023 | Prague, Czech Republic & Remote",
1617
},
1718
},
@@ -36,7 +37,16 @@ export default function RootLayout({
3637
></link>
3738
<PlausibleProvider domain="ep2023.europython.eu" />
3839
</head>
39-
<body>{children}</body>
40+
<body>
41+
<a
42+
href="https://europython.eu/"
43+
className="text-center block p-2 bg-secondary text-white font-bold"
44+
>
45+
This is the website for an older EuroPython. Looking for the latest
46+
EuroPython? Click here!
47+
</a>
48+
{children}
49+
</body>
4050
</html>
4151
);
4252
}

0 commit comments

Comments
 (0)