-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
115 lines (98 loc) · 2.96 KB
/
index.html
File metadata and controls
115 lines (98 loc) · 2.96 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/970a0290cd.js" crossorigin="anonymous"></script>
<title>Unleash The Venom</title>
<style>
.QroRepoCard {
padding: 10px 15px 10px 15px;
border: #627A63 solid 1px;
border-width: 0px 0px 1px 0px;
}
h1 {
color: darkolivegreen;
text-decoration: none;
}
a {
text-decoration: none;
}
footer i {
color: black;
}
* {
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
padding: 0;
}
header, footer {
background: #BACAAF;
border: #627A63 solid 1px;
border-width: 0px 0px 1px 0px;
padding: 15px;
height: 74px;
box-sizing: border-box;
}
section {
height: calc(100vh - 74px - 74px);
overflow: auto;
background: #E7E9D4;
}
</style>
</head>
<body>
<header>
<h1>
<i class="fa fa-book-bookmark"></i>
Qrodex Repositories
</h1>
</header>
<section id="body">
</section>
<footer>
© Qrodex 2018 - 2023, Unleash The Venom!
|
<a href="https://github.com/Qrodex">
<i class="fa fa-github"></i>
</a>
<a href="http://qrodex.2kool4u.net/">
<i class="fa fa-globe"></i>
</a>
|
<a href="https://qrodex.github.io/QroChess/">
<i class="fa fa-chess"></i>
</a>
<a href="https://github.com/Qrodex/QroCrown">
<i class="fa fa-gamepad"></i>
</a>
<a href="https://qrodex.github.io/QroCloud/">
<i class="fa fa-cloud"></i>
</a>
</footer>
</body>
<script>
async function fetchQroRepos() {
const response = await fetch("https://api.github.com/users/qrodex/repos");
const jsonData = await response.json();
listQroRepos(jsonData);
}
function listQroRepos(jsonData) {
jsonData.forEach(element => {
let body = document.getElementById('body')
let div = document.createElement('div')
div.className = 'QroRepoCard'
div.innerHTML = `
<a href="${element.html_url}"><h1>${element.name}</h1></a><br>
${element.description}
`
body.appendChild(div)
});
}
fetchQroRepos()
</script>
</html>