1
0
Fork 0
mirror of https://github.com/dilllxd/gitfolio.git synced 2024-08-14 22:28:09 +00:00

Deploy k4ustu3h.cf to github.com/k4ustu3h/gitfolio.git:gh-pages

This commit is contained in:
Kaustubh Ladiya (via Travis CI) 2020-03-15 16:58:59 +00:00
parent 8e2773008b
commit b58584cc76
2 changed files with 85 additions and 81 deletions

View file

@ -13,7 +13,7 @@
"dribbble": "k4ustu3h", "dribbble": "k4ustu3h",
"email": "k4ustu3h@gmail.com", "email": "k4ustu3h@gmail.com",
"facebook": "k4ustu3h", "facebook": "k4ustu3h",
"instagram": "k4ustu3h_", "instagram": "k4ustu3h",
"keybase": "k4ustu3h", "keybase": "k4ustu3h",
"medium": "k4ustu3h", "medium": "k4ustu3h",
"reddit": "kaustubhladiya", "reddit": "kaustubhladiya",

View file

@ -27,7 +27,7 @@
href="https://avatars1.githubusercontent.com/u/49553711?v=4" href="https://avatars1.githubusercontent.com/u/49553711?v=4"
type="image/png" type="image/png"
/> />
<meta name="description" content="null" /> <meta name="description" content="Just another copy-paster" />
<meta <meta
property="og:image" property="og:image"
content="https://avatars1.githubusercontent.com/u/49553711?v=4" content="https://avatars1.githubusercontent.com/u/49553711?v=4"
@ -35,7 +35,7 @@
<meta property="og:type" content="profile" /> <meta property="og:type" content="profile" />
<meta property="og:title" content="k4ustu3h" /> <meta property="og:title" content="k4ustu3h" />
<meta property="og:url" content="https://github.com/k4ustu3h" /> <meta property="og:url" content="https://github.com/k4ustu3h" />
<meta property="og:description" content="null" /> <meta property="og:description" content="Just another copy-paster" />
<meta property="profile:username" content="k4ustu3h" /> <meta property="profile:username" content="k4ustu3h" />
<meta <meta
name="twitter:image:src" name="twitter:image:src"
@ -43,7 +43,7 @@
/> />
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="k4ustu3h" /> <meta name="twitter:title" content="k4ustu3h" />
<meta name="twitter:description" content="null" /> <meta name="twitter:description" content="Just another copy-paster" />
</head> </head>
<body> <body>
@ -55,7 +55,6 @@
<span id="text" style="display:block;"></span> <span id="text" style="display:block;"></span>
<div class="console-underscore" id="console">_</div> <div class="console-underscore" id="console">_</div>
</div> </div>
<div id="userbio" style="display: none;">undefined</div>
<div id="about"> <div id="about">
<span style="display:none;"> <span style="display:none;">
<span class="iconify" data-icon="mdi-face"></span> <span class="iconify" data-icon="mdi-face"></span>
@ -120,7 +119,7 @@
</span> </span>
<span style="display:block;"> <span style="display:block;">
<a <a
href="https://www.instagram.com/k4ustu3h_" href="https://www.instagram.com/k4ustu3h"
target="_blank" target="_blank"
class="socials" class="socials"
> >
@ -285,8 +284,8 @@
<div class="section_title">kotin.ga</div> <div class="section_title">kotin.ga</div>
<div class="about_section"> <div class="about_section">
<span style="display:block;"> <span style="display:block;">
🔗 Minimal URL - Modern URL shortener with support for custom Kotinga - Modern URL shortener with support for custom alias
alias &amp; can be hosted even in GitHub pages &amp; can be hosted even in GitHub pages
</span> </span>
</div> </div>
<div class="bottom_section"> <div class="bottom_section">
@ -341,84 +340,89 @@
</a> </a>
</div> </div>
</div> </div>
<script> <div id="script">
const magicProjectsGrid = new MagicGrid({ <script>
container: "#work_section", const magicProjectsGrid = new MagicGrid({
animate: false, container: "#work_section",
gutter: 30, // default gutter size animate: false,
static: true, gutter: 30, // default gutter size
useMin: false, static: true,
maxColumns: 2, useMin: false,
useTransform: true maxColumns: 2,
}); useTransform: true
});
const magicForksGrid = new MagicGrid({ const magicForksGrid = new MagicGrid({
container: "#forks_section", container: "#forks_section",
animate: false, animate: false,
gutter: 30, // default gutter size gutter: 30, // default gutter size
static: true, static: true,
useMin: false, useMin: false,
maxColumns: 2, maxColumns: 2,
useTransform: true useTransform: true
}); });
$("document").ready(() => { $("document").ready(() => {
magicProjectsGrid.listen(); magicProjectsGrid.listen();
magicForksGrid.listen(); magicForksGrid.listen();
}); });
// function([string1, string2],target id,[color1,color2]) // function([string1, string2],target id,[color1,color2])
consoleText(["K4USTU3H", "Just another code copy-paster."], "text", [ consoleText(["Kaustubh Ladiya", "Just another copy-paster"], "text", [
"white", "white",
"white" "white"
]); ]);
function consoleText(words, id, colors) { function consoleText(words, id, colors) {
if (colors === undefined) colors = ["#fff"]; if (colors === undefined) colors = ["#fff"];
var visible = true; var visible = true;
var con = document.getElementById("console"); var con = document.getElementById("console");
var letterCount = 1; var letterCount = 1;
var x = 1; var x = 1;
var waiting = false; var waiting = false;
var target = document.getElementById(id); var target = document.getElementById(id);
target.setAttribute("style", "color:" + colors[0]); target.setAttribute("style", "color:" + colors[0]);
window.setInterval(function() { window.setInterval(function() {
if (letterCount === 0 && waiting === false) { if (letterCount === 0 && waiting === false) {
waiting = true; waiting = true;
target.innerHTML = words[0].substring(0, letterCount); target.innerHTML = words[0].substring(0, letterCount);
window.setTimeout(function() { window.setTimeout(function() {
var usedColor = colors.shift(); var usedColor = colors.shift();
colors.push(usedColor); colors.push(usedColor);
var usedWord = words.shift(); var usedWord = words.shift();
words.push(usedWord); words.push(usedWord);
x = 1; x = 1;
target.setAttribute("style", "color:" + colors[0]); target.setAttribute("style", "color:" + colors[0]);
letterCount += x;
waiting = false;
}, 1000);
} else if (
letterCount === words[0].length + 1 &&
waiting === false
) {
waiting = true;
window.setTimeout(function() {
x = -1;
letterCount += x;
waiting = false;
}, 1000);
} else if (waiting === false) {
target.innerHTML = words[0].substring(0, letterCount);
letterCount += x; letterCount += x;
waiting = false; }
}, 1000); }, 120);
} else if (letterCount === words[0].length + 1 && waiting === false) { window.setInterval(function() {
waiting = true; if (visible === true) {
window.setTimeout(function() { con.className = "console-underscore hidden";
x = -1; visible = false;
letterCount += x; } else {
waiting = false; con.className = "console-underscore";
}, 1000);
} else if (waiting === false) {
target.innerHTML = words[0].substring(0, letterCount);
letterCount += x;
}
}, 120);
window.setInterval(function() {
if (visible === true) {
con.className = "console-underscore hidden";
visible = false;
} else {
con.className = "console-underscore";
visible = true; visible = true;
} }
}, 400); }, 400);
} }
</script> </script>
</div>
</body> </body>
</html> </html>