-
Notifications
You must be signed in to change notification settings - Fork 15
/
aboutus.html
102 lines (86 loc) · 2.89 KB
/
aboutus.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!--- favicon-->
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml">
<!---custom css link-->
<link rel="stylesheet" href="./assets/css/aboutusstyle.css">
<!--- google font link-->
<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=Poppins:wght@400;500;600;700&display=swap"
rel="stylesheet">
</head>
<body class="">
<div id="main-div">
<div class="mainhead"><p class="head">About Us</p> </div>
<div class="intro">
<div class="child-left">
<p class="welcome-head">Welcome to GameSphere</p>
</div>
<div class="child-right">
<p class="intro-text">
<pre>
This platform is for every user where you are
free to play any game without paying any fee
with your friend.<br>This platform also provides
you a chance to create your own game and
get firm or reward.</pre>
</p>
</div>
</div>
<div class="contributors">
<p class="head">Contributors</p>
<div id="contributors">
</div>
</div>
<div class="contactus">
<p class="contact">
Don't Forget to connect with us
</p>
<p>
<a href="https://www.linkedin.com/company/gamesphere-multiplayer/?viewAsMember=true">
<i class="fa-brands fa-linkedin-in"></i>
</a>
<a href="https://github.com/GameSphere-MultiPlayer">
<i class="fa-brands fa-github"></i>
</a>
</p>
</div>
</div>
</div>
</div>
<script>
//contributors list
async function fetchGitHubContributors(username, repo) {
const apiUrl = `https://api.github.com/repos/${username}/${repo}/contributors`;
try {
const response = await fetch(apiUrl);
const data = await response.json();
displayContributors(data);
}
catch (error) {
console.error('Error!', error);
}
}
function displayContributors(contributors) {
const contributorsList=document.getElementById('contributors');
contributors.forEach(contributor => {
const contributorDiv = document.createElement('div');
contributorDiv.setAttribute("class","profile");
contributorDiv.innerHTML = `
<img src="${contributor.avatar_url}" alt="${contributor.login}" width="70" height="70">
<p>${contributor.login}</p>
`;
contributorsList.appendChild(contributorDiv);
});
}
fetchGitHubContributors('GameSphere-MultiPlayer', 'GameSphere3.0');
</script>
<script src="https://kit.fontawesome.com/5bda9429cc.js" crossorigin="anonymous"></script>
</body>
</html>