feat: add Drupal upgrade roadmap banner
This commit is contained in:
parent
2a8d4de84e
commit
c00d17de61
|
@ -6,6 +6,10 @@ interface Props {
|
|||
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 class="p-3 bg-[#ffc82c] text-black text-base mb-4 dark:text-white dark:bg-[#856200]">
|
||||
<div class="min-w-full mx-auto px-6">
|
||||
<div class="mx-auto max-w-xl prose prose-p:text-black prose:a:font-normal dark:prose-p:text-white dark:prose-a:text-white text-center">
|
||||
<p set:html={text} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -71,6 +71,10 @@ const isFrontPage = Astro.props.isFront;
|
|||
<Banner text={"<a href='/drupal-testing'>Register now for my Drupal automated testing workshop →</a>"} />
|
||||
)}
|
||||
|
||||
{true && (
|
||||
<Banner text={"Drupal 9 will be unsupported in November 2023. If you're stuck on Drupal 8 or 9, get unstuck with a <a href='/drupal-upgrade'>Drupal upgrade roadmap</a>."} />
|
||||
)}
|
||||
|
||||
<Navbar />
|
||||
|
||||
<div class="py-10 px-6 mx-auto max-w-xl md:py-10">
|
||||
|
|
Loading…
Reference in a new issue