-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (48 loc) · 1.81 KB
/
index.html
File metadata and controls
53 lines (48 loc) · 1.81 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Timo Pollarini's persoonlijke portfolio website">
<title>Timo Pollarini</title>
<link rel="stylesheet" href="/css/home.css">
</head>
<body>
<nav>
<div class="nav-container">
<div class="logo"><a href="#hero">TimoPollarini.nl</a></div>
<ul class="nav-links">
<li><a href="/over">Over</a></li>
<li><a href="/projecten">Projecten</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</div>
</nav>
<section id="hero" class="hero">
<div class="hero-content">
<h1 class="hero-title">Timo Pollarini</h1>
<p class="hero-subtitle">Een hobbyprogrammeur die zich voorbereidt op de toekomst</p>
<div class="hero-buttons">
<a href="/projecten" class="hero-btn hero-btn-left">Projecten</a>
<a href="/over" class="hero-cta">Leer meer over mij</a>
<a href="/contact" class="hero-btn hero-btn-right">Contact</a>
</div>
</div>
</section>
<script>
// Smooth scrolling for navigation
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
</script>
</body>
</html>