-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (55 loc) · 2.83 KB
/
index.html
File metadata and controls
61 lines (55 loc) · 2.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="./favicon.png">
<title>DRflamios GitHub Pages</title>
<link href="./style.css" rel="stylesheet">
<script src="./jquery.min.js"></script>
</head>
<body class="bg-neutral-950">
<main class="m-auto p-4 flex flex-col justify-center items-center">
<div id="loading-state" class="flex justify-center items-center py-12" style="display: none;">
<div class="animate-spin rounded-full h-12 w-12 border-b-2 border-white"></div>
</div>
<div id="error-state" class="bg-red-500 text-white p-4 rounded-lg mb-8" style="display: none;"></div>
<div id="content" style="display: none;" class="sm:flex sm:space-x-8">
<div class="p-1 rounded-lg sm:w-1/3">
<div class="flex items-center gap-6 sm:flex-col">
<img id="user-avatar" class="w-64 h-64 rounded-full border-2 border-gray-500" src="">
<div>
<h2 id="user-name" class="text-2xl font-bold text-white"></h2>
<p id="user-login" class="text-red-700"></p>
<hr class="my-4 border-gray-600">
<p id="user-bio" class="mt-2 text-white"></p>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mt-6">
<template id="user-location" style="display: none;">
<div class="flex items-center gap-2 text-white">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd"
d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z"
clip-rule="evenodd" />
</svg>
<span id="location-text"></span>
</div>
</template>
</div>
</div>
<div class="sm:w-2/3">
<div class="border border-gray-500 p-4 rounded-lg">
<h2 class="text-sm font-bold text-gray-500 underline text-right">./README.md</h2>
<div id="user-readme" class="mt-4 text-white"></div>
</div>
</div>
</div>
<div class="w-full mx-auto mt-4 p-4">
<h2 class="text-2xl font-bold text-white mb-4 text-center">Top Public Repositories</h2>
<div id="top-repos" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"></div>
</div>
</main>
<script type="module" src="./script.js"></script>
</body>
</html>