Skip to content

Commit 8c878e5

Browse files
committed
refactor footer links across multiple HTML files; update home link to use relative path and reorder links for consistency; remove footer-delay.js as it is no longer needed
1 parent eb90922 commit 8c878e5

File tree

7 files changed

+21
-138
lines changed

7 files changed

+21
-138
lines changed

alhambra.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h1 class="header">
5252
</div>
5353
</section>
5454
<footer class="footer" id="footer">
55-
<a href="./index.html">home</a>
55+
<a href=".">home</a>
5656
<a data-pattern="triangle">starry night</a>
5757
<a data-pattern="grid">diamonds</a>
5858
</footer>

css/crumple.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@
345345
display: block;
346346
width: 100%;
347347
height: 100%;
348-
background-color: #111;
348+
background-color: transparent;
349349
z-index: 1;
350350
clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%, 0 100%, 0 100%); /* Start hidden for reversed animations */
351351
}

index.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js" defer></script>
3333
<!-- <script src="./js/main.js" defer></script> -->
3434

35-
<!-- Footer Link Delay Script -->
36-
<script src="./js/footer-delay.js"></script>
3735
<script>
3836
document.addEventListener('DOMContentLoaded', function() {
3937
const video = document.querySelector('.video-background');
@@ -69,11 +67,11 @@ <h1 class="header">
6967
</div>
7068
</section>
7169
<footer class="footer hero-footer" id="footer">
72-
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
73-
<a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">muze</a>
74-
<a class="footer__link--instagram" href="./trash.html">trash</a>
75-
<a class="footer__link--alhambra" href="./alhambra.html">alhambra</a>
7670
<a class="footer__link--writings" href="./writings.html">writing</a>
71+
<a class="footer__link--alhambra" href="./alhambra.html">alhambra</a>
72+
<a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">muze</a>
73+
<a class="footer__link--instagram" href="https://www.instagram.com/eww.york/" target="_blank" rel="noopener noreferrer">trash</a>
74+
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
7775
</footer>
7876
</div>
7977
<div class="crumple" aria-hidden="">

js/footer-delay.js

Lines changed: 0 additions & 115 deletions
This file was deleted.

poems.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
3636
<!-- <script src="./js/main.js"/></script> -->
3737

38-
<!-- Footer Link Delay Script -->
39-
<script src="./js/footer-delay.js"></script>
4038
</head>
4139
<body id="poems">
4240
<div class="content-wrapper">
@@ -103,10 +101,12 @@ <h1 class="header">
103101
</section>
104102

105103
<footer class="footer" id="footer">
106-
<a class="footer__link--home" href="./index.html">home</a>
107-
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
108-
<a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">muze</a>
109-
<a class="footer__link--instagram" href="./trash.html">trash</a>
104+
<a class="footer__link--home" href=".">home</a>
105+
<a class="footer__link--writings" href="./writings.html">writing</a>
106+
<a class="footer__link--alhambra" href="./alhambra.html">alhambra</a>
107+
<a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">muze</a>
108+
<a class="footer__link--instagram" href="https://www.instagram.com/eww.york/" target="_blank" rel="noopener noreferrer">trash</a>
109+
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
110110
</footer>
111111
</div>
112112

trash.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
<!-- Jquery Min Library -->
3535
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
3636

37-
<!-- Footer Link Delay Script -->
38-
<script src="./js/footer-delay.js"></script>
3937
</head>
4038
<body id="trash">
4139
<div class="content-wrapper">
@@ -72,10 +70,12 @@ <h1 class="header">
7270
</section>
7371

7472
<footer class="footer" id="footer">
75-
<a class="footer__link--home" href="./index.html">home</a>
76-
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
73+
<a class="footer__link--home" href=".">home</a>
74+
<a class="footer__link--writings" href="./writings.html">writing</a>
75+
<a class="footer__link--alhambra" href="./alhambra.html">alhambra</a>
7776
<a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">muze</a>
7877
<a class="footer__link--instagram" href="https://www.instagram.com/eww.york/" target="_blank" rel="noopener noreferrer">trash</a>
78+
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
7979
</footer>
8080
</div>
8181

writings.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
<!-- Jquery Min Library -->
3535
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
3636

37-
<!-- Footer Link Delay Script -->
38-
<script src="./js/footer-delay.js"></script>
3937
</head>
4038
<body id="essays">
4139
<div class="content-wrapper">
@@ -129,10 +127,12 @@ <h1 class="header">
129127
</section>
130128

131129
<footer class="footer" id="footer">
132-
<a class="footer__link--home" href="./index.html">home</a>
133-
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
130+
<a class="footer__link--home" href=".">home</a>
131+
<a class="footer__link--writings" href="./writings.html">writing</a>
132+
<a class="footer__link--alhambra" href="./alhambra.html">alhambra</a>
134133
<a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">muze</a>
135-
<a class="footer__link--instagram" href="./trash.html">trash</a>
134+
<a class="footer__link--instagram" href="https://www.instagram.com/eww.york/" target="_blank" rel="noopener noreferrer">trash</a>
135+
<a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">code</a>
136136
</footer>
137137
</div>
138138

0 commit comments

Comments
 (0)