-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·106 lines (88 loc) · 4.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="google-site-verification" content="S5miEUSow9wX4fls-vk0Zw6bFLHfwxbYNOIk3omz6JU" />
<meta charset="utf-8">
<meta name="viewport">
<meta name="og:url" content="coffandro.github.io">
<title>Coffandro</title>
<meta property="og:title" content="Coffandro">
<meta name="description" content="Welcome to my website, please feel free to take a look around">
<meta property="og:description" content="Welcome to my website, please feel free to take a look around">
<link rel="icon" type="image/x-icon" href="/Images/Xicon.svg">
<meta property="og:image" content="/Images/Xicon.svg">
<link rel="stylesheet" href="/css/stylesheet.css">
<link id="nav" rel="stylesheet" href="/css/navbar.css" disabled>
<link id="mnav" rel="stylesheet" href="/css/mnavbar.css" disabled>
<script src="jquery-3.7.1.min.js"></script>
<script id="Font-Awesome" src="https://kit.fontawesome.com/5c072ddc8a.js" crossorigin="anonymous"></script>
<script id="Feather-Icons" src="https://unpkg.com/feather-icons"></script>
</head>
<body>
<!--Navigation bar-->
<div id="nav-placeholder">
</div>
<script>
LoadNavBar = function () {
// loading a different nav bar depending on phone type
if (
navigator.userAgent.match(/Android/i) ||
navigator.userAgent.match(/webOS/i) ||
navigator.userAgent.match(/iPhone/i) ||
navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/iPod/i) ||
navigator.userAgent.match(/BlackBerry/i) ||
navigator.userAgent.match(/Windows Phone/i) ||
window.innerWidth <= 800) {
document.documentElement.classList.toggle("mobile", true);
document.getElementById('mnav').removeAttribute('disabled');
$(function () {
$("#nav-placeholder").load("/mobile-navbar.html");
});
}
// nav bar for touch-screen (mobile) devices
else {
document.documentElement.classList.toggle("mobile", false);
document.getElementById('nav').removeAttribute('disabled');
$(function () {
$("#nav-placeholder").load("/navbar.html");
});
}
};
window.onresize = function () {
LoadNavBar()
};
LoadNavBar()
// nav bar for everything else (desktop)
</script>
<!--end of Navigation bar-->
<div class="content">
<a id="AboutPicContainer" href="/about"><img id="AboutPic" src="Images/About/CorneliusNoBg.png"></a>
<h1 class="en">Welcome to my website!</h1>
<h2 class="en">I built all of this myself so feel free to look around.</h2>
<p class="en">Here are some page link below if you want.</p>
<h1 class="da">Velkommen til min hjemmeside!</h1>
<h2 class="da">Jeg har bygget alt der her af mig selve så føl dig fri til at kigge rundt.</h2>
<p class="da">Her er der nogle links til et par sider.</i></p>
<div style="margin-bottom: 150px;"></div>
<hr class="mobile Seperator">
<div class="grid">
<a href="/wishList"><img src="/Images/About/Wishlist.png"></img>
<p><b>Wish List</b></p>
<p class="en">This is the page where i put my wish list for my family or similar.</p>
<p class="da">det her er en ønske liste primært for min familie.</p>
</a>
<a href="/art"><img src="/Images/Art/monkey_preview.png">
<p><b>Art</b></p>
<p class="en">This is where i display my art.</p>
<p class="da">Dette er hvor jeg fremviser min kunst.</p>
</a>
<a href="/Gallery/gallery"><img src="https://picsum.photos/400/300?random=1">
<p><b>Gallery</b></p>
<p class="en">Gallery is an experiment to make a stylish gallery page.</p>
<p class="da">Galleri er et eksperiment for at lave en stilfuld galleriside.</p>
</a>
</div>
</div>
</body>
</html>