Skip to content

Commit

Permalink
add effect days banner
Browse files Browse the repository at this point in the history
  • Loading branch information
fubhy committed Oct 2, 2023
1 parent 59fa15b commit 097fae6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@
@tailwind utilities;

/* @import url("./twoslash.css"); */

:root {
--nextra-banner-height: 60px
}

.nextra-banner-container {
height: var(--nextra-banner-height);
background: #5227A6 !important;
}
8 changes: 8 additions & 0 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ const config: DocsThemeConfig = {
}
}
},
banner: {
key: 'effect-days-2024',
text: (
<a href="/events/effect-days" className="text-lg font-bold" target="_blank">
Join the waitlist for <strong>Effect Days 2024</strong><span className="hidden sm:inline"> in Vienna, Austria</span> &#8594;
</a>
)
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down

0 comments on commit 097fae6

Please sign in to comment.