Skip to content

Commit

Permalink
Add banner for current EP (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Mar 17, 2024
1 parent 28ced3b commit 0c11f7b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions app/layout.tsx
Expand Up @@ -11,7 +11,8 @@ export const metadata: Metadata = {
},
twitter: {
title: {
default: "EuroPython 2023 | July 17th-23rd 2023 | Prague, Czech Republic & Remote",
default:
"EuroPython 2023 | July 17th-23rd 2023 | Prague, Czech Republic & Remote",
template: "%s | July 17th-23rd 2023 | Prague, Czech Republic & Remote",
},
},
Expand All @@ -36,7 +37,16 @@ export default function RootLayout({
></link>
<PlausibleProvider domain="ep2023.europython.eu" />
</head>
<body>{children}</body>
<body>
<a
href="https://europython.eu/"
className="text-center block p-2 bg-secondary text-white font-bold"
>
This is the website for an older EuroPython. Looking for the latest
EuroPython? Click here!
</a>
{children}
</body>
</html>
);
}

0 comments on commit 0c11f7b

Please sign in to comment.