├── assets ├── favicon.ico ├── img │ ├── github.svg │ └── twitter.svg └── css │ └── style.css ├── LICENSE ├── main.js ├── index.html └── README.md /assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tuhinpal/Git-Site/HEAD/assets/favicon.ico -------------------------------------------------------------------------------- /assets/img/github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Tuhin Kanti Pal 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /assets/img/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | //Replace With Your Own Github Username 2 | const Github_Username = "cachecleanerjeet"; 3 | 4 | //Replace With Your Own Email ID 5 | const Email_Id = "me@thetuhin.com"; 6 | 7 | var xhr = new XMLHttpRequest(); 8 | xhr.addEventListener("readystatechange", function() { 9 | if (this.readyState === 4) { 10 | var data = JSON.parse(this.responseText); 11 | document.title = data.name; 12 | document.getElementById("avatar").src = data.avatar_url; 13 | document.getElementById("name").innerHTML = data.name; 14 | document.getElementById("bio").innerHTML = data.bio; 15 | document.getElementById("github").href = data.html_url; 16 | if (data.twitter_username == "null") { 17 | document.getElementById("twitter").style.display = "none"; 18 | } else { 19 | document.getElementById("space").innerHTML = " "; 20 | document.getElementById("twitter").href = "https://twitter.com/" + data.twitter_username; 21 | } 22 | } 23 | }); 24 | 25 | xhr.open("GET", "https://api.github.com/users/" + Github_Username); 26 | xhr.send(); 27 | 28 | document.getElementById("email").innerHTML = Email_Id; 29 | 30 | function mailF() { 31 | window.open("mailto:" + Email_Id); 32 | } 33 | 34 | /*! 35 | * Made by Tuhin Kanti Pal 36 | * Visit https://tu.hin.life 37 | */ -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
8 | My Website & Social
45 |
47 |
48 |
49 |
50 |
51 | ..
52 |
53 |
54 |
55 | ..
56 |
57 |
58 |
59 | ..
60 |
61 |
62 |
63 | ..
64 |
65 |
66 |
67 |
68 |