-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
257 lines (213 loc) · 11.5 KB
/
index.html
File metadata and controls
257 lines (213 loc) · 11.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bryon Fitzgerald Ward Jr.</title>
<link rel="icon" href="favicon_.ico" />
<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=Albert+Sans:wght@300;500;700&family=News+Cycle&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css" />
</head>
<body>
<header class="site-header">
<div class="social-strip">
<a href="https://www.linkedin.com/in/bryon-fitzgerald-ward-jr-945915a7/" aria-label="LinkedIn" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M4.98 3.5a2.5 2.5 0 1 1 0 5.001 2.5 2.5 0 0 1 0-5zM3 9h4v12H3zM9 9h3.8v1.64h.05c.53-.95 1.82-1.96 3.75-1.96 4.01 0 4.75 2.64 4.75 6.08V21h-4v-5.33c0-1.27-.02-2.9-1.77-2.9-1.77 0-2.04 1.38-2.04 2.81V21H9z" fill="currentColor"/>
</svg>
</a>
<a href="https://twitter.com/bry_py" aria-label="Twitter" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M21.54 7.2c.01.17.01.35.01.52 0 5.33-4.06 11.48-11.48 11.48-2.28 0-4.4-.67-6.18-1.82.32.04.65.06.98.06 1.89 0 3.63-.64 5.01-1.72a4.05 4.05 0 0 1-3.78-2.81c.25.04.51.06.78.06.37 0 .73-.05 1.07-.14a4.04 4.04 0 0 1-3.24-3.97v-.05c.54.3 1.16.48 1.81.5a4.03 4.03 0 0 1-1.8-3.36c0-.74.2-1.43.55-2.03a11.46 11.46 0 0 0 8.32 4.22 4.56 4.56 0 0 1-.1-.93 4.03 4.03 0 0 1 6.98-2.76 7.87 7.87 0 0 0 2.56-.98 4.05 4.05 0 0 1-1.77 2.23 8.06 8.06 0 0 0 2.32-.64 8.61 8.61 0 0 1-2.02 2.09z" fill="currentColor"/>
</svg>
</a>
<a href="https://drive.google.com/drive/folders/1WpD9ansgXvbR9RsT2b9d_3XrFgxsJ_dZ?usp=sharing" aria-label="Portfolio" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M9 3a2 2 0 0 0-2 2v1H4a2 2 0 0 0-2 2v3h20V8a2 2 0 0 0-2-2h-3V5a2 2 0 0 0-2-2H9zm0 3V5h6v1H9zM2 13v5a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5H2zm7 2h6v2H9v-2z" fill="currentColor"/>
</svg>
</a>
<a href="https://public.tableau.com/app/profile/bry.py/vizzes" aria-label="Visualization" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M3 3h2v18H3V3zm4 10h2v8H7v-8zm4-6h2v14h-2V7zm4 4h2v10h-2V11zm4-8h2v18h-2V3z" fill="currentColor"/>
</svg>
</a>
</div>
<h1 class="title">Bryon Fitzgerald Ward Jr.</h1>
<p class="subtitle">Security & Data Analyst · Threat Detection · Data Storytelling</p>
</header>
<section class="hero-photo">
<img src="images/Personal Website.png" alt="Bryon Fitzgerald Ward Jr. smiling, in shirt and tie" />
</section>
<main>
<!-- Timeline -->
<section class="timeline-wrap" aria-labelledby="timeline-heading">
<h2 id="timeline-heading" class="visually-hidden">Timeline</h2>
<!-- Controls (optional) -->
<div class="timeline-controls">
<button class="tl-btn" data-dir="prev" aria-label="Scroll timeline left">‹</button>
<button class="tl-btn" data-dir="next" aria-label="Scroll timeline right">›</button>
</div>
<!-- Horizontal rail -->
<div class="timeline" id="timeline" role="listbox" aria-label="Career timeline">
<!-- JS will inject ticks here -->
</div>
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@NEW CODE@@@@@@@@@@@@@@@@@@@@@@@@@@>
<! Legend -->
<div class="timeline-legend" aria-hidden="true">
<span class="legend-item">
<span class="pin-sample pin-personal"></span> Personal Entry
</span>
<span class="legend-item">
<span class="pin-sample pin-professional"></span> Professional Event
</span>
</div>
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@NEW CODE@@@@@@@@@@@@@@@@@@@@@@@@@@>
<! Footer panel that reflects the active link -->
<footer class="timeline-footer" id="timelineFooter" aria-live="polite">
<div class="tf-year">—</div>
<div class="tf-title">Hover over a year to see details.</div>
<div class="tf-link"></div>
</footer>
</section>
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@new code@@@@@@@@@@@@@@@@@@@@@@@@@-->
<footer class="site-footer">
<nav class="footer-links" aria-label="Footer navigation">
<a href="https://www.linkedin.com/in/bryon-fitzgerald-ward-jr-945915a7/" target="_blank" rel="noopener">LinkedIn</a>
<a href="https://twitter.com/bry_py" target="_blank" rel="noopener">Twitter</a>
<a href="https://drive.google.com/drive/folders/1WpD9ansgXvbR9RsT2b9d_3XrFgxsJ_dZ?usp=sharing" target="_blank" rel="noopener">Portfolio</a>
<a href="https://public.tableau.com/app/profile/bry.py/vizzes" target="_blank" rel="noopener">Visualization</a>
</nav>
<p class="footer-copy">© 2025 Bryon Fitzgerald Ward Jr.</p>
</footer>
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@new code@@@@@@@@@@@@@@@@@@@@@@@@@-->
</main>
<script>
// ===== Config =====
const START_YEAR = 2013;
const END_YEAR = 2025; // inclusive by default
const INCLUSIVE = true; // set false if you want exactly 12 ticks (excludes END_YEAR)
// Add your “special” linked events here.
// title: shown on hover/focus; href: page to open.
// year can repeat if you want multiple events in the same year.
const EVENTS = [
{ year: 2013, type: "personal", title: "A Life Changing Event", href: "pages/2013_entry_template.html" },
{ year: 2014, type: "professional", title: "Finance Origins – Pace University", href: "pages/2014-pace.html" },
{ year: 2015, type: "personal", title: "Wanderlust and Wall Street", href:"pages/2015-wallstreet.html"},
{ year: 2016, type: "personal", title: "Kaboom", href: "pages/2016-kaboom.html"},
{ year: 2018, type: "professional", title: "Combined Insurance – Regulation 101", href: "pages/2018-combined.html" },
{ year: 2019, type: "professional", title: "Prudential – Regulation 201", href: "pages/2019-prudential.html" },
{ year: 2020, type: "personal", title: "Alexander Capital – Compliance Rigor", href: "pages/2020-alexander-capital.html" },
{ year: 2023, type: "professional", title: "Pivot to Security – Google Cert", href: "pages/2023-google-cyber.html" },
// { year: 2024, type: "professional", title: "SilentShield Launch", href: "pages/2024-silentshield.html" },
// { year: 2025, type: "professional", title: "LITI Protocol – IP & Systems", href: "pages/2025-liti.html" },
// example of a personal reflection in a “recent” year
// { year: 2024, type: "personal", title: "What I Learned About Focus", href: "pages/2024-focus.html" },
];
// ===== Build timeline =====
const timeline = document.getElementById('timeline');
const footer = document.getElementById('timelineFooter');
// ----- footer helpers -----
const defaultHint = 'click pin for more details';
const setFooterDefault = () => {
footer.querySelector('.tf-year').textContent = '-';
footer.querySelector('.tf-title').textContent = 'Hover over a year to see details here.';
footer.querySelector('.tf-link').textContent = defaultHint;
};
// call it once on page load so footer isn't empty
setFooterDefault();
const years = [];
const last = INCLUSIVE ? END_YEAR : END_YEAR - 1;
for (let y = START_YEAR; y <= last; y++) years.push(y);
// group events by year for quick lookup
const byYear = EVENTS.reduce((acc, e) => {
acc[e.year] ??= [];
acc[e.year].push(e);
return acc;
}, {});
years.forEach((y, idx) => {
const item = document.createElement('div');
item.className = 'tick';
item.setAttribute('role', 'option');
item.setAttribute('aria-label', `Year ${y}`);
item.dataset.year = y;
// baseline year label
const label = document.createElement('div');
label.className = 'tick-year';
label.textContent = y;
item.appendChild(label);
// if this year has one or more events, build clickable pins
if (byYear[y]) {
const eventsHere = document.createElement('div');
eventsHere.className = 'tick-events';
byYear[y].forEach((ev, i) => {
const a = document.createElement('a');
a.className = 'event-pin';
a.href = ev.href;
a.title = ev.title;
/* a.setAttribute('aria-label', `${y}: ${ev.title}`);*/
a.dataset.title = ev.title;
a.dataset.year = y;
// ADD THIS: type → class (and better aria-label)
const kind = ev.type === 'personal' ? 'pin-personal' : 'pin-professional';
const kindLabel = ev.type === 'personal' ? 'Personal Reflection' : 'Professional Entry';
a.classList.add(kind);
a.setAttribute('aria-label', `${y}: ${ev.title} (${kindLabel})`);
// dynamic label bubble shown on hover/focus
const bubble = document.createElement('span');
bubble.className = 'event-bubble';
bubble.textContent = ev.title;
a.appendChild(bubble);
/* // wire footer updates
const updateFooter = () => {
footer.querySelector('.tf-year').textContent = y;
footer.querySelector('.tf-title').textContent = ev.title;
footer.querySelector('.tf-link').innerHTML = `<a href="${ev.href}">Open page →</a>`;
};*/
// const resetFooter = () => {
// footer.querySelector('.tf-year').textContent = '—';
// footer.querySelector('.tf-title').textContent = 'Hover over a year to see details here.';
// footer.querySelector('.tf-link').textContent = '';
// };
const showDetails = () => {
// update footer
footer.querySelector('.tf-year').textContent = y;
footer.querySelector('.tf-title').textContent = `${ev.title} - ${kindLabel}`;
footer.querySelector('.tf-link').textContent = defaultHint; //innerHTML = `<a href="${ev.href}">Open page →</a>`;
// keep bubble inside the timeline viewport
bubble.classList.remove('shift-right','shift-left');
const bubbleRect = bubble.getBoundingClientRect();
const containerRect = timeline.getBoundingClientRect();
if (bubbleRect.left < containerRect.left) bubble.classList.add('shift-right');
else if (bubbleRect.right > containerRect.right) bubble.classList.add('shift-left');
};
// wire up interactions
a.addEventListener('mouseenter', showDetails);
a.addEventListener('focus', showDetails); // keyboard users
// a.addEventListener('mouseleave', resetFooter);
// a.addEventListener('blur', resetFooter); // keyboard users
a.addEventListener('click', showDetails); // mobile tap feedback
eventsHere.appendChild(a);
});
item.appendChild(eventsHere);
item.classList.add('has-event');
}
// add separators except after last
if (idx !== years.length - 1) {
const rail = document.createElement('span');
rail.className = 'rail';
item.appendChild(rail);
}
timeline.appendChild(item);
});
// Scroll controls
document.querySelectorAll('.tl-btn').forEach(btn => {
btn.addEventListener('click', () => {
const dir = btn.dataset.dir === 'next' ? 1 : -1;
timeline.scrollBy({ left: dir * timeline.clientWidth * 0.8, behavior: 'smooth' });
});
});
</script>
</body>
</html>