URL rewriting and Sass fixes

This commit is contained in:
Michał 2022-11-16 18:19:03 +00:00
parent 746db60228
commit e6e2714a95
7 changed files with 67 additions and 40 deletions

46
app.js
View file

@ -1,6 +1,6 @@
function openTab(evt, tabName) {
var i, tabContent, navItem;
tabContent = document.getElementsByClassName("tabContent");
for (i = 0; i < tabContent.length; i++) {
tabContent[i].style.opacity = "0";
@ -18,12 +18,15 @@ function openTab(evt, tabName) {
}, 100);
evt.currentTarget.className += " nav-item_selected";
window.history.replaceState(null, null, `?t=${tabName}`);
document.getElementById("nav-item_underline").style.left = evt.currentTarget.offsetLeft + "px";
document.getElementById("nav-item_underline").style.width = evt.currentTarget.offsetWidth + "px";
}
// Scroll listener to change hero look
function scrollFunction(id, section) {
const scrollActivate = 220;
const selector = document.querySelector(id);
@ -42,22 +45,17 @@ function scrollFunction(id, section) {
});
}
document.querySelector("#refsheet").onclick = function() {
$('.nav-item')[3].click();
}
document.querySelector("#twitter_btn").onclick = function() {
window.open("https://twitter.com/fluffybeanUwU", "_blank");
}
document.querySelector("#telegram_btn").onclick = function() {
window.open("http://t.me/Fluffy_Bean", "_blank");
}
document.querySelector("#github_btn").onclick = function() {
window.open("https://github.com/Fluffy-Bean", "_blank");
}
// Special link
document.querySelector("#refsheet").onclick = function() { $('.nav-item')[3].click(); }
// Link to social medias
document.querySelector("#twitter_btn").onclick = function() { window.open("https://twitter.com/fluffybeanUwU", "_blank"); }
document.querySelector('#mastodon_btn').onclick = function() { window.open("https://meow.social/@Fluffy_Bean", "_blank"); }
document.querySelector("#telegram_btn").onclick = function() { window.open("http://t.me/Fluffy_Bean", "_blank"); }
document.querySelector("#github_btn").onclick = function() { window.open("https://github.com/Fluffy-Bean", "_blank"); }
document.querySelector("#discord_btn").onclick = function() {
navigator.clipboard.writeText("Fluffy Bean#5212");
//console.log("Fluffy Bean#5212");
this.innerHTML = "<p>Copied!</p>";
this.style.backgroundColor = "#8c977d";
@ -70,6 +68,23 @@ document.querySelector("#discord_btn").onclick = function() {
}, 2000);
}
window.onpopstate = function(e){
const urlParams = new URLSearchParams(window.location.search);
const tab = urlParams.get('t').toLowerCase();
if (tab === "home") {
$('.nav-item')[0].click();
} else if (tab === "hobbies") {
$('.nav-item')[1].click();
} else if (tab === "experiance") {
$('.nav-item')[2].click();
} else if (tab === "gallery") {
$('.nav-item')[3].click();
} else {
$('.nav-item')[0].click();
}
};
$(document).ready(function() {
// Assign scroll to all sections
scrollFunction("#Home", 0);
@ -77,9 +92,8 @@ $(document).ready(function() {
scrollFunction("#Experiance", 2);
scrollFunction("#Gallery", 3);
// get GET parameters
const urlParams = new URLSearchParams(window.location.search);
const tab = urlParams.get('t');
const tab = urlParams.get('t').toLowerCase();
// Switch to tab on load
if (tab === "home") {

View file

@ -14,7 +14,7 @@ footer {
box-sizing: border-box;
background-color: $black200;
background-color: $black-darker;
border-radius: 0 0 0.5rem 0.5rem;

View file

@ -35,14 +35,17 @@
h1 {
margin: 0;
padding: 0;
padding: 0 0 0 0.5rem;
font-family: $font-header;
font-size: 2.5rem;
font-weight: 800;
font-stretch: ultra-expanded;
line-height: 1;
color: $white;
border-left: 1.5rem solid $green;
transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
@ -100,7 +103,11 @@
pointer-events: all;
h1 {
padding: 0;
font-size: 1.5rem;
border-left: 0rem $black-darker solid;
}
p {

View file

@ -84,7 +84,7 @@ nav {
}
.nav-item_selected {
background-color: #121212;
background-color: #101010;
}
#nav-item_underline {
@ -130,12 +130,14 @@ nav {
}
.hero h1 {
margin: 0;
padding: 0;
padding: 0 0 0 0.5rem;
font-family: "Mona-Sans", sans-serif;
font-size: 2.5rem;
font-weight: 800;
font-stretch: ultra-expanded;
line-height: 1;
color: #e8e5e5;
border-left: 1.5rem solid #8c977d;
transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
z-index: 2;
}
@ -176,7 +178,9 @@ nav {
pointer-events: all;
}
.hero_scrolled h1 {
padding: 0;
font-size: 1.5rem;
border-left: 0rem #121212 solid;
}
.hero_scrolled p {
display: none;
@ -224,7 +228,7 @@ body {
margin: 0;
padding: 0.5rem;
height: 100%;
background-image: url("../leaves.jpg");
background-image: url("../bg.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
@ -354,17 +358,15 @@ main {
font-family: "Hubot-Sans", sans-serif;
font-size: 1rem;
font-weight: 600;
color: #8c977d;
-webkit-text-decoration: underline 0.1rem #151515;
text-decoration: underline 0.1rem #151515;
transition: -webkit-text-decoration 0.2s ease-in-out;
transition: text-decoration 0.2s ease-in-out;
transition: text-decoration 0.2s ease-in-out, -webkit-text-decoration 0.2s ease-in-out;
}
.content a:hover {
color: #e8e5e5;
-webkit-text-decoration: underline 0.3rem #8c977d;
text-decoration: underline 0.3rem #8c977d;
transition: all 0.15s ease-in-out;
}
.content a:hover {
color: #8c977d;
-webkit-text-decoration: underline 0.1px #151515;
text-decoration: underline 0.1px #151515;
}
.content img {
margin: 0 auto;

View file

@ -1 +1 @@
{"version":3,"sources":["_variables.scss","style.css","_nav.scss","_hero.scss","_footer.scss","style.scss"],"names":[],"mappings":"AAaA;EACE,wBAAA;EACE,8HAAA;EAEA,oBAAA;EACA,sBAAA;ACbJ;ADeA;EACI,yBAAA;EACA,gIAAA;EAEA,oBAAA;EACA,sBAAA;ACdJ;ADoBA;EACE,cA1BI;ACQN;;ADoBA;EACE,cA5BO;ACWT;;ADmBA;EACE,cA9BO;ACcT;;ADkBA;EACE,cAhCM;ACiBR;;ADiBA;EACE,cAlCK;ACoBP;;ADgBA;EACE,cApCO;ACuBT;;AClCA;EACE,SAAA;EACA,UAAA;EAEA,WAAA;EAEA,aAAA;EACA,mBAAA;EACA,8BAAA;EAEA,kBAAA;EAEA,gCAAA;ADiCF;;AC9BA;EACE,SAAA;EACA,eAAA;EAEA,WAAA;EACA,YAAA;EAEA,aAAA;EACA,uBAAA;EACA,mBAAA;EAEA,sBAAA;EAEA,yBF3BM;EE6BN,YAAA;EAEA,yBAAA;KAAA,sBAAA;MAAA,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;EKuQb,cLrQM;EKuQN,aAAA;EACA,oBAAA;EACA,mBAAA;EACA,WAAA;EAEA,YAAA;EACA,iCAAA;EACA,gBAAA;EAEA,sBAAA;EAEA,eAAA;EAEA,gCAAA;AJmIF;AIjIE;EACE,cAAA;EACA,sBAAA;AJmIJ;AIhIE;EACE,yBL7RQ;EK8RR,cLxRI;EKyRJ,iCAAA;AJkIJ;AIhII;EACE,cAAA;AJkIN","file":"style.css"}
{"version":3,"sources":["_variables.scss","style.css","_nav.scss","_hero.scss","_footer.scss","style.scss"],"names":[],"mappings":"AAaA;EACE,wBAAA;EACE,8HAAA;EAEA,oBAAA;EACA,sBAAA;ACbJ;ADeA;EACI,yBAAA;EACA,gIAAA;EAEA,oBAAA;EACA,sBAAA;ACdJ;ADoBA;EACE,cA1BI;ACQN;;ADoBA;EACE,cA5BO;ACWT;;ADmBA;EACE,cA9BO;ACcT;;ADkBA;EACE,cAhCM;ACiBR;;ADiBA;EACE,cAlCK;ACoBP;;ADgBA;EACE,cApCO;ACuBT;;AClCA;EACE,SAAA;EACA,UAAA;EAEA,WAAA;EAEA,aAAA;EACA,mBAAA;EACA,8BAAA;EAEA,kBAAA;EAEA,gCAAA;ADiCF;;AC9BA;EACE,SAAA;EACA,eAAA;EAEA,WAAA;EACA,YAAA;EAEA,aAAA;EACA,uBAAA;EACA,mBAAA;EAEA,sBAAA;EAEA,yBF3BM;EE6BN,YAAA;EAEA,yBAAA;KAAA,sBAAA;MAAA,qBAAA;UAAA,iBAAA;AD2BF;ACzBE;EACE,yBFjCW;AC4Df;ACxBE;;EAEE,YAAA;EACA,UAAA;EAEA,qBAAA;EAEA,qCFhBQ;EEiBR,eAAA;EACA,gBAAA;EACA,2BAAA;EAEA,cF9CI;EEgDJ,mDAAA;ADsBJ;ACnBE;EACE,2BAAA;ADqBJ;ACnBE;EACE,2BAAA;ADqBJ;;ACjBA;EACE,yBF7DU;ACiFZ;;ACjBA;EACE,SAAA;EACA,UAAA;EAEA,UAAA;EACA,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,15 @@ main {
font-size: 1rem;
font-weight: 600;
color: $green;
color: $white;
text-decoration: underline 0.1rem $black;
text-decoration: underline 0.3rem $green;
transition: text-decoration 0.2s ease-in-out;
transition: all 0.15s ease-in-out;
&:hover {
color: $white;
text-decoration: underline 0.3rem $green;
color: $green;
text-decoration: underline 0.1px $black;
}
}
@ -286,7 +286,7 @@ main {
}
&:hover {
background-color: $black;
background-color: $black-est;
color: $green;
border-left: 0.9rem solid $green;

View file

@ -59,17 +59,21 @@
<p>Twitter</p>
<i class="ph-twitter-logo c_red"></i>
</button>
<button class="btn_large" id="mastodon_btn">
<p>Mastodon</p>
<i class="ph-linux-logo c_yellow"></i>
</button>
<button class="btn_large" id="telegram_btn">
<p>Telegram</p>
<i class="ph-telegram-logo c_purple"></i>
<i class="ph-telegram-logo c_green"></i>
</button>
<button class="btn_large" id="github_btn">
<p>Github</p>
<i class="ph-github-logo c_yellow"></i>
<i class="ph-github-logo c_blue"></i>
</button>
<button class="btn_large" id="discord_btn">
<p>Discord</p>
<i class="ph-discord-logo c_green"></i>
<i class="ph-discord-logo c_purple"></i>
</button>
<br>
@ -212,7 +216,7 @@
<footer>
<p>Made by <span class="c_orange">Fluffy</span></p>
<p>Updated at <span class="c_red">12 Nov</span></p>
<p>Updated at <span class="c_red">16 Nov</span></p>
</footer>
<script src="app.js"></script>