Skip to content

Commit

Permalink
Make the banner fixed (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Mar 17, 2024
1 parent 0c11f7b commit 4b4dc44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ export default function RootLayout({
<body>
<a
href="https://europython.eu/"
className="text-center block p-2 bg-secondary text-white font-bold"
className="text-center px-2 bg-secondary text-white font-bold fixed top-0 w-full h-[40px] z-50 flex items-center justify-center"
>
This is the website for an older EuroPython. Looking for the latest
EuroPython? Click here!
</a>
{children}

<div className="">{children}</div>
</body>
</html>
);
Expand Down

0 comments on commit 4b4dc44

Please sign in to comment.