feat: initial banner

This commit is contained in:
Oliver Davies 2023-06-06 07:52:48 +01:00
parent 88a1c38a41
commit 8fc27ee69e
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,11 @@
---
interface Props {
text: string;
}
const { text } = Astro.props as Props;
---
<div class="text-center p-3 bg-[#ffc82c] text-black text-base mb-4 dark:text-white dark:bg-[#856200]">
<p class="font-normal" set:html={text} />
</div>