Merge pull request #339 from teaxyz/product-hunt-integration

Added some Product Hunt stuff
This commit is contained in:
Thomas Smith 2023-05-03 09:24:50 +02:00 committed by GitHub
commit 7b917f3f0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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' url = 'https://docs.tea.xyz'
weight = 3 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]
[security.exec] [security.exec]
allow = ['^go$', '^postcss$', '^npx$', '^babel$'] allow = ['^go$', '^postcss$', '^npx$', '^babel$']

View file

@ -6,8 +6,8 @@
</a> </a>
</div> </div>
<div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12"> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
<a href="https://github.com/teaxyz/cli"> <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;">GITHUB <span class="stargazers" style="text-transform:uppercase;"></span></button> <button class="hbtn-light hb-light-fill-right github-click-secondary" style="width:100% !important;">PRODUCT HUNT</button>
</a> </a>
</div> </div>
</div> </div>

View file

@ -146,6 +146,8 @@
} }
</style> </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> <script>
const q = window.location.search.match(/[\^\?&]store=[^&]*/) const q = window.location.search.match(/[\^\?&]store=[^&]*/)
if (q) { if (q) {