Improve brave ad

This commit is contained in:
2021-05-11 16:14:09 +02:00
parent db4195ac57
commit c10749fcb1
3 changed files with 16 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
# About Brave and Pixeldrain # Brave and Pixeldrain
## <img src="/res/img/brave_lion.svg" style="height: 0.8em;"/> What is Brave? ## <img src="/res/img/brave_lion.svg" style="height: 0.8em;"/> What is Brave?
@@ -19,6 +19,14 @@ around the web. The earnings from these ads are distributed between the websites
which you love most, a small cut goes to Brave itself for developing the which you love most, a small cut goes to Brave itself for developing the
browser, and some of it goes to you. That's right, you get paid for viewing ads! browser, and some of it goes to you. That's right, you get paid for viewing ads!
<div style="text-align: center; margin-bottom: 3em;">
<a class="button button_highlight" style="font-size: 1.5em;"
href="https://pixeldrain.com/click/MdUXxSov?target=https%3A%2F%2Fbrave.com%2Fpix009">
<img src="/res/img/brave_lion.svg" style="height: 1.5em; vertical-align: middle;"/>
Get started with Brave
</a>
</div>
## <img src="/res/img/bat_full_color.svg" style="height: 0.8em;"/> Basic attention tokens ## <img src="/res/img/bat_full_color.svg" style="height: 0.8em;"/> Basic attention tokens
<img src="/res/img/bat_wallet.png" style="float: right; max-width: 40%; margin: 0 0.5em;"/> <img src="/res/img/bat_wallet.png" style="float: right; max-width: 40%; margin: 0 0.5em;"/>
@@ -34,9 +42,10 @@ Of course I would really appreciate it if you tipped some coins to pixeldrain
once in a while ;-) once in a while ;-)
<div style="text-align: center;"> <div style="text-align: center;">
<a class="button button_highlight" style="font-size: 1.5em;" href="https://brave.com/pix009"> <a class="button" style="font-size: 1.2em;"
<img src="/res/img/brave_lion.svg" style="height: 1.5em; vertical-align: middle;"/> href="https://pixeldrain.com/click/MdUXxSov?target=https%3A%2F%2Fbrave.com%2Fpix009">
Get started with Brave <img src="/res/img/brave_lion.svg" style="height: 1.2em; vertical-align: middle;"/>
Download Brave here
</a> </a>
</div> </div>

View File

@@ -19,7 +19,7 @@
<a href="/appearance">Theme</a> <a href="/appearance">Theme</a>
<a href="/api">API</a> <a href="/api">API</a>
<a href="/acknowledgements">Acknowledgements</a> <a href="/acknowledgements">Acknowledgements</a>
<a href="/server_status">Server Status</a> <a href="https://stats.uptimerobot.com/p9v2ktzyjm" target="_blank">Server Status</a>
</div> </div>
<script> <script>
function toggleMenu() { function toggleMenu() {

View File

@@ -57,9 +57,9 @@ func adType() int {
return pdpro3 return pdpro3
case 5: // 5% case 5: // 5%
return pdpro4 return pdpro4
case 6, 7, 8, 9, 10, 11, 12, 13, 14, 15: // 50% case 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17: // 60%
return brave return brave
case 16, 17, 18, 19: // 20% case 18, 19: // 10%
return aAds return aAds
default: default:
panic(fmt.Errorf("random number generator returned unrecognised number: %d", i)) panic(fmt.Errorf("random number generator returned unrecognised number: %d", i))