Skip to content

Commit

Permalink
work ma
Browse files Browse the repository at this point in the history
  • Loading branch information
iguannalin committed Nov 26, 2024
1 parent 7702a32 commit 6bfeee8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
<h1 class="name"><a href="https://annaylin.com">anna y lin</a></h1>
<label for="select">select the page you would like to visit:</label>
<div id="select">
<button>home</button>
<button>work</button>
<button style="font-size:1.5em;" title="work"></button>
<button>projects</button>
<button>about</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ window.addEventListener("load", () => {
const selected = e.target.innerText;
let elem;
switch (selected) {
case "projects":
case "":
elem = left;
break;
case "about":
Expand Down
3 changes: 1 addition & 2 deletions portfolio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ <h1 class="name"><a href="https://annaylin.com/portfolio">anna y
lin</a></h1>
<label for="select">select the page you would like to visit:</label>
<div id="select">
<button>home</button>
<button>projects</button>
<button style="font-size:1.5em;" title="projects"></button>
<button>work</button>
<button>about</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion portfolio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ window.addEventListener("load", () => {
case "about":
elem = right;
break;
case "projects":
case "":
location.href = "https://annaylin.com/";
break;
default:
Expand Down

0 comments on commit 6bfeee8

Please sign in to comment.