Skip to content

Commit

Permalink
add banner for review.btctranscripts
Browse files Browse the repository at this point in the history
add banner on top of page for awareness to the
review.btctranscripts project
  • Loading branch information
kouloumos committed Nov 17, 2023
1 parent 3bf8ba5 commit da19e0e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions themes/ace-documentation/assets/css/ace.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,11 @@ a {
img {
width: 100%;
}

.sticky-banner {
position: -webkit-sticky;
position: sticky;
top: 56px; /* based on the height of the navbar */
z-index: 1020;
font-size: $font-size-sm;
}
10 changes: 10 additions & 0 deletions themes/ace-documentation/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

{{- partial "header.html" . -}}

<div class="alert alert-warning fade show sticky-banner" role="alert">
<strong>
<a href="https://review.btctranscripts.com" target="_blank" data-umami-event="click-banner">
Get paid to review technical Bitcoin transcripts
</a>
</strong>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="container-fluid">
<div class="row">

Expand Down

0 comments on commit da19e0e

Please sign in to comment.