Skip to content

Commit 5808181

Browse files
authored
Merge pull request #57 from aidan-yip/preview
Added new icons and links
2 parents 8a38793 + 1ac19ae commit 5808181

File tree

7 files changed

+107
-12
lines changed

7 files changed

+107
-12
lines changed

dark_style.css

+28-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
background: rgb(0, 79, 42);
5050
}
5151

52-
#photos, #settings {
52+
#photos,
53+
#settings {
5354
background: rgb(36, 36, 36);
5455
background: linear-gradient(0deg, rgb(23, 23, 23) 0%, rgb(63, 63, 63) 100%);
5556
}
@@ -64,7 +65,15 @@
6465
background: linear-gradient(0deg, rgb(133, 60, 0) 0%, rgb(117, 0, 0) 100%);
6566
}
6667

67-
#facebook, #twitter, #google, #pq, #spotify, #soundcloud, #band, #apple {
68+
#facebook,
69+
#twitter,
70+
#google,
71+
#pq,
72+
#spotify,
73+
#soundcloud,
74+
#band,
75+
#apple,
76+
#audio_tri {
6877
background: rgb(25, 25, 25);
6978
background: linear-gradient(
7079
0deg,
@@ -106,4 +115,21 @@
106115
);
107116
}
108117

118+
#newave {
119+
background: rgb(129, 135, 149);
120+
background: linear-gradient(
121+
318deg,
122+
rgba(129, 135, 149, 1) 0%,
123+
rgba(0, 44, 65, 1) 100%
124+
);
125+
}
126+
127+
#skrem {
128+
background: rgb(114, 136, 114);
129+
background: radial-gradient(
130+
circle,
131+
rgba(114, 136, 114, 1) 0%,
132+
rgba(41, 61, 41, 1) 100%
133+
);
134+
}
109135
}

index.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -92,33 +92,33 @@
9292
<!--row 3-->
9393
<div
9494
class="app_icon_scroll"
95-
id=""
95+
id="newave"
9696
data-tilt
9797
data-tilt-glare
9898
data-tilt-max-glare="0.6"
9999
data-tilt-scale="113%"
100100
>
101-
<img src="" id="" />
101+
<img src="./public/app_icons/nw_logo.png" id="newave_img" />
102102
</div>
103103
<div
104104
class="app_icon_scroll"
105-
id=""
105+
id="skrem"
106106
data-tilt
107107
data-tilt-glare
108108
data-tilt-max-glare="0.6"
109109
data-tilt-scale="113%"
110110
>
111-
<img src="" id="" />
111+
<img src="./public/app_icons/skrem.png" id="skrem_img" />
112112
</div>
113113
<div
114114
class="app_icon_scroll"
115-
id=""
115+
id="audio_tri"
116116
data-tilt
117117
data-tilt-glare
118118
data-tilt-max-glare="0.6"
119119
data-tilt-scale="113%"
120120
>
121-
<img src="" id="" />
121+
<img src="./public/app_icons/audio_tri.png" id="audio_tri_img" />
122122
</div>
123123
</div>
124124
</div>
@@ -194,7 +194,7 @@
194194
/>
195195
</div>
196196
</div>
197-
<!-- app row 5 across -->
197+
<!-- app row 1 across -->
198198
<div id="scroll_container">
199199
<div
200200
class="app_icon_scroll"
@@ -260,7 +260,7 @@
260260
<img src="./public/app_icons/icons8-x-480.png" id="twitter_img" />
261261
</div>
262262

263-
<!-- app row 5 across -->
263+
<!-- app row 2 across -->
264264

265265
<div
266266
class="app_icon_scroll"
@@ -330,7 +330,7 @@
330330
/>
331331
</div>
332332

333-
<!-- app row 5 across -->
333+
<!-- app row 3 across -->
334334

335335
<div
336336
class="app_icon_scroll"
@@ -387,7 +387,7 @@
387387
<img src="./public/app_icons/icons8-github-480.png" id="github_img" />
388388
</div>
389389

390-
<!-- app row 5 across -->
390+
<!-- app row 4 across -->
391391

392392
<div
393393
class="app_icon_scroll"

public/app_icons/audio_tri.png

92.7 KB
Loading

public/app_icons/nw_logo.png

345 KB
Loading

public/app_icons/skrem.png

64.5 KB
Loading

script.js

+40
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ const folder_back = document.getElementById("folder_back");
8585
const app_folder = document.getElementById("app_folder");
8686
const folder_open = document.getElementById("app_folder_open");
8787

88+
const newave = document.getElementById("newave");
89+
const skrem = document.getElementById("skrem");
90+
const audio_tri = document.getElementById("audio_tri");
91+
8892
//Folder inner
8993
const mac = document.getElementById("mac");
9094
const ios = document.getElementById("ios");
@@ -677,3 +681,39 @@ ios.addEventListener("keypress", function (event) {
677681
ios.click();
678682
}
679683
});
684+
685+
newave.onclick = () => {
686+
location.href = "https://www.instagram.com/newave_oceans_official/";
687+
};
688+
689+
//Enter = onClick event
690+
newave.addEventListener("keypress", function (event) {
691+
if (event.key === "Enter") {
692+
event.preventDefault();
693+
newave.click();
694+
}
695+
});
696+
697+
skrem.onclick = () => {
698+
location.href = "https://www.instagram.com/skremzy/";
699+
};
700+
701+
//Enter = onClick event
702+
skrem.addEventListener("keypress", function (event) {
703+
if (event.key === "Enter") {
704+
event.preventDefault();
705+
skrem.click();
706+
}
707+
});
708+
709+
audio_tri.onclick = () => {
710+
location.href = "https://www.instagram.com/audio_phobia/";
711+
};
712+
713+
//Enter = onClick event
714+
audio_tri.addEventListener("keypress", function (event) {
715+
if (event.key === "Enter") {
716+
event.preventDefault();
717+
audio_tri.click();
718+
}
719+
});

styles.css

+29
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,35 @@ img {
498498
width: 47%;
499499
}
500500

501+
#newave {
502+
background: rgb(185, 236, 247);
503+
background: linear-gradient(
504+
318deg,
505+
rgba(185, 236, 247, 1) 0%,
506+
rgba(12, 125, 212, 1) 100%
507+
);
508+
}
509+
510+
#newave_img {
511+
width: 50%;
512+
}
513+
514+
#skrem {
515+
background: #5bdfa8;
516+
}
517+
518+
#skrem_img {
519+
width: 39%;
520+
}
521+
522+
#audio_tri {
523+
background: #000000;
524+
}
525+
526+
#audio_tri_img {
527+
width: 47%;
528+
}
529+
501530
/* hover */
502531
.app_icon:hover {
503532
cursor: pointer;

0 commit comments

Comments
 (0)