Update banner message

This commit is contained in:
Oliver Davies 2024-02-15 13:00:00 +00:00
parent b5c8052e67
commit d4ffafb29f
2 changed files with 11 additions and 8 deletions

View file

@ -4,6 +4,10 @@ slogan: Certified Drupal expert, Developer and Consultant
email: oliver+website@oliverdavies.uk
url: http://localhost:8000
banner_text: |
In less than 12 months, Drupal 7 will be end-of-life and no longer supported.
<a href="/drupal-upgrade">Plan your upgrade to Drupal 19 now</a>.
imports:
- ../../data/assets.yml
- ../../data/meta.yml

View file

@ -1,10 +1,9 @@
<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 prose-p:text-sm prose-p:leading-normal dark:prose-p:text-white dark:prose-a:text-white text-center">
<p>
Is your New Year's resolution to deliver better software, faster?
I have availability for <a href="/team-coaching">team coaching starting in January 2024</a>.
</p>
{% if site.banner_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 prose-p:text-sm prose-p:leading-normal dark:prose-p:text-white dark:prose-a:text-white text-center">
{{ site.banner_text|markdown }}
</div>
</div>
</div>
</div>
{% endif %}