-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bfd7c4
commit 3a6932e
Showing
4 changed files
with
0 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
<!doctype html><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Arturo Packages</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/combine/npm/[email protected]/css/bulma.min.css,npm/[email protected]/themes/prism-okaidia.min.css"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Questrial&display=swap" rel="stylesheet"><script src="https://kit.fontawesome.com/8bfb2fe6f4.js" crossorigin="anonymous"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/protip.min.css"><link rel="stylesheet" type="text/css" href="file:///Users/drkameleon/Documents/Code/OpenSource/arturo-lang/pkgr.art/public/style.css"><section class="hero main-hero is-fullheight"><div class="hero-body"><div class="container has-text-centered"><div class="column is-4 is-offset-4 main-header"><figure class="logo"><img src="file:///Users/drkameleon/Documents/Code/OpenSource/arturo-lang/pkgr.art/public/images/logo.png"></figure><h1 class="title has-text-black main-title"><a href="file:///Users/drkameleon/Documents/Code/OpenSource/arturo-lang/pkgr.art/public/index.html"><b>Arturo</b> <span class="animate-character">Packages</span></a></h1><div class="control has-icons-left"><input id="search-bar" class="input is-large main-search" type="search" placeholder="I'm looking for..."> <span class="icon is-medium is-left"><i class="fa fa-search"></i></span></div><div></div></div></div></div></section><section class="main-section"><div class="container"><div class="columns"><div class="column is-12 has-text-centered"><h2 class="title" style="margin-top:2rem;font-size:1.5rem;font-weight:500">Latest additions</h2></div></div><div class="columns" style="margin-top:-2rem"><div class="column is-8-tablet is-offset-2-tablet is-10-mobile is-offset-1-mobile"><div class="columns is-tablet"><div class="column is-6"><div class="box package-box"><div class="package-header"><div class="columns is-mobile"><div class="column is-6"><div class="title-wrapper"><h3 class="is-size-5"><a href="file:///Users/drkameleon/Documents/Code/OpenSource/arturo-lang/pkgr.art/public/dummy/index.html" class="repo-name"><b>dummy</b> </a> </h3><a href="https://github.com/arturo-lang/dummy-package"><span class="icon repo-icon"><i class="fa fa-github"></i></span></a></div></div><div class="column is-6"><div class="is-size-6 is-pulled-right stats-wrapper"><div class="download-info"><span class="icon download-icon"><i class="fas fa-download"></i> </span> <span class="download-count">256</span></div> <div class="star-info"><span class="icon star-icon"><i class="fa fa-star"></i> </span> <span class="star-count" data-package="arturo-lang/dummy-package"></span></div></div></div></div></div><div class="package-body"><p>This package will serve merely as test for Arturo's package manager</div><div class="package-footer"><hr><div class="columns is-mobile"><div class="column is-6 repo-user"><div class="is-pulled-left"><span class="icon repo-user-icon"><i class="fa fa-user-o"></i> </span> <a href="https://github.com/arturo-lang" class="repo-user-name">arturo-lang</a></div></div><div class="column is-6 repo-license"><div class="is-pulled-right"><span class="icon repo-license-icon"><i class="fa fa-balance-scale"></i> </span> <a href="http://choosealicense.com/licenses/mit/" class="repo-license-name">MIT</a></div></div></div></div></div></div><div class="column is-6"></div></div></div></div></div><div class="container has-text-centered"><div class="columns"><div class="column is-12" style="padding:4rem;font-size:1.2rem"><p class="has-text-grey"><a class="simple-link" href="https://github.com/arturo-lang/pkgr.art" target="_blank">How do I use a package?</a> · <a class="simple-link" href="https://github.com/arturo-lang/pkgr.art" target="_blank">How do I create a new package?</a> · </div></div></div></section><footer class="footer"><div class="content has-text-centered"><p class="block"><a class="footer-icon home" aria-label="home" rel="noopener" href="https://arturo-lang.io" target="_blank"><i class="fas fa-home"></i></a> <a class="footer-icon github" aria-label="github" rel="noopener" href="https://github.com/arturo-lang" target="_blank"><i class="fab fa-github"></i></a> <a class="footer-icon twitter" aria-label="twitter" rel="noopener" href="https://twitter.com/ArturoLanguage" target="_blank"><i class="fab fa-twitter"></i></a> <a class="footer-icon discord" aria-label="discord" rel="noopener" href="https://discord.gg/YdVK2CB" target="_blank"><i class="fab fa-discord"></i></a></div><div class="content has-text-centered"><p class="block"><strong>Arturo Programming Language</strong><br>Copyright © 2019-2023 Yanis Zafirópulos<br><br><small class="is-size-7-touch">Website built and generated using Arturo + Webize.<span class="is-hidden-touch"> Running on <a rel="noopener" href="https://m.do.co/c/d9efb97aa0f2" target="_blank">DigitalOcean</a>.</span></small><br><small class="is-size-7-touch">Source code <span class="is-hidden-touch">licensed </span>under <a href="https://opensource.org/licenses/mit-license.php">MIT</a>. Website <span class="is-hidden-touch">content licensed </span><span class="is-hidden-desktop">under </span><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY NC SA 4.0</a>.</small></div></footer><script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.autocomplete.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/protip.min.js"></script><script src="file:///Users/drkameleon/Documents/Code/OpenSource/arturo-lang/pkgr.art/public/script.js"></script><script>$(document).ready(function(){ | ||
$(".star-count").each(function (idx){ | ||
console.log($(this)); | ||
console.log($(this).data("package")); | ||
var repo = `https://api.github.com/search/repositories?q=${$(this).data("package")}`; | ||
console.log(repo); | ||
var currentElement = $(this); | ||
jQuery.getJSON(repo, function (got){ | ||
console.log(got); | ||
console.log(got.items[0].stargazers_count); | ||
currentElement.html(got.items[0].stargazers_count); | ||
//$(this).html(got.items[0].stargazers_count); | ||
}); | ||
//https://api.github.com/search/repositories?q=arturo-lang/arturo | ||
}); | ||
var searchables = [ | ||
{ | ||
|