Skip to content

Commit 35a287c

Browse files
authored
Merge pull request #1236 from processing/929-2
Move donate-page banner into a footer landmark region [2.0]
2 parents bd5d8e5 + cacae98 commit 35a287c

File tree

2 files changed

+936
-2
lines changed

2 files changed

+936
-2
lines changed

src/components/Banner/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ const { Content } = await entry.render();
55
const { link, title } = entry.data;
66
---
77

8-
<div class="banner bg-accent-color text-accent-type-color" style={{ display: 'none' }} data-title={title}>
8+
<footer class="banner bg-accent-color text-accent-type-color" style={{ display: 'none' }} data-title={title} aria-label="sticky">
99
<a class="banner-content" href={link} target="_blank">
1010
<Content />
1111
</a>
1212
<button id="hideBanner" aria-label="Hide banner"><Icon kind="close" /></button>
13-
</div>
13+
</footer>
1414

1515
<script>
1616
const banner = document.querySelector('.banner');

0 commit comments

Comments
 (0)