Merge pull request #249 from teaxyz/max-hit-list

Max hit list
This commit is contained in:
Chris Waters 2023-01-04 13:32:39 -05:00 committed by GitHub
commit 6c46f5f168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 43 additions and 25 deletions

View file

@ -30,5 +30,7 @@ exclude = [
"https://app.tea.xyz/api/signups", # can take a little too long, and no reason to hammer here.
"https://unicode.org/",
"https://gnome.org/",
"https://libuv.org/"
"https://libuv.org/",
"file:///home/runner/work/www/www/public/blog",
"https://api.github.com/repos/",
]

View file

@ -9,20 +9,8 @@ title = 'Equitable Open-Source for Web3'
identifier = 'community'
name = 'Community'
title = 'community'
url = './#community'
url = '../#community'
weight = 4
[[menu.main]]
identifier = 'blog'
name = 'Blog'
title = 'blog'
url = 'https://medium.com/teaxyz'
weight = 5
[[menu.main]]
identifier = 'github'
name = 'GitHub'
title = 'github'
url = 'https://github.com/teaxyz'
weight = 6
[security]
[security.exec]

View file

@ -2,6 +2,4 @@
title: "Nebraska Man"
Description: "Join the Fight to Save The Internet!"
layout: "nebraska-man"
menu: main
weight: 2
---

View file

@ -2,6 +2,4 @@
title: "press"
Description: "Tell Everyone About the Tea Party!"
layout: "press"
menu: main
weight: 8
---

View file

@ -2,6 +2,4 @@
title: "White Paper"
Description: "Read & Share Our White Paper"
layout: "white-paper"
menu: main
weight: 7
---

View file

@ -14,7 +14,7 @@
<div class="row">
<div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
<div class="lead-text-container animated-25 animatedFadeInUp fadeInUp black-bg p-4" style="z-index:3; position: relative;">
<p class="lead" style="margin-bottom: 0px;"><a href="https://github.com/teaxyz/cli">Visit GitHub</a> to check out our README, and &#11088; the repository. You can install tea by running the one&#8208;liner in your terminal.</p>
<p class="lead" style="margin-bottom: 0px;"><a href="https://github.com/teaxyz/cli">Visit GitHub</a> to check out our README, and &#9734; the repository. You can install tea by running the one&#8208;liner in your terminal.</p>
</div>
{{- partial "purple-btn-large.html" -}}
<img class="mobile-grid-element mt-5" src="/Images/mobile-grid-element-3-rows.svg" alt="grid">

View file

@ -1,6 +1,12 @@
<ul class="nav justify-content-end">
<li class="nav-item">
<a class="nav-link footer-link small" aria-current="page" href="/careers/">Careers</a>
<a class="nav-link footer-link small" href="https://medium.com/teaxyz">Blog</a>
</li>
<li class="nav-item">
<a class="nav-link footer-link small" href="/press/">Press</a>
</li>
<li class="nav-item">
<a class="nav-link footer-link small" href="/careers/">Careers</a>
</li>
<li class="nav-item">
<a class="nav-link footer-link small" href="/privacy-policy/">Privacy Policy</a>

View file

@ -3,7 +3,7 @@
<section class="footer" id="community">
<div class="container">
<div class="row footer-top">
<div class="row footer-top one-box-down">
<div class="col-lg-8 footer-content">
<h4>Changing the way you build. And what happens after you build it.</h4>
<p>tea.cli is a delightful package manager that gets out of your way and sets you up for a joyful development process. <a class="teal" href="#">You can install it today</a>. Our web3 protocol will create an OSS ecosystem that is safer for all users, and fair for all maintainers. Read our <a class="teal" href="#">white paper</a> here.</p>
@ -15,8 +15,7 @@
<ul class="list-group list-group-flush">
<a class="list-group-item" role="button" href="https://twitter.com/teaxyz"><i class="icon-twitter social-icon"></i>Twitter</a>
<a class="list-group-item" role="button" href="https://discord.gg/KCZsXfJphn"><i class="icon-discord social-icon"></i>Discord</a>
<a class="list-group-item" role="button" href="https://github.com/teaxyz"><i class="icon-github social-icon"></i>GitHub</a>
<a class="list-group-item" role="button" href="https://reddit.com/r/teaxyz"><i class="icon-reddit social-icon"></i>Reddit</a>
<a class="list-group-item" role="button" href="https://github.com/teaxyz"><i class="icon-github social-icon"></i>GitHub <span style="font-size:16px;">(&#9734;<span id="starcount"></span>)</span></a>
<a class="list-group-item" role="button" href="https://t.me/tea_xyz"><i class="icon-telegram social-icon"></i>Telegram</a>
</ul>
</div>
@ -170,3 +169,27 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
}
</script>
<script>
function getStarcount(repo, resultElement) {
var repo = 'teaxyz/cli';
var url = 'https://api.github.com/repos/' + repo;
axios.get(url)
.then(function (response) {
console.log(response.data.stargazers_count);
document.getElementById('starcount').innerHTML=response.data.stargazers_count;
document.getElementById('starcount2').innerHTML=response.data.stargazers_count;
resultElement.innerHTML = response.data.stargazers_count;
})
.catch(function (error) {
console.log(error);
});
}
function repo() {
var repo = 'teaxyz/cli';
getStarcount(repo, starcount);
}
document.addEventListener('DOMContentLoaded', repo());
</script>

View file

@ -111,5 +111,7 @@
{{- partial "toast.html" -}}
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
</head>

View file

@ -12,6 +12,9 @@
<a class="nav-link{{ if $.IsMenuCurrent "main" . }} active" aria-current="page {{ end }}" href="{{ .URL }}">{{ .Name}}</a>
</li>
{{ end }}
<li class="nav-item mt-lg-0 mt-md-0 mt-sm-3 mt-3">
<a class="nav-link" aria-current="page" href="https://github.com/teaxyz">GITHUB (&#9734;<span id="starcount2"></span>)</a>
</li>
</ul>
<!--
<a class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" id="nav-cta" href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz" role="button"><span id="cta-text">Authenticate with tea</span><span class="badge rounded-pill bg-primary ms-3"><span id="count1">287</span></span><span id="lp-text"></span></a>-->