Skip to content

Commit

Permalink
Implement new feature XYZ
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxRohowsky committed Mar 13, 2024
1 parent b1d740b commit 7fd86f8
Show file tree
Hide file tree
Showing 40 changed files with 467 additions and 0 deletions.
105 changes: 105 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<!--<script defer data-url="https://devhunt.org/tool/gitpro" src="https://cdn.jsdelivr.net/gh/sidiDev/devhunt-banner/indexV0.js" ></script> -->
</head>

<body>
<nav>
<div class="nav-left">
<i class="fab fa-github" style="font-size: 1.5em; color: #171515;">
<span style="font-family: 'Roboto', sans-serif;"> GitPro </span>
</i>
</i>
</div>
<div class="nav-center">
<a id="forks-link" href="https://github.com/maxontech/best-github-profile-readme/fork" target="_blank" style="text-decoration: none;">
<i class=" fas fa-code-branch" style="font-size: 1.5em; color: #000;"></i>
<span id="forks">...</span>
</a>
<a id="stars-link" href="https://github.com/maxontech/best-github-profile-readme/stargazers" target="_blank" style="text-decoration: none;">
<i class="fas fa-star" style="font-size: 1.5em; color: #f1c40f;"></i>
<span id="stars">...</span>
</a>
</div>
<div class="nav-right">
<a href="https://discord.com/invite/JERatQsfY8" target="_blank" style="text-decoration: none; color: inherit;">
<i class="socials fab fa-discord" style="font-size: 1.5em; color: #7289da; margin: 0 10px;"></i>
</a>
<a href="https://www.youtube.com/@maxontech" target="_blank" style="text-decoration: none; color: inherit;">
<i class="socials fab fa-youtube" style="font-size: 1.5em; color: #FF0000; margin: 0 10px;"></i>
</a>
<a href="https://twitter.com/@max_on_tech" target="_blank" style="text-decoration: none; color: inherit;">
<i class="socials fab fa-twitter" style="font-size: 1.5em; color: #1DA1F2; margin: 0 10px;"></i>
</a>
</div>
</nav>
<section id="hero">
<div id="hero-container">
<p class="small-text">The (soon to be) #1 Open Source Repo for GitHub Profile Inspiration</p>
<h1>Unique GitHub Profile Designs</h1>
<h2>Curated list of GitHub's best Profiles <br /> and Readme.md Files</h2>
</div>
<img id="background-image" src="screenshots/maxontech.jpeg" alt="Background Image">

</section>

<section id="instructions">
<div id="instruction-steps">
<div class="step">
<i class="step-icon fas fa-code-branch"></i>
<span><strong>Step 1:</strong> Star and Fork this <a href="https://github.com/maxontech/best-github-profile-readme">Repository</a></span>
</div>
<div class="step">
<i class="step-icon fas fa-edit"></i>
<span><strong>Step 2:</strong> Make Branch with New Profile <br/> <a href="https://github.com/maxontech/best-github-profile-readme#contribute">➜ View Instructions</a></span>
</div>
<div class="step">
<i class="step-icon fas fa-upload"></i>
<span><strong>Step 3:</strong> Push Changes & Create <br/> a Pull Request</span>
</div>

<div id="mobile-instructions">
<a id="mobile-forks-link" href="https://github.com/maxontech/best-github-profile-readme/fork" target="_blank" style="text-decoration: none;">
<i class=" fas fa-code-branch" style="font-size: 1.5em; color: #000;"></i>
<span>Create a Pull Request <br/> to Submit a Profile</span>
</a>
</div>
</div>


</section>

<section id="social-proof">
<span>As seen on:</span>
<div class="proof-icon">
<i class="fab fa-hacker-news" style="color: #ff6600;"></i>
</div>
<div class="proof-icon">
<i class="fab fa-product-hunt" style="color: #da552f;"></i>
</div>
<div class="proof-icon">
<i class="fab fa-reddit" style="color: #ff4500;"></i>
</div>
<div class="proof-icon">
<i class="fab fa-youtube" style="color: #FF0000;"></i>
</div>
<div class="proof-icon">
<i class="fab fa-twitter" style="color: #1DA1F2;"></i>
</div>
</section>


<div id="screenshotContainer"></div>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="script.js"></script>
</body>

</html>
Binary file added docs/screenshots/BrunnerLivio.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/Code-Bullet.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/DoubleGremlin181.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/HwangTaehyun.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/Ileriayo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/M0nica.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/MacroPower.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/RaghavK16.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/Raymo111.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/ari-hacks.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/bdougie.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/codewithgauri.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/cszach.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/d-koppenhagen.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/emilwidlund.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/ethomson.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/garimasingh128.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/guilyx.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/jonathangin52.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/karim-eg.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/laxmena.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/leereilly.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/maxontech.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/mokkapps.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/muhammedh-shadir.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/natemoo-re.jpeg
Binary file added docs/screenshots/ouuan.jpeg
Binary file added docs/screenshots/rahul-jha98.jpeg
Binary file added docs/screenshots/ritik307.jpeg
Binary file added docs/screenshots/rossjrw.jpeg
Binary file added docs/screenshots/sagar-viradiya.jpeg
Binary file added docs/screenshots/techytushar.jpeg
Binary file added docs/screenshots/terkelg.jpeg
Binary file added docs/screenshots/thaiane.jpeg
Binary file added docs/screenshots/theabbie.jpeg
Binary file added docs/screenshots/timburgan.jpeg
Binary file added docs/screenshots/xiaoluoboding.jpeg
47 changes: 47 additions & 0 deletions docs/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
$.getJSON('./data.json', function(data) {
var screenshotContainer = $('#screenshotContainer');
$.each(data, function(index, item) {
var card = $('<div>').addClass('card');
var img = $('<img>').attr('src', item.screenshotPath);
card.append(img); // Append the image to the card first

var info = $('<div>').addClass('card-info');

var profilePicture = $('<div>').addClass('profile-picture').css('background-image', 'url(' + item.screenshotPath + ')');
info.append(profilePicture);

var name = $('<p>').attr('id', 'name').text(item.firstName + ' ' + item.lastName);
info.append(name);

var githubRepo = $('<a>')
.attr('id', 'githubRepo')
.attr('href', item.githubProfile)
.attr('title', 'GitHub Profile')
.html('<i class="fab fa-github"></i>');
info.append(githubRepo);

var readme = $('<a>')
.attr('id', 'readme')
.attr('href', item.githubReadme)
.html('<i class="fas fa-book"></i>')
.attr('title', 'Readme.md');
info.append(readme);

//var date = new Date(item.timestamp);
//var timestamp = $('<p>').attr('id', 'timestamp').text(date.toLocaleDateString());
//info.append(timestamp);

card.append(info);

screenshotContainer.append(card);
});
}).fail(function(jqxhr, textStatus, error) {
console.error('Error:', error);
});

fetch('https://api.github.com/repos/maxontech/best-github-profile-readme')
.then(response => response.json())
.then(data => {
document.getElementById('forks').textContent = data.forks_count;
document.getElementById('stars').textContent = data.stargazers_count;
});
Loading

0 comments on commit 7fd86f8

Please sign in to comment.