-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
593 lines (532 loc) · 29.9 KB
/
index.html
File metadata and controls
593 lines (532 loc) · 29.9 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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jeff Halpin: Portfolio</title>
<link rel="icon" type="image/x-icon" href="/projects/portfolio/favicon.ico?v=2" />
<!-- Tailwind CSS via CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Kaisei+Opti&family=Lato:wght@400;700&family=Playfair+Display:wght@400;700&family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
<style>
/* CUSTOM STYLES - Figma Design System (Extracted from Figma API)
- off-white: #FFFEF9
- white: #FFFFFF
- near-black: #181818
- light-gray: #F7F7F7
- Aquamarine: #61EDD8
- Accent: #079E87
- Text/Primary: #181818
- Text/Secondary: #DFE1E3
- Accent/Primary: #61EDD8
- Background/Base: #FFFFFF
- mid-gray: #DFE1E3
- Surface/Default: #FFFEF9
- Border/Subtle: #F7F7F7
- Text/Tertiary: #526AC2
*/
body {
font-family: 'Kaisei Opti', serif;
}
.filter-chip {
transition: all 0.2s ease;
}
.filter-chip:hover {
background-color: rgba(6, 157, 135, 0.1);
}
.filter-chip.active {
background-color: #069D87;
color: white;
}
</style>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'off-white': '#FFFEF9',
'white': '#FFFFFF',
'near-black': '#181818',
'light-gray': '#F7F7F7',
'aquamarine': '#61EDD8',
'accent': '#079E87',
'text-primary': '#181818',
'text-secondary': '#DFE1E3',
'accent-primary': '#61EDD8',
'background-base': '#FFFFFF',
'mid-gray': '#DFE1E3',
'surface-default': '#FFFEF9',
'border-subtle': '#F7F7F7',
'text-tertiary': '#526AC2',
},
fontFamily: {
'kaisei': ['Kaisei Opti', 'serif'],
'lato': ['Lato', 'sans-serif'],
'playfair': ['Playfair Display', 'serif'],
'poppins': ['Poppins', 'sans-serif'],
}
}
}
}
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PLH7LQ');</script>
<!-- End Google Tag Manager -->
</head>
<body class="bg-[#FFFEF9] font-kaisei min-h-screen relative">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PLH7LQ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!--
========================================
HEADER - Responsive Design
========================================
Mobile: Hamburger menu + name
Desktop: Name + navigation links
-->
<header class="bg-[#FFFEF9] sticky top-0 z-40 h-[60px]">
<div class="flex items-center justify-between gap-4 max-w-7xl mx-auto h-full px-4">
<!-- Left: Name/Logo -->
<a href="index.html" class="font-kaisei text-2xl text-black font-medium hover:text-accent transition-colors">Jeff Halpin</a>
<!-- Right: Navigation - desktop only -->
<nav class="hidden md:flex items-center gap-6">
<a href="#about" class="text-sm text-black hover:text-accent transition-colors">About</a>
<a href="#work" class="text-sm text-black hover:text-accent transition-colors">Work</a>
<a href="#approach" class="text-sm text-black hover:text-accent transition-colors">Approach</a>
<a href="contact.html" class="text-sm text-black hover:text-accent transition-colors">Contact</a>
</nav>
<!-- Hamburger menu icon - mobile only, right side -->
<button id="menu-toggle" class="md:hidden w-[35px] h-[44px] flex flex-col items-center justify-center gap-[8px] p-2" aria-label="Toggle menu">
<span class="w-full h-[2px] bg-black"></span>
<span class="w-full h-[2px] bg-black"></span>
</button>
</div>
</header>
<!-- Mobile Menu Overlay - hidden by default -->
<div id="mobile-menu" class="hidden fixed inset-0 z-50 bg-black/50 md:hidden">
<div class="bg-[#FFFEF9] w-4/5 h-full p-6 flex flex-col gap-6">
<button id="menu-close" class="self-end text-2xl" aria-label="Close menu">×</button>
<nav class="flex flex-col gap-4">
<a href="#about" class="text-lg text-black hover:text-accent transition-colors">About</a>
<a href="#work" class="text-lg text-black hover:text-accent transition-colors">Work</a>
<a href="#approach" class="text-lg text-black hover:text-accent transition-colors">Approach</a>
<a href="contact.html" class="text-lg text-black hover:text-accent transition-colors">Contact</a>
</nav>
</div>
</div>
<!-- Password Modal - DISABLED
<div id="password-modal" class="hidden fixed inset-0 z-50 bg-black/50 flex items-center justify-center p-4">
<div class="bg-[#FFFEF9] border border-neutral-200 rounded-xl p-8 w-full max-w-md relative">
<button id="password-modal-close" class="absolute top-4 right-4 text-2xl text-black hover:text-accent transition-colors" aria-label="Close modal">×</button>
<h3 class="text-2xl text-black font-normal mb-2">Password Required</h3>
<p class="text-base text-black mb-6">Please enter your password to view this case study.</p>
<form id="password-form" class="flex flex-col gap-4">
<div>
<label for="case-study-password" class="block text-sm text-black mb-2">Password</label>
<input type="password" id="case-study-password" name="password" required
class="w-full px-4 py-3 border border-light-gray rounded bg-white text-black focus:outline-none focus:border-accent transition-colors">
</div>
<p id="password-error" class="text-red-500 text-sm hidden">Incorrect password. Please try again.</p>
<button type="submit" class="w-full px-8 py-3 bg-accent text-white rounded hover:bg-opacity-90 transition-all font-normal">
Submit
</button>
</form>
</div>
</div>
-->
<!--
========================================
HERO CAROUSEL SECTION
========================================
Auto-rotating carousel with videos and images
-->
<section class="bg-[#FFFEF9] px-4 md:px-[50px]">
<div class="w-full max-w-[1440px] mx-auto relative">
<!-- Carousel container with 2880x1120 aspect ratio -->
<div id="hero-carousel" class="relative overflow-hidden aspect-[776/700] md:aspect-[18/7] max-h-[350px] md:max-h-none">
<!-- Slide 0: Hero 01 -->
<div class="carousel-slide absolute inset-0 opacity-100 transition-opacity duration-1000" data-card="2">
<picture>
<source media="(max-width: 768px)" srcset="images/hero_01_mobile.png">
<img src="images/hero_01.png" alt="EYEDAR app" class="w-full h-full object-cover">
</picture>
</div>
<!-- Slide 1: Hero 02 -->
<div class="carousel-slide absolute inset-0 opacity-0 transition-opacity duration-1000" data-card="7">
<picture>
<source media="(max-width: 768px)" srcset="images/hero_02_mobile.png">
<img src="images/hero_02.png" alt="Pharma Patient website Redesign" class="w-full h-full object-cover">
</picture>
</div>
<!-- Slide 2: Hero 03 -->
<div class="carousel-slide absolute inset-0 opacity-0 transition-opacity duration-1000" data-card="3">
<picture>
<source media="(max-width: 768px)" srcset="images/hero_03_mobile.png">
<img src="images/hero_03.png" alt="Pradaxa AR/VR" class="w-full h-full object-cover">
</picture>
</div>
<!-- Slide 3: Hero 04 -->
<div class="carousel-slide absolute inset-0 opacity-0 transition-opacity duration-1000" data-card="4">
<picture>
<source media="(max-width: 768px)" srcset="images/hero_04.gif">
<img src="images/hero_04.gif" alt="UX Engineering all up in here" class="w-full h-full object-cover object-left">
</picture>
</div>
</div>
<!-- Navigation Dots - positioned over the carousel from the parent wrapper -->
<div class="mt-2 mr-4 flex justify-end gap-2 md:mt-4 md:mr-0 md:justify-center">
<button class="carousel-dot w-[10px] h-[10px] md:w-[14px] md:h-[14px] rounded-full bg-accent transition-all" data-slide="0" aria-label="Go to slide 1"></button>
<button class="carousel-dot w-[10px] h-[10px] md:w-[14px] md:h-[14px] rounded-full bg-mid-gray transition-all" data-slide="1" aria-label="Go to slide 2"></button>
<button class="carousel-dot w-[10px] h-[10px] md:w-[14px] md:h-[14px] rounded-full bg-mid-gray transition-all" data-slide="2" aria-label="Go to slide 3"></button>
<button class="carousel-dot w-[10px] h-[10px] md:w-[14px] md:h-[14px] rounded-full bg-mid-gray transition-all" data-slide="3" aria-label="Go to slide 4"></button>
</div>
</div>
</section>
<!--
========================================
INTRO SECTION
========================================
Heading and bio paragraph in side-by-side layout
-->
<section id="about" class="bg-[#FFFEF9] px-4 md:px-[120px] pt-14 md:pt-16 pb-8 scroll-mt-[60px]">
<div class="grid grid-cols-1 md:grid-cols-1 gap-4">
<!-- Left: Heading -->
<h2 class="text-[32px] leading-none text-black font-normal">About Me</h2>
<!-- Center: About-->
<p class="text-base leading-normal text-black">User Experience Architect with 10+ years designing products that deliver measurable business outcomes while solving complex user problems at scale. I bridge design and engineering by translating strategy into systems, components, and shipped features across the full product lifecycle.</p>
<p class="text-base leading-normal text-black">Domain expertise in high-stakes environments: I've designed healthcare/pharmaceutical products navigating FDA regulations, HIPAA compliance, and accessibility standards (WCAG 2.1 AA). My work includes patient-facing mobile applications, clinician workflow tools, and AR-enabled diagnostic systems used by thousands of healthcare professionals.</p>
<p class="text-base leading-normal text-black">Technical fluency beyond mockups: I understand how systems work, including API integrations, design token architectures, and component libraries. I write production HTML/CSS/JavaScript, build Figma plugins, and automate design-to-development workflows. I don't just design interfaces; I implement design systems that scale.</p>
<p class="text-base leading-normal text-black">Proven impact: Award-winning work (Cannes Lion, 4 Clio Gold) with outcomes including increased patient adherence, reduced clinician cognitive load, and faster product adoption. I measure success in user retention, task completion rates, and reduced support tickets, not just aesthetics.</p>
<p class="text-base leading-normal text-black">Currently seeking: Product Designer or UX Engineer roles (L5/L6) at tech or healthtech companies where systems thinking, technical implementation skills, and regulated domain expertise create competitive advantage.</p>
</div>
</section>
<!--
========================================
FILTERS - Category chips (COMMENTED OUT - may use as project tags later)
========================================
Horizontally scrollable filter buttons
-->
<!-- <div class="px-4 md:px-[50px] py-4 flex gap-2 overflow-x-auto">
<button class="filter-chip active px-2 py-1.5 rounded border border-light-gray text-sm whitespace-nowrap" data-filter="all">
All Work
</button>
<button class="filter-chip px-2 py-1.5 rounded border border-light-gray text-sm whitespace-nowrap bg-[#FFFEF9]" data-filter="research">
UX Methodology
</button>
<button class="filter-chip px-2 py-1.5 rounded border border-light-gray text-sm whitespace-nowrap bg-[#FFFEF9]" data-filter="design">
Product Design
</button>
<button class="filter-chip px-2 py-1.5 rounded border border-light-gray text-sm whitespace-nowrap bg-[#FFFEF9]" data-filter="strategy">
Strategy
</button>
<button class="filter-chip px-2 py-1.5 rounded border border-light-gray text-sm whitespace-nowrap bg-[#FFFEF9]" data-filter="leadership">
Leadership
</button>
</div> -->
<!--
========================================
MAIN CONTENT – PROJECT CARDS
========================================
Grid of case study cards - 2-up on desktop with varying sizes
-->
<main id="work" class="px-4 md:pl-[120px] md:pr-[40px] py-4 md:max-w-none scroll-mt-[60px]">
<h2 class="text-2xl text-black font-normal mb-6">Work</h2>
<!-- Desktop: 2-column grid, Mobile: single column -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- ==================== PROJECT CARD 1 (IN CAROUSEL) ==================== -->
<!-- <article class="bg-[#FFFEF9] border border-neutral-200 rounded-xl p-4 flex flex-col gap-2.5 cursor-pointer hover:shadow-lg transition-shadow" data-card="1">
<img src="images/380_image_process.png" alt="UX Process - Discovery, wireframing, and prototyping" class="w-full object-cover rounded">
<h3 class="text-2xl text-black font-normal leading-none">UX Process & Methodology</h3>
<p class="text-sm text-black leading-normal">Discovery, wireframing, prototyping, qual/quant research, workshops and UI design collaboration</p>
</article> -->
<!-- ==================== PROJECT CARD 2 (IN CAROUSEL) ==================== -->
<!-- <article class="bg-[#FFFEF9] border border-neutral-200 rounded-xl p-4 flex flex-col gap-2.5 cursor-pointer hover:shadow-lg transition-shadow" data-card="2">
<img src="images/380_image_eyedar.png" alt="Eyedar LIDAR visualization application for the blind" class="w-full object-cover rounded">
<h3 class="text-2xl text-black font-normal leading-none">Interaction Design: EYEDAR mobile application</h3>
<p class="text-sm text-black leading-normal">LIDAR-based audio visualization translating spatial data into sound for navigation, including interface controls, training materials, and documentation</p>
</article> -->
<!-- ==================== PROJECT CARD 1: EYEDAR ==================== -->
<article class="bg-[#FFFEF9] border border-neutral-200 rounded-xl p-4 flex flex-col gap-2.5 cursor-pointer hover:shadow-lg transition-shadow" data-card="1">
<img src="images/380_image_eyedar.png" alt="EYEDAR mobile application" class="w-full object-cover rounded flex-none">
<h3 class="text-2xl text-black font-normal leading-none">Mobile Application Design</h3>
<p class="text-sm text-black leading-normal flex-grow">The Eyedar application is a LiDAR-driven echolocation tool for visually impaired and blind users to navigate their environment through sound.</p>
</article>
<!-- ==================== PROJECT CARD 2: FASENRA ==================== -->
<article class="bg-[#FFFEF9] border border-neutral-200 rounded-xl p-4 flex flex-col gap-2.5 cursor-pointer hover:shadow-lg transition-shadow" data-card="2">
<img src="images/380_image_fasenra.png" alt="Fasenra.com website redesign" class="w-full object-cover rounded flex-none">
<h3 class="text-2xl text-black font-normal leading-none">Pharma Patient Website Redesign</h3>
<p class="text-sm text-black leading-normal flex-grow">Optimized information architecture and redesigned self-injection instructions for a multi-indication pharmaceutical website. IFU pattern adopted into client's global component library.</p>
</article>
<!-- ==================== PROJECT CARD 3: AI DEVELOPMENT ==================== -->
<article class="bg-[#FFFEF9] border border-neutral-200 rounded-xl p-4 flex flex-col gap-2.5 cursor-pointer hover:shadow-lg transition-shadow" data-card="3">
<img src="images/380_image_figma_sync.png" alt="Figma Design Token Sync tool" class="w-full object-cover rounded flex-none">
<h3 class="text-2xl text-black font-normal leading-none">Figma Design Token Sync Tool</h3>
<p class="text-sm text-black leading-normal flex-grow">UX-Engineered automated workflow to sync design tokens from Figma to code, keeping design and development in alignment using Model Context Protocol.</p>
</article>
<!-- ==================== PROJECT CARD 4: PRADAXA AR ==================== -->
<article class="bg-[#FFFEF9] border border-neutral-200 rounded-xl p-4 flex flex-col gap-2.5 cursor-pointer hover:shadow-lg transition-shadow" data-card="4">
<img src="images/380_image_pradaxa.png" alt="Pradaxa AR sales presentation" class="w-full object-cover rounded flex-none">
<h3 class="text-2xl text-black font-normal leading-none">AR Pharma Sales Tool</h3>
<p class="text-sm text-black leading-normal flex-grow">A augmented reality tool for the Veeva CLM platform that transformed standard KOL video content into an immersive, interactive experience for pharmaceutical sales representatives.</p>
</article>
</div>
</main>
<!--
========================================
APPROACH SECTION
========================================
Heading and copy with brand logos
-->
<section id="approach" class="bg-[#FFFEF9] px-4 md:px-[120px] py-12 md:py-16 scroll-mt-[60px]">
<div class="grid grid-cols-1 md:grid-cols-1 gap-10 md:gap-4">
<!-- Heading -->
<h2 class="text-[32px] leading-none text-black font-normal">Approach</h2>
<!-- Copy -->
<p class="text-base leading-normal text-black">
I start every engagement by understanding the business case. Before beginning sketches or concept development, I assess what exists: functionality gaps, usability issues, technical constraints. This groundwork builds credibility with stakeholders and prevents wasted cycles.</p>
<p class="text-base leading-normal text-black">
I build systems, not just screens. Design tokens, interaction specifications, research frameworks and artifacts that scale beyond a single project and keep teams aligned as products evolve.
</p>
<p class="text-base leading-normal text-black">
When it comes to product design and feasibility, I believe in leading by example. Pitching, doing, creating and iterating. When I advocate for a direction, I ensure that stakeholders are informed and I show the work. This approach invites collaboration rather than debate, and it moves teams from ambiguity to execution faster.</p>
</div>
<!-- Brand Logos -->
<div class="mt-24">
<h3 class="text-lg text-black font-normal mb-8">Brands I've Worked With</h3>
<div class="flex flex-wrap justify-center gap-8 items-center">
<img src="images/logos/a23_logo.webp" alt="A23 logo" class="h-10 object-contain">
<img src="images/logos/rga_logo.png" alt="RGA logo" class="h-10 object-contain">
<img src="images/logos/mrm-logo-purple.png" alt="MRM logo" class="h-10 object-contain">
<img src="images/logos/digitas_health_logo.jpeg" alt="Digitas Health" class="h-10 object-contain">
<img src="images/logos/mlb_logo.png" alt="MLB logo" class="h-10 object-contain">
<img src="images/logos/Martha_Stewart_logo.jpg" alt="MSLO logo" class="h-10 object-contain">
<img src="images/logos/MSFT_logo.png" alt="Microsoft logo" class="h-10 object-contain">
<img src="images/logos/google_logo.png" alt="Google logo" class="h-10 object-contain">
<img src="images/logos/nikon_logo.png" alt="Nikon logo" class="h-10 object-contain">
<img src="images/logos/lilly_logo.png" alt="Lilly logo" class="h-10 object-contain">
<img src="images/logos/krystexxa.webp" alt="Krystexxa logo" class="h-10 object-contain">
<img src="images/logos/Horizon_Logo.webp" alt="Horizon logo" class="h-10 object-contain">
<img src="images/logos/bayer_logo.png" alt="Bayer logo" class="h-10 object-contain">
<img src="images/logos/invitae_corporation_logo.webp" alt="Invitae logo" class="h-10 object-contain">
<img src="images/logos/Toujeo_Max_SoloStar_logo.webp" alt="Toujeo Max SoloStar logo" class="h-10 object-contain">
<img src="images/logos/tremfya.webp" alt="Tremfya logo" class="h-10 object-contain">
<img src="images/logos/SMPA.jpeg" alt="SMPA logo" class="h-10 object-contain">
</div>
<!-- awards-->
<div class="mt-24">
<h3 class="text-lg text-black font-normal mb-8">Recognition</h3>
<div class="flex flex-wrap justify-center gap-8 items-center">
<img src="images/logos/the-one-show-logo.png" alt="The One Show logo" class="h-10 object-contain">
<img src="images/logos/Cannes.webp" alt="Cannes logo" class="h-10 object-contain">
<img src="images/logos/CLIOS-awards.png" alt="Clios logo" class="h-10 object-contain">
<img src="images/logos/mm_m_logo.png" alt="MM+M logo" class="h-10 object-contain">
<img src="images/logos/manny.webp" alt="Manny Awards logo" class="h-10 object-contain">
</div>
</div>
</div>
</section>
<!--
========================================
FOOTER
========================================
Copyright and social links
-->
<footer class="bg-[#FFFEF9] border-t border-[#F6F6F6] px-4 pt-6 pb-16 md:pb-8 flex flex-col items-center justify-center gap-4 text-sm text-black text-center">
<p>© 2026 Jeff Halpin</p>
<div class="flex items-center justify-center gap-6">
<a href="https://www.linkedin.com/in/jeffrey-halpin/" target="_blank" rel="noopener noreferrer"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"/>
</svg></a>
<a href="https://github.com/JDHalpin" target="_blank" rel="noopener noreferrer"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8"/>
</svg></a>
<a href="mailto:jeff.halpin@gmail.com"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1zm13 2.383-4.708 2.825L15 11.105zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741M1 11.105l4.708-2.897L1 5.383z"/>
</svg></a>
</div>
</footer>
<!--
========================================
JAVASCRIPT - Filter & Interactivity
========================================
-->
<script>
// -------- MOBILE MENU LOGIC --------
const menuToggle = document.getElementById('menu-toggle');
const menuClose = document.getElementById('menu-close');
const mobileMenu = document.getElementById('mobile-menu');
menuToggle?.addEventListener('click', () => {
mobileMenu.classList.remove('hidden');
document.body.classList.add('overflow-hidden');
});
menuClose?.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
});
// Close menu when clicking outside
mobileMenu?.addEventListener('click', (e) => {
if (e.target === mobileMenu) {
mobileMenu.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
}
});
// Close menu when clicking nav links
document.querySelectorAll('#mobile-menu a').forEach(link => {
link.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
});
});
// -------- FILTER CHIP LOGIC (COMMENTED OUT) --------
/*
document.querySelectorAll('.filter-chip').forEach((chip) => {
chip.addEventListener('click', () => {
// Remove active from all chips
document.querySelectorAll('.filter-chip').forEach(c => {
c.classList.remove('active');
c.classList.add('bg-[#FFFEF9]');
});
// Add active to clicked chip
chip.classList.add('active');
chip.classList.remove('bg-[#FFFEF9]');
const filter = chip.dataset.filter;
console.log('Filter selected:', filter);
// TODO: Implement actual filtering logic here
});
});
*/
// -------- CARD CLICK LOGIC --------
const cardLinks = {
'1': 'eyedar.html',
'2': 'fasenra_redesign.html',
'3': 'figma_sync.html',
'4': 'pradaxa_ar.html',
};
// -------- PASSWORD MODAL LOGIC --------
const PORTFOLIO_PASSWORD = 'portfolio2026';
const SESSION_KEY = 'portfolio_authenticated';
let pendingDestination = null;
const passwordModal = document.getElementById('password-modal');
const passwordModalClose = document.getElementById('password-modal-close');
const passwordForm = document.getElementById('password-form');
const passwordInput = document.getElementById('case-study-password');
const passwordError = document.getElementById('password-error');
function isAuthenticated() {
return sessionStorage.getItem(SESSION_KEY) === 'true';
}
function showPasswordModal(destination) {
pendingDestination = destination;
passwordError.classList.add('hidden');
passwordInput.value = '';
passwordModal.classList.remove('hidden');
document.body.classList.add('overflow-hidden');
passwordInput.focus();
}
function hidePasswordModal() {
passwordModal.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
pendingDestination = null;
passwordInput.value = '';
passwordError.classList.add('hidden');
}
passwordModalClose?.addEventListener('click', hidePasswordModal);
// Close modal when clicking outside
passwordModal?.addEventListener('click', (e) => {
if (e.target === passwordModal) {
hidePasswordModal();
}
});
// Handle password form submit
passwordForm?.addEventListener('submit', (e) => {
e.preventDefault();
const enteredPassword = passwordInput.value;
if (enteredPassword === PORTFOLIO_PASSWORD) {
sessionStorage.setItem(SESSION_KEY, 'true');
hidePasswordModal();
if (pendingDestination) {
window.location.href = pendingDestination;
}
} else {
passwordError.classList.remove('hidden');
passwordInput.value = '';
passwordInput.focus();
}
});
// Card click - navigate to case study
document.querySelectorAll('article[data-card]').forEach((card) => {
card.addEventListener('click', () => {
const cardId = card.dataset.card;
const link = cardLinks[cardId];
if (link) {
window.location.href = link;
}
});
});
// -------- HERO CAROUSEL LOGIC --------
let currentSlide = 0;
let carouselInterval;
const slides = document.querySelectorAll('.carousel-slide');
const dots = document.querySelectorAll('.carousel-dot');
const carousel = document.getElementById('hero-carousel');
const SLIDE_DURATION = 5000; // 5 seconds per slide
function showSlide(index) {
// Hide all slides
slides.forEach(slide => {
slide.style.opacity = '0';
});
// Show current slide
slides[index].style.opacity = '100';
// Update dots
dots.forEach((dot, i) => {
if (i === index) {
dot.classList.remove('bg-mid-gray');
dot.classList.add('bg-accent');
} else {
dot.classList.remove('bg-accent');
dot.classList.add('bg-mid-gray');
}
});
currentSlide = index;
}
function nextSlide() {
const next = (currentSlide + 1) % slides.length;
showSlide(next);
}
function startCarousel() {
carouselInterval = setInterval(nextSlide, SLIDE_DURATION);
}
function stopCarousel() {
clearInterval(carouselInterval);
}
// Navigation dot clicks
dots.forEach((dot, index) => {
dot.addEventListener('click', () => {
showSlide(index);
stopCarousel();
startCarousel(); // Restart the timer after manual navigation
});
});
// Carousel click - temporarily disabled
// carousel?.addEventListener('click', () => {
// const currentSlideElement = slides[currentSlide];
// const cardId = currentSlideElement?.dataset.card;
// if (cardId && cardLinks[cardId]) {
// window.location.href = cardLinks[cardId];
// }
// });
// Pause on hover
carousel?.addEventListener('mouseenter', stopCarousel);
carousel?.addEventListener('mouseleave', startCarousel);
// Start the carousel
startCarousel();
</script>
</body>
</html>