Added some Product Hunt stuff

This commit is contained in:
Thomas Smith 2023-05-03 09:01:25 +02:00
parent c5b9df9a2c
commit 83452cee6a
3 changed files with 11 additions and 2 deletions

View file

@ -12,6 +12,13 @@ title = 'Equitable Open-Source for Web3'
url = 'https://docs.tea.xyz'
weight = 3
[[menu.main]]
identifier = 'product hunt'
name = 'Product Hunt'
title = 'product hunt'
url = 'https://www.producthunt.com/posts/tea?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-tea'
weight = 2
[security]
[security.exec]
allow = ['^go$', '^postcss$', '^npx$', '^babel$']

View file

@ -6,8 +6,8 @@
</a>
</div>
<div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<a href="https://github.com/teaxyz/cli">
<button class="hbtn-light hb-light-fill-right github-click-secondary" style="width:100% !important;">GITHUB <span class="stargazers" style="text-transform:uppercase;"></span></button>
<a href="https://www.producthunt.com/posts/tea?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-tea" class="product_hunt">
<button class="hbtn-light hb-light-fill-right github-click-secondary" style="width:100% !important;">PRODUCT HUNT</button>
</a>
</div>
</div>

View file

@ -146,6 +146,8 @@
}
</style>
<a href="https://www.producthunt.com/posts/tea?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-tea" target="_blank" id="product_hunt"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=392097&theme=light" alt="tea - The&#0032;Homebrew&#0032;replacement&#0032;from&#0032;the&#0032;maker&#0032;of&#0032;Homebrew | Product Hunt" style="width: 250px; height: 54px; position: fixed; right:20px; bottom: 20px; z-index: 100;" width="250" height="54" /></a>
<script>
const q = window.location.search.match(/[\^\?&]store=[^&]*/)
if (q) {