-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (51 loc) · 2.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Art of Pilgrim</title>
<link rel="stylesheet" href="../CSS/indexstyle.css?v=1.0" />
<link rel="stylesheet" href="../CSS/thumbnailstyle.css?v=1.0" />
<link rel="stylesheet" href="../CSS/userinformationstyle.css?v=1.0" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css?v=1.0" />
<link rel="icon" href="../../Resources/favicon/pilfav.png" type="image/png"/>
</head>
<body>
<div class="main-container">
<div class="top-container">
<div class="user-info-panel">
<!-- User Information Here -->
</div>
<div class="navigation-buttons">
<a href="index.html" class="nav-button" id="nav-portfolio">Portfolio</a>
<a href="about.html" class="nav-button" id="nav-about">About</a>
</div>
</div>
<div class="bottom-container">
<div class="thumbnail-container" id="thumbnail-container"></div>
</div>
</div>
<div class="resize-buttons">
<button id="plus-button" class="resize-button">+</button>
<button id="minus-button" class="resize-button">-</button>
</div>
<!-- Link to the external JavaScript files -->
<script src="../JS/userinformation.js?v=1.0"></script>
<script src="../JS/index.js?v=1.0"></script>
<script src="../JS/resize-thumbnails.js"></script>
<script>
// JavaScript to add 'active' class to the current page's navigation button
document.addEventListener("DOMContentLoaded", function() {
const currentPath = window.location.pathname.split('/').pop();
const navButtons = document.querySelectorAll('.nav-button');
navButtons.forEach(button => {
if (button.getAttribute('href') === currentPath) {
button.classList.add('active');
}
});
});
</script>
</body>
</html>