Skip to content

Commit

Permalink
new page: Cookie banner (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Feb 21, 2023
1 parent 3ce568b commit b51805e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/_data/menu.yml
Expand Up @@ -174,6 +174,9 @@ extra:
icon: star
columns: 2
children:
cookie-banner:
title: Cookie banner
url: cookie-banner.html
activity:
title: Activity
url: activity.html
Expand Down
27 changes: 27 additions & 0 deletions src/pages/cookie-banner.html
@@ -0,0 +1,27 @@
---
page-header: Cookie banner
title: Cookie banner
menu: extra.cookie-banner
---

<div class="offcanvas offcanvas-bottom h-auto show" tabindex="-1" id="offcanvasBottom" aria-modal="true" role="dialog">
<div class="offcanvas-body">
<div class="container">
<div class="row align-items-center">
<div class="col">
<strong>Do you like cookies?</strong> 🍪 We use cookies to ensure you get the best experience on our website. <a href="{{ site.base }}/terms-of-service.html" target="_blank">Learn more</a>
</div>
<div class="col-auto">
<button type="button" class="btn" data-bs-dismiss="offcanvas">
Essential Cookies Only
</button>
</div>
<div class="col-auto">
<button type="button" class="btn" data-bs-dismiss="offcanvas">
Allow All Cookies
</button>
</div>
</div>
</div>
</div>
</div>

0 comments on commit b51805e

Please sign in to comment.