feat: add Drupal Association text
This commit is contained in:
parent
99e5718a19
commit
83af7abe82
1 changed files with 9 additions and 4 deletions
|
@ -43,8 +43,13 @@ const footerLinks = [
|
||||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString().replace(/\/$/, "");
|
const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString().replace(/\/$/, "");
|
||||||
const isFrontPage = Astro.props.isFront;
|
const isFrontPage = Astro.props.isFront;
|
||||||
|
|
||||||
const showDrupalAssociationMessage = ['diagnostic', 'drupal-upgrade', 'dto', 'pricing']
|
const showDrupalAssociationMessage = [
|
||||||
.includes(Astro.url.pathname.slice(1));
|
"diagnostic",
|
||||||
|
"drupal-upgrade",
|
||||||
|
"dto",
|
||||||
|
"pricing",
|
||||||
|
"team-coaching",
|
||||||
|
].includes(Astro.url.pathname.slice(1));
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
@ -82,11 +87,11 @@ const showDrupalAssociationMessage = ['diagnostic', 'drupal-upgrade', 'dto', 'pr
|
||||||
<Navbar />
|
<Navbar />
|
||||||
|
|
||||||
<div class="py-10 px-6 mx-auto max-w-xl md:py-10">
|
<div class="py-10 px-6 mx-auto max-w-xl md:py-10">
|
||||||
{false && showDrupalAssociationMessage && (
|
{showDrupalAssociationMessage && (
|
||||||
<Message>
|
<Message>
|
||||||
<p>
|
<p>
|
||||||
<strong>Work with me and support Drupal.</strong>
|
<strong>Work with me and support Drupal.</strong>
|
||||||
10% of any Drupal-related product or service is donated to the <a href="https://www.drupal.org/association">Drupal Association</a>.
|
5% from any Drupal-related product or service is donated to the <a href="https://www.drupal.org/association">Drupal Association</a>.
|
||||||
</p>
|
</p>
|
||||||
</Message>
|
</Message>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue