-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (89 loc) · 6.22 KB
/
index.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Github User Search App by @reactanvar ❤️">
<meta name="description" content="Github App - by @reactanvar">
<title>Github Profile Search App</title>
<link rel="icon" href="https://static-00.iconduck.com/assets.00/github-icon-2048x1988-jzvzcf2t.png">
<!-- Google Fonts -->
<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&display=swap" rel="stylesheet">
<!-- Box-Icons Links -->
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<!-- Main Css -->
<link rel="stylesheet" href="main.css">
</head>
<body>
<div class="wrapper">
<!-- Card Header -->
<div class="card_header">
<!-- Main Search Input -->
<div class="relative my-6">
<input id="id-11" type="text" name="id-11" placeholder="your github username" class=" relative w-full h-10 px-4 pl-12 text-sm placeholder-transparent transition-all border rounded outline-none focus-visible:outline-none peer border-slate-200 text-slate-500 autofill:bg-white invalid:border-pink-500 invalid:text-pink-500 focus:border-emerald-500 focus:outline-none disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-400" />
<label for="id-11" class="cursor-text peer-focus:cursor-default peer-autofill:-top-2 absolute left-2 -top-2 z-[1] px-2 text-xs text-slate-400 transition-all before:absolute before:top-0 before:left-0 before:z-[-1] before:block before:h-full before:w-full before:bg-white before:transition-all peer-placeholder-shown:top-2.5 peer-placeholder-shown:left-10 peer-placeholder-shown:text-sm peer-required:after:text-pink-500 peer-required:after:content-['\00a0*'] peer-invalid:text-pink-500 peer-focus:left-2 peer-focus:-top-2 peer-focus:text-xs peer-focus:text-emerald-500 peer-disabled:cursor-not-allowed peer-disabled:text-slate-400 peer-disabled:before:bg-transparent">
</label>
<svg xmlns="http://www.w3.org/2000/svg" class="absolute top-2.5 left-4 h-5 w-5 stroke-slate-400 peer-disabled:cursor-not-allowed" fill="none" aria-hidden="true" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5" aria-labelledby="title-3 description-3" role="graphics-symbol">
<title id="title-3">Check mark icon</title>
<desc id="description-3">icon description here</desc>
<path stroke-linecap="round" stroke-linejoin="round" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
</svg>
</div>
<!-- Search Submit Button -->
<button id="search_btn" class="inline-flex items-center justify-center h-10 gap-2 px-5 text-sm font-medium tracking-wide text-white transition duration-300 rounded shadow-md focus-visible:outline-none whitespace-nowrap bg-emerald-500 shadow-emerald-200 hover:bg-emerald-600 hover:shadow-sm hover:shadow-emerald-200 focus:bg-emerald-700 focus:shadow-sm focus:shadow-emerald-200 disabled:cursor-not-allowed disabled:border-emerald-300 disabled:bg-emerald-300 disabled:shadow-none">
<span>Search</span>
</button>
<!-- Mode Button -->
<!-- <button id="mode_btn" class="inline-flex items-center justify-center h-10 gap-2 px-5 text-sm font-medium tracking-wide text-white transition duration-300 rounded shadow-md focus-visible:outline-none whitespace-nowrap bg-emerald-500 shadow-emerald-200 hover:bg-emerald-600 hover:shadow-sm hover:shadow-emerald-200 focus:bg-emerald-700 focus:shadow-sm focus:shadow-emerald-200 disabled:cursor-not-allowed disabled:border-emerald-300 disabled:bg-emerald-300 disabled:shadow-none">
<span><i class='bx bx-moon'></i></span>
</button> -->
</div>
<!-- Card Body -->
<div class="card_body">
</div>
<!-- <div class="card_body">
<div>
<img class="user_image" src="${resData.avatar_url}" alt="user profile image">
</div>
<div>
<h1 class="name">${resData.name}</h1>
<p class="username">@${resData.login}</p>
<span class="user_bio">${resData.bio}</span>
<div class="statistic_section">
<div class="followers">
Followers: <span>${resData.followers}</span>
</div>
<div class="following">
Followings: <span>${resData.following}</span>
</div>
<div class="repositories">
Repositories: <span>${resData.public_repos}</span>
</div>
</div>
<div class="others">
<div class="location">
<i class='bx bx-map-pin'></i><span>${resData.location}</span>
</div>
<div class="company">
<i class='bx bx-buildings'></i><span>${resData.company}</span>
</div>
<div class="link">
<i class='bx bx-link' ></i><span class="link"><a href="https://${resData.blog}" target="_blank" >${resData.blog}<a/></span>
</div>
</div>
</div>
</div> -->
</div>
</body>
<!-- Tailwind Css Links -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Ion-Icons Links -->
<!-- <script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script> -->
<!-- Main Javascript -->
<script src="main.js"></script>
</html>
<!--
-->