Skip to content

Commit

Permalink
Added new icons and links
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-yip committed Aug 29, 2024
1 parent 07b27ba commit 1ac19ae
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 12 deletions.
30 changes: 28 additions & 2 deletions dark_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
background: rgb(0, 79, 42);
}

#photos, #settings {
#photos,
#settings {
background: rgb(36, 36, 36);
background: linear-gradient(0deg, rgb(23, 23, 23) 0%, rgb(63, 63, 63) 100%);
}
Expand All @@ -64,7 +65,15 @@
background: linear-gradient(0deg, rgb(133, 60, 0) 0%, rgb(117, 0, 0) 100%);
}

#facebook, #twitter, #google, #pq, #spotify, #soundcloud, #band, #apple {
#facebook,
#twitter,
#google,
#pq,
#spotify,
#soundcloud,
#band,
#apple,
#audio_tri {
background: rgb(25, 25, 25);
background: linear-gradient(
0deg,
Expand Down Expand Up @@ -106,4 +115,21 @@
);
}

#newave {
background: rgb(129, 135, 149);
background: linear-gradient(
318deg,
rgba(129, 135, 149, 1) 0%,
rgba(0, 44, 65, 1) 100%
);
}

#skrem {
background: rgb(114, 136, 114);
background: radial-gradient(
circle,
rgba(114, 136, 114, 1) 0%,
rgba(41, 61, 41, 1) 100%
);
}
}
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,33 +92,33 @@
<!--row 3-->
<div
class="app_icon_scroll"
id=""
id="newave"
data-tilt
data-tilt-glare
data-tilt-max-glare="0.6"
data-tilt-scale="113%"
>
<img src="" id="" />
<img src="./public/app_icons/nw_logo.png" id="newave_img" />
</div>
<div
class="app_icon_scroll"
id=""
id="skrem"
data-tilt
data-tilt-glare
data-tilt-max-glare="0.6"
data-tilt-scale="113%"
>
<img src="" id="" />
<img src="./public/app_icons/skrem.png" id="skrem_img" />
</div>
<div
class="app_icon_scroll"
id=""
id="audio_tri"
data-tilt
data-tilt-glare
data-tilt-max-glare="0.6"
data-tilt-scale="113%"
>
<img src="" id="" />
<img src="./public/app_icons/audio_tri.png" id="audio_tri_img" />
</div>
</div>
</div>
Expand Down Expand Up @@ -194,7 +194,7 @@
/>
</div>
</div>
<!-- app row 5 across -->
<!-- app row 1 across -->
<div id="scroll_container">
<div
class="app_icon_scroll"
Expand Down Expand Up @@ -260,7 +260,7 @@
<img src="./public/app_icons/icons8-x-480.png" id="twitter_img" />
</div>

<!-- app row 5 across -->
<!-- app row 2 across -->

<div
class="app_icon_scroll"
Expand Down Expand Up @@ -330,7 +330,7 @@
/>
</div>

<!-- app row 5 across -->
<!-- app row 3 across -->

<div
class="app_icon_scroll"
Expand Down Expand Up @@ -387,7 +387,7 @@
<img src="./public/app_icons/icons8-github-480.png" id="github_img" />
</div>

<!-- app row 5 across -->
<!-- app row 4 across -->

<div
class="app_icon_scroll"
Expand Down
Binary file added public/app_icons/audio_tri.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/app_icons/nw_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/app_icons/skrem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ const folder_back = document.getElementById("folder_back");
const app_folder = document.getElementById("app_folder");
const folder_open = document.getElementById("app_folder_open");

const newave = document.getElementById("newave");
const skrem = document.getElementById("skrem");
const audio_tri = document.getElementById("audio_tri");

//Folder inner
const mac = document.getElementById("mac");
const ios = document.getElementById("ios");
Expand Down Expand Up @@ -677,3 +681,39 @@ ios.addEventListener("keypress", function (event) {
ios.click();
}
});

newave.onclick = () => {
location.href = "https://www.instagram.com/newave_oceans_official/";
};

//Enter = onClick event
newave.addEventListener("keypress", function (event) {
if (event.key === "Enter") {
event.preventDefault();
newave.click();
}
});

skrem.onclick = () => {
location.href = "https://www.instagram.com/skremzy/";
};

//Enter = onClick event
skrem.addEventListener("keypress", function (event) {
if (event.key === "Enter") {
event.preventDefault();
skrem.click();
}
});

audio_tri.onclick = () => {
location.href = "https://www.instagram.com/audio_phobia/";
};

//Enter = onClick event
audio_tri.addEventListener("keypress", function (event) {
if (event.key === "Enter") {
event.preventDefault();
audio_tri.click();
}
});
29 changes: 29 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,35 @@ img {
width: 47%;
}

#newave {
background: rgb(185, 236, 247);
background: linear-gradient(
318deg,
rgba(185, 236, 247, 1) 0%,
rgba(12, 125, 212, 1) 100%
);
}

#newave_img {
width: 50%;
}

#skrem {
background: #5bdfa8;
}

#skrem_img {
width: 39%;
}

#audio_tri {
background: #000000;
}

#audio_tri_img {
width: 47%;
}

/* hover */
.app_icon:hover {
cursor: pointer;
Expand Down

0 comments on commit 1ac19ae

Please sign in to comment.