-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
289 lines (264 loc) · 13.3 KB
/
index.html
File metadata and controls
289 lines (264 loc) · 13.3 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="/Assets/Styles/style.css">
<title>Document</title>
</head>
<body>
<nav class="navbar">
<div class="navbar-links">
<a href="#home" class="navbar-link red" data-color="red">Home</a>
<a href="#portfolio" class="navbar-link orange" data-color="orange">Portfolio</a>
<a href="#about" class="navbar-link yellow" data-color="yellow">About</a>
<a href="#contact" class="navbar-link beige" data-color="beige">Contact</a>
</div>
</nav>
<div class="racing-stripes">
<div class="stripe red"></div>
<div class="stripe orange"></div>
<div class="stripe yellow"></div>
<div class="stripe beige"></div>
</div>
<!-- Section content -->
<section id="home"><h1>Petter Furuli</h1>
<div class="row text-center d-flex justify-content-center">
<div class="col-md-4">
<span class="fa-stack fa-4x">
<svg class="icon-tree" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"/></xmlns=>
</svg>
</span>
<h4 class="service-heading">Bruker opplevelse</h4>
<p class="text-muted">Jeg brenner for å skape intuitive og funksjonelle løsninger som gjør det enkelt for brukeren å navigere og oppnå målene sine uten frustrasjon.</p>
</div>
<div class="col-md-4">
<span class="fa-stack fa-4x">
<svg class="icon-heart" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"/></>
</svg>
</span>
<h4 class="service-heading">Estetikk</h4>
<p class="text-muted">Godt design handler ikke bare om utseende, men også om hvordan det føles å bruke produktet. Jeg kombinerer visuell appell med brukervennlighet for å skape engasjerende opplevelser.</p>
</div>
<div class="col-md-4">
<span class="fa-stack fa-4x">
<svg class="icon-waterfall"xmlns= "http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"/></xmlns=>
</svg>
</span>
<h4 class="service-heading">Tilbakemeldinger</h4>
<p class="text-muted">Jeg tester og itererer basert på innsikt fra brukerne for å sikre at løsningene jeg lager, faktisk løser reelle problemer og gir en merverdi i hverdagen.</p>
</div>
</div>
</section>
<!-- Portfolio section with 6 boxes -->
<section id="portfolio">
<h1>Portfolio</h1>
<div class="portfolio">
<div class="portfolio-item" onclick="openModal('modal1')">
<img src="/Assets/images/Screenshot 2025-03-06 at 15.58.10.png" alt="Project 1">
<p>Project 1</p>
</div>
<div class="portfolio-item" onclick="openModal('modal2')">
<img src="https://via.placeholder.com/300x200" alt="Project 2">
<p>Project 2</p>
</div>
<div class="portfolio-item" onclick="openModal('modal3')">
<img src="https://via.placeholder.com/300x200" alt="Project 3">
<p>Project 3</p>
</div>
<div class="portfolio-item" onclick="openModal('modal4')">
<img src="https://via.placeholder.com/300x200" alt="Project 4">
<p>Project 4</p>
</div>
<div class="portfolio-item" onclick="openModal('modal5')">
<img src="https://via.placeholder.com/300x200" alt="Project 5">
<p>Project 5</p>
</div>
<div class="portfolio-item" onclick="openModal('modal6')">
<img src="https://via.placeholder.com/300x200" alt="Project 6">
<p>Project 6</p>
</div>
</div>
<!-- Modals for each project -->
<div class="modal" id="modal1">
<div class="modal-content">
<span class="close" onclick="closeModal('modal1')">×</span>
<img src="/Assets/images/Screenshot 2025-03-06 at 15.58.10.png" alt="Project 1">
<p>Project 1 Details</p>
</div>
</div>
<div class="modal" id="modal2">
<div class="modal-content">
<span class="close" onclick="closeModal('modal2')">×</span>
<img src="https://via.placeholder.com/600x400" alt="Project 2">
<p>Project 2 Details</p>
</div>
</div>
<div class="modal" id="modal3">
<div class="modal-content">
<span class="close" onclick="closeModal('modal3')">×</span>
<img src="https://via.placeholder.com/600x400" alt="Project 3">
<p>Project 3 Details</p>
</div>
</div>
<div class="modal" id="modal4">
<div class="modal-content">
<span class="close" onclick="closeModal('modal4')">×</span>
<img src="https://via.placeholder.com/600x400" alt="Project 4">
<p>Project 4 Details</p>
</div>
</div>
<div class="modal" id="modal5">
<div class="modal-content">
<span class="close" onclick="closeModal('modal5')">×</span>
<img src="https://via.placeholder.com/600x400" alt="Project 5">
<p>Project 5 Details</p>
</div>
</div>
<div class="modal" id="modal6">
<div class="modal-content">
<span class="close" onclick="closeModal('modal6')">×</span>
<img src="https://via.placeholder.com/600x400" alt="Project 6">
<p>Project 6 Details</p>
</div>
</div>
</section>
<section id="about">
<h1>About</h1>
<ul class="timeline">
<li>
<div class="timeline-image red">
<h4>Start</h4>
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4>Start of My UX Journey</h4>
</div>
<div class="timeline-body">
<p>Here I began my exploration into UX design, learning the basics...</p>
</div>
</div>
</li>
<li class="timeline-inverted">
<div class="timeline-image orange">
<h4>Phase 1</h4>
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4>First UX Project</h4>
</div>
<div class="timeline-body">
<p>This was my first real UX design project where I applied my knowledge...</p>
</div>
</div>
</li>
<li>
<div class="timeline-image yellow">
<h4>Phase 2</h4>
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4>Learning Figma and Prototyping</h4>
</div>
<div class="timeline-body">
<p>I dove deeper into Figma, learning how to create wireframes and interactive prototypes...</p>
</div>
</div>
</li>
<li class="timeline-inverted">
<div class="timeline-image beige">
<h4>Phase 3</h4>
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4>Internship Experience</h4>
</div>
<div class="timeline-body">
<p>During my internship, I had the opportunity to work with real clients...</p>
</div>
</div>
</li>
</ul>
</section>
<section id="contact">
<h1>Contact</h1>
<form id="contact-form" action="/send_message.php" method="POST">
<div>
<label for="name">Name</label>
<input type="text" id="name" name="name" required>
</div>
<div>
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
</div>
<div>
<label for="message">Message</label>
<textarea id="message" name="message" required></textarea>
</div>
<div>
<button type="submit">Send Message</button>
</div>
</form>
</section>
<div id="cursor">
<div class="outer"></div>
<div class="content-wrap">
<div class="text"></div>
</div>
</div>
<script src="/Assets/js/main.js"></script>
<script>
// Portfolio modal functionality
function openModal(modalId) {
document.getElementById(modalId).style.display = "flex";
}
function closeModal(modalId) {
document.getElementById(modalId).style.display = "none";
}
window.onclick = function(event) {
var modals = document.querySelectorAll('.modal');
modals.forEach(function(modal) {
if (event.target === modal) {
modal.style.display = "none";
}
});
};
// Smooth scrolling for navbar links
const navbarLinks = document.querySelectorAll('.navbar-link');
const sections = document.querySelectorAll('section');
const stripes = document.querySelectorAll('.stripe');
navbarLinks.forEach(link => {
link.addEventListener('click', (event) => {
event.preventDefault();
const targetSection = document.querySelector(link.getAttribute('href'));
window.scrollTo({
top: targetSection.offsetTop - 100, // Adjust to match the navbar height
behavior: 'smooth'
});
});
});
// Update active link and stripe based on scroll position
const observerOptions = {
root: null, // viewport
threshold: 0.5 // trigger when 50% of the section is visible
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
const link = document.querySelector(`.navbar-link[href="#${entry.target.id}"]`);
const stripeIndex = Array.from(sections).indexOf(entry.target);
if (entry.isIntersecting) {
navbarLinks.forEach(link => link.classList.remove('active', 'red', 'orange', 'yellow', 'beige'));
stripes.forEach(stripe => stripe.classList.remove('active'));
link.classList.add('active');
link.classList.add(link.dataset.color);
stripes[stripeIndex].classList.add('active');
}
});
}, observerOptions);
sections.forEach(section => {
observer.observe(section);
});
</script>
</body>
</html>