Skip to content

Commit ca9c06b

Browse files
committed
404
1 parent 0bb382c commit ca9c06b

File tree

4 files changed

+61
-83
lines changed

4 files changed

+61
-83
lines changed

favicon.ico

-3.78 KB
Binary file not shown.

index.html

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

public/404.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Redirecting...</title>
7+
<script>
8+
sessionStorage.setItem("redirect", window.location.pathname);
9+
window.location.href = "/";
10+
</script>
11+
</head>
12+
<body>
13+
Redirecting...
14+
</body>
15+
</html>

public/index.html

Lines changed: 46 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,48 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
4-
<head>
5-
<meta charset="utf-8">
6-
<meta content="width=device-width, initial-scale=1.0" name="viewport">
7-
8-
<title>Yusuf Kaka</title>
9-
<meta content="Yusuf Kaka's online resume and showcase." name="description">
10-
<meta content="Yusuf Kaka" name="keywords">
11-
12-
<!-- Favicons -->
13-
<link href="favicon.ico" rel="icon">
14-
<link href="apple-touch-icon.png" rel="apple-touch-icon">
15-
16-
<!-- Google Fonts -->
17-
<link href='https://fonts.googleapis.com/css?family=Marck Script' rel='stylesheet'>
18-
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
19-
20-
<!-- Vendor CSS Files
21-
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
22-
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
23-
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
24-
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
25-
<link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
26-
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">-->
27-
28-
<!-- Template Main CSS File -->
29-
<!-- <link href="assets/css/style.css" rel="stylesheet">-->
30-
31-
<!-- =======================================================
32-
* Template Name: Personal - v4.7.0
33-
* Template URL: https://bootstrapmade.com/personal-free-resume-bootstrap-template/
34-
* Author: BootstrapMade.com
35-
* License: https://bootstrapmade.com/license/
36-
======================================================== -->
37-
</head>
38-
39-
<body>
40-
<div id="root"></div>
41-
42-
<div class="credits">
43-
<!-- All the links in the footer should remain intact. -->
44-
<!-- You can delete the links only if you purchased the pro version. -->
45-
<!-- Licensing information: https://bootstrapmade.com/license/ -->
46-
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/personal-free-resume-bootstrap-template/ -->
47-
Designed by <a href="https://bootstrapmade.com/">BootstrapMade</a>
48-
</div>
49-
50-
<!-- Vendor JS Files
51-
<script src="assets/vendor/purecounter/purecounter.js"></script>
52-
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
53-
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
54-
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
55-
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
56-
<script src="assets/vendor/waypoints/noframework.waypoints.js"></script>
57-
<script src="assets/vendor/php-email-form/validate.js"></script>-->
58-
59-
<!-- Template Main JS File
60-
<script src="./public/assets/main.js"></script>-->
61-
62-
</body>
63-
64-
</html>
3+
<head>
4+
<script>
5+
(function(){
6+
const redirect = sessionStorage.getItem('redirect');
7+
if (redirect) {
8+
sessionStorage.removeItem('redirect');
9+
if (redirect !== window.location.pathname) {
10+
window.history.replaceState(null, null, redirect);
11+
}
12+
}
13+
})();
14+
</script>
15+
<meta charset="utf-8" />
16+
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
17+
18+
<title>Yusuf Kaka</title>
19+
<meta content="Yusuf Kaka's site" name="description" />
20+
<meta content="Yusuf Kaka" name="keywords" />
21+
22+
<!-- Favicons -->
23+
<link href="favicon.ico" rel="icon" />
24+
<link href="apple-touch-icon.png" rel="apple-touch-icon" />
25+
26+
<!-- Google Fonts -->
27+
<link
28+
href="https://fonts.googleapis.com/css?family=Marck Script"
29+
rel="stylesheet"
30+
/>
31+
<link
32+
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i"
33+
rel="stylesheet"
34+
/>
35+
<!DOCTYPE html>
36+
<html>
37+
<head>
38+
<meta charset="utf-8" />
39+
<title>Redirecting...</title>
40+
</head>
41+
<body></body>
42+
</html>
43+
</head>
44+
45+
<body>
46+
<div id="root"></div>
47+
</body>
48+
</html>

0 commit comments

Comments
 (0)