Skip to content

Commit

Permalink
none
Browse files Browse the repository at this point in the history
  • Loading branch information
aswanthabam committed Sep 5, 2023
1 parent 60e5fee commit cab1c6e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<h2>Maveli ka HUKKUM!</h2>
</div>
<div class="content">
<a href="">Home</a>
<a href="./index.html">Home</a>
<a href="./about.html">About Me</a>
<a href="./projects.html">Projects</a>
<a href="./contact.html">Contact</a>
Expand Down
17 changes: 14 additions & 3 deletions assets/main.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
import "./style.css";
try {
//import "./style.css";
//try {
function do_work(){
var width = window.screen.width;
let path =
width > 767
? document.querySelectorAll(".activities-path")[0]
: document.querySelectorAll(".activities-path")[1];
//if(path != undefined && path != null) {
let pathLength = path.getTotalLength();

path.style.strokeDasharray = pathLength + " " + pathLength;
path.style.strokeDashoffset = pathLength;
}catch (e) {}
//}catch (e) {alert(e)}
//}
}
do_work()
window.onload = () =>{
do_work()
alert("hi")
}


document.getElementById("menu-btn").onclick = function () {
document.getElementsByClassName("sidemenu")[0].style.left = "0px";
};
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>Maveli ka HUKKUM!</h2>
<div class="topbar desktop">
<!-- Top Bar MOBILE -->
<div class="links">
<a href="">Home</a>
<a href="./index.html">Home</a>
<a href="./about.html">About Me</a>
<a href="./projects.html">Projects</a>
<a href="./contact.html">Contact</a>
Expand Down
2 changes: 1 addition & 1 deletion projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<h2>Maveli ka HUKKUM!</h2>
</div>
<div class="content">
<a href="">Home</a>
<a href="./index.html">Home</a>
<a href="./about.html">About Me</a>
<a href="./projects.html">Projects</a>
<a href="./contact.html">Contact</a>
Expand Down

0 comments on commit cab1c6e

Please sign in to comment.