-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
762 lines (649 loc) · 25.3 KB
/
index.html
File metadata and controls
762 lines (649 loc) · 25.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
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
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-site-verification" content="4aiMBuEc4N-KX4FhNklW1AZQ24VfWf_KmjH5ZE15EyU" />
<meta name="description" content="The personal portfolio and resume of Ryan McCune, a coastal engineer specializing in coastal flooding and community engaged research.">
<meta name="keywords" content="Ryan McCune, NC State University, NCSU, North Carolina State, Coastal Engineer, Portfolio, Research">
<meta name="author" content="Ryan McCune">
<title>Ryan McCune | Coastal Engineer</title>
<link rel="icon" type="image/x-icon" href="assets/coastal-hazard.ico">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<style>
/* --- COPY OF YOUR STYLE.CSS --- */
/* Basic Setup */
:root {
--sidebar-width: 300px;
--main-bg: #fdfdfd;
--sidebar-bg: #7f93a9;
--text-color: #000000;
--link-color: #8C7D61;
--border-color: #9CA3AA;
}
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: var(--main-bg);
color: var(--text-color);
}
/* --- Sidebar Styling --- */
#sidebar {
position: fixed;
top: 0;
left: 0;
width: var(--sidebar-width);
height: 100vh;
background: var(--sidebar-bg);
border-right: 1px solid var(--border-color);
padding: 2rem;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
z-index: 1000; /* Ensure sidebar stays on top */
}
#sidebar header {
margin-bottom: 2rem;
}
.profile-pic {
width: 150px;
height: 150px;
border-radius: 50%;
border: 5px solid #fff;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
margin-bottom: 1rem;
}
#sidebar h1 {
margin: 0.5rem 0 0.25rem;
font-size: 1.75rem;
color: #ffffff;
white-space: nowrap;
}
#sidebar p {
font-size: 1rem;
color: #e0e0e0;
}
.pronouns {
font-size: 0.9rem;
font-weight: 400;
font-style: italic;
color: #d0d0d0;
margin-left: 0rem;
}
/* Nav Links */
.nav-links {
list-style: none;
padding: 0;
margin: 0;
flex-grow: 1;
}
.nav-links li {
margin: 1.25rem 0;
}
.nav-links a {
text-decoration: none;
color: #ffffff;
font-size: 1.1rem;
font-weight: 500;
}
.nav-links a:hover {
color: var(--link-color);
}
/* Social Links */
.social-links {
margin-top: 1rem;
}
.social-links a {
font-size: 1.5rem;
margin: 0 0.75rem;
color: #ffffff;
text-decoration: none;
}
.social-links a:hover {
color: var(--link-color);
}
/* --- Main Content Styling --- */
#content {
margin-left: var(--sidebar-width);
padding: 0 0 3rem 0;
}
#content section {
max-width: 900px;
margin-left: auto;
margin-right: auto;
margin-bottom: 4rem;
padding: 1rem 3rem 2rem 3rem;
box-sizing: border-box;
}
h2 {
font-size: 2.5rem;
border-bottom: 2px solid var(--border-color);
padding-bottom: 0.5rem;
margin-bottom: 1.5rem;
}
a {
color: var(--link-color);
}
/* --- Banner Image Styling --- */
.banner-image {
width: 100%;
height: 250px;
object-fit: cover;
margin-bottom: 2rem;
}
/* --- TOGGLE SWITCH STYLING (NEW) --- */
.about-header {
display: flex;
justify-content: space-between;
align-items: flex-end; /* Aligns switch with bottom of H2 text */
border-bottom: 2px solid var(--border-color);
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
}
/* Override standard H2 in this container to remove its individual border */
.about-header h2 {
border-bottom: none;
padding-bottom: 0;
margin-bottom: 0;
flex-grow: 1;
}
.bio-switch-container {
display: flex;
align-items: center;
gap: 10px;
font-size: 0.9rem;
color: #666;
padding-bottom: 5px; /* Alignment adjustment */
}
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 26px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: var(--sidebar-bg); /* Use your theme color */
}
input:focus + .slider {
box-shadow: 0 0 1px var(--sidebar-bg);
}
input:checked + .slider:before {
-webkit-transform: translateX(24px);
-ms-transform: translateX(24px);
transform: translateX(24px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
/* Logic classes */
.hidden-text {
display: none;
}
/* Fade animation for smoother toggle */
.bio-text {
animation: fadeIn 0.5s;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* --- Project Card Grid --- */
.project-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
.project-card {
border: 1px solid var(--border-color);
border-radius: 8px;
background: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
overflow: hidden;
}
.project-card img,
.project-card video {
width: 100%;
height: 200px;
object-fit: cover;
display: block;
}
.project-card h3 {
font-size: 1.25rem;
margin: 1rem 1.5rem 0.5rem;
}
.project-card p {
margin: 0 1.5rem 1rem;
font-size: 0.95rem;
color: #555;
}
.project-card p:last-child {
margin-bottom: 1.5rem;
}
/* --- Parallax "Cutout" Window --- */
.parallax-window {
height: 200px;
/* Placeholder background for the demo */
background-color: #7f93a9;
background-image: url('assets/banner_image.jpg');
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
margin: 4rem 0 1rem 0;
}
.parallax-window:first-child {
height: 450px;
margin-top: 0;
}
/* --- Contact Section --- */
#content #contact {
max-width: 100%;
margin-left: 0;
margin-right: 0;
background-image: url('assets/banner_image.jpg');
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
padding: 6rem 2rem;
margin-bottom: 0;
}
.contact-card {
background-color: #9CA3AA;
color: #f1f1f1;
max-width: 700px;
margin: 0 auto;
padding: 3rem;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
text-align: center;
}
.contact-card h2 {
border-bottom-color: #666;
color: #ffffff;
}
.contact-card a {
color: #9cdbff;
}
.copyright {
margin-top: 2rem;
padding-top: 1.5rem;
border-top: 1px solid #666;
text-align: center;
font-size: 0.9rem;
color: #f1f1f1;
}
/* --- News Reel Styling --- */
.news-wrapper {
position: relative;
display: flex;
align-items: center;
}
.news-reel {
display: flex;
overflow-x: auto;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
gap: 1.5rem;
padding: 1rem 0.5rem;
-webkit-overflow-scrolling: touch;
}
.news-reel {
-ms-overflow-style: none;
scrollbar-width: none;
}
.news-reel::-webkit-scrollbar {
display: none;
}
.news-card {
min-width: 300px;
max-width: 300px;
border: 1px solid var(--border-color);
border-radius: 8px;
background: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
overflow: hidden;
scroll-snap-align: start;
display: flex;
flex-direction: column;
}
.news-card img,
.news-card video {
width: 100%;
height: 180px;
object-fit: cover;
display: block;
}
.news-content {
padding: 0;
}
.news-card h3 {
font-size: 1.1rem;
margin: 1rem 1rem 0.5rem 1rem;
}
.news-card p {
margin: 0 1rem 1rem 1rem;
font-size: 0.9rem;
color: #555;
}
.scroll-btn {
background-color: var(--sidebar-bg);
color: white;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
z-index: 10;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.scroll-btn:hover {
background-color: var(--link-color);
}
.left-btn {
left: -20px;
}
.right-btn {
right: -20px;
}
/* --- Responsive --- */
@media (max-width: 900px) {
#sidebar {
position: static;
width: 100%;
height: auto;
border-right: none;
border-bottom: 1px solid var(--border-color);
}
#content {
margin-left: 0;
padding: 2rem 0;
}
#content section {
padding-left: 2rem;
padding-right: 2rem;
}
.project-grid {
grid-template-columns: 1fr;
}
.banner-image {
height: 200px;
margin-bottom: 1rem;
}
.parallax-window, #content #contact {
background-attachment: scroll;
}
.parallax-window {
margin: 2rem 0;
}
#content #contact {
padding: 3rem 1rem;
}
.scroll-btn {
display: none;
}
.news-wrapper {
margin: 0 -1.5rem;
}
.news-reel {
padding: 1rem 2rem;
}
.news-card {
min-width: 280px;
}
/* Stack the toggle below the title on very small screens */
.about-header {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
}
</style>
<script data-goatcounter="https://rtmccune.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</head>
<body>
<nav id="sidebar">
<header>
<img src="assets/headshot.png" alt="Ryan McCune Headshot" class="profile-pic">
<h1>Ryan McCune <small class="pronouns">he/him</small></h1>
<p>Coastal Engineer<br>PhD Student</p>
</header>
<ul class="nav-links">
<li><a href="/#news">In The News</a></li>
<li><a href="/#research">Research</a></li>
<li><a href="/dashboard/">Dashboard</a></li>
<li><a href="assets/RyanMcCune.pdf">CV</a></li>
</ul>
<footer class="social-links">
<a href="mailto:rmccune@ncsu.edu" target="_blank" aria-label="Email"><i class="fas fa-envelope"></i></a>
<a href="https://github.com/rtmccune" target="_blank" aria-label="GitHub"><i class="fab fa-github"></i></a>
<a href="https://www.linkedin.com/in/ryan-mccune" target="_blank" aria-label="LinkedIn"><i class="fab fa-linkedin"></i></a>
<a href="https://scholar.google.com/citations?user=CnYIFHQAAAAJ&hl=en&oi=ao" target="_blank" aria-label="Google Scholar"><i class="fas fa-graduation-cap"></i></a>
</footer>
</nav>
<main id="content">
<div class="parallax-window"></div>
<section id="about">
<!-- Modified Header Area with Toggle -->
<div class="about-header">
<h2>About Me</h2>
<div class="bio-switch-container">
<span>1st Person</span>
<label class="switch">
<input type="checkbox" id="bioToggle">
<span class="slider round"></span>
</label>
<span>3rd Person</span>
</div>
</div>
<!-- 1st Person Version (Default) -->
<div id="bio-first" class="bio-text">
<p>
I am a doctoral student and National Defense Science and Engineering Graduate Fellow at
North Carolina State University, specializing in coastal engineering. My research investigates
the drivers and impacts of chronic, "sunny day" flooding in North Carolina's Down East region.
</p>
<p>
I combine hydrodynamics with advanced data science, utilizing semantic image segmentation
and numerical modeling methods to validate flood predictions against real-world sensor data.
As a KIETS Climate Leader and University of Delaware alumnus, I am dedicated to bridging the
gap between engineering models and communities.
</p>
</div>
<!-- 3rd Person Version (Hidden by default) -->
<div id="bio-third" class="bio-text hidden-text">
<p>
Ryan McCune is a doctoral student and National Defense Science and Engineering Graduate Fellow at
North Carolina State University, specializing in coastal engineering. His research investigates
the drivers and impacts of chronic, "sunny day" flooding in North Carolina's Down East region.
</p>
<p>
Ryan combines hydrodynamics with advanced data science, utilizing semantic image segmentation
and numerical modeling methods to validate flood predictions against real-world sensor data.
As a KIETS Climate Leader and University of Delaware alumnus, he is dedicated to bridging the
gap between engineering models and communities.
</p>
</div>
</section>
<div class="parallax-window"></div>
<section id="news">
<h2>In The News</h2>
<p>Recent media coverage, interviews, and articles featuring work I have been involved with. Check out other news relating to the Sunny Day Flooding Project <a href="https://sunnydayflooding.com/news/" target="_blank">here</a>!</p>
<div class="news-wrapper">
<button class="scroll-btn left-btn" id="scrollLeft" aria-label="Scroll Left">
<i class="fas fa-chevron-left"></i>
</button>
<div class="news-reel" id="newsReel">
<div class="news-card">
<img src="assets/climate_academy_one_year.png" alt="DERN Meeting Announcement">
<div class="news-content">
<h3>NC State Climate and Sustainability Academy Celebrates One Year</h3>
<p>The NC State Climate and Sustainability Academy has celebrated its first year!</p>
<p><a href="https://climateandsustainabilityacademy.ncsu.edu/2025/12/celebrating-one-year-of-the-climate-and-sustainability-academy/" target="_blank">Read Article <i class="fas fa-external-link-alt"></i></a></p>
</div>
</div>
<div class="news-card">
<img src="assets/DERN-fall-gathering.jpeg" alt="DERN Meeting Announcement">
<div class="news-content">
<h3>DERN Meeting</h3>
<p>Our team attended and presented at the recent Down East Resilience Network meeting.</p>
<p><a href="https://climateandsustainabilityacademy.ncsu.edu/2025/10/in-focus-down-east-resilience-network-fall-gathering-coastal-futures-hub/" target="_blank">Read Article <i class="fas fa-external-link-alt"></i></a></p>
</div>
</div>
<!-- Card 1 -->
<div class="news-card">
<img src="assets/coastal-review-hino-paper.jpg" alt="Coastal Areas Flood More Frequently" onerror="this.src='https://via.placeholder.com/400x250'">
<div class="news-content">
<h3>Coastal Review</h3>
<p>Discussing our recent paper on frequency of flooding in coastal North Carolina.</p>
<p><a href="https://coastalreview.org/2025/06/coastal-areas-flood-more-frequently-than-thought-study/" target="_blank">Read Article <i class="fas fa-external-link-alt"></i></a></p>
</div>
</div>
<!-- Card 2 -->
<div class="news-card">
<!-- Placeholder video source logic -->
<video autoplay loop muted playsinline>
<source src="assets/post-CB-flood.mp4" type="video/mp4">
</video>
<div class="news-content">
<h3>The Washington Post</h3>
<p>Coverage of flooding in one of our partner communities, Carolina Beach.</p>
<p><a href="https://www.washingtonpost.com/climate-environment/interactive/2024/coastal-flooding-carolina-beach-videos/" target="_blank">Read Article <i class="fas fa-external-link-alt"></i></a></p>
</div>
</div>
<!-- Card 3 -->
<div class="news-card">
<img src="assets/mccune-grad-school.jpg" alt="Grad School Profile" onerror="this.src='https://via.placeholder.com/400x250'">
<div class="news-content">
<h3>NC State Grad Student Profile</h3>
<p>NC State University graduate student profile.</p>
<p><a href="https://grad.ncsu.edu/news/2024/04/grad-student-profile-ryan-mccune/" target="_blank">Read Article <i class="fas fa-external-link-alt"></i></a></p>
</div>
</div>
</div>
<button class="scroll-btn right-btn" id="scrollRight" aria-label="Scroll Right">
<i class="fas fa-chevron-right"></i>
</button>
</div>
</section>
<div class="parallax-window"></div>
<section id="research">
<h2>Featured Work</h2>
<p>My work focuses on developing and applying computational tools to understand chronic coastal flooding while engaging with community stakeholders.</p>
<div class="project-grid">
<div class="project-card">
<img src="assets/CAM_DE_01_20240921203626_predseg_labels_rectified_depth_map_95_perc.png" alt="Flood Image Rectification">
<h3>Water level extraction from flooded imagery</h3>
<p>
We have developed a method to extract water levels from flooded imagery alone
using semantic image segmentation and image georectification techniques. We quantify
the added benefit of inundation quantification and analysis from imagery
as compared to in-situ sensors.
</p>
<!--<p><a href="#">Link to paper</a> · <a href="#">Link to code</a></p>>-->
<p><a href="https://github.com/rtmccune/poseidon" target="_blank">Link to Code</a></p>
</div>
<div class="project-card">
<img src="assets/flood-tolerance.png" alt="Car Driving Through Flood">
<h3>Chronic coastal flooding tolerance in rural North Carolina</h3>
<p>
Our team asked residents of rural Carteret County, NC about how they live with and tolerate
frequent, sea-level rise driven flooding.
</p>
<p>
With these interviews, we describe how people stay in place despite flooding
in the context of socio-economic change, uneven governance, and population aging.
We are currently combining these findings with numerical models to explore
changes to perceptions of risk and impacts to long-term community livability.
</p>
<p><a href="https://sunny-day-flooding-project.github.io/carteret-flood-tolerance/#" target="_blank">Interactive Report</a></p>
</div>
</div>
</section>
<section id="contact">
<div class="contact-card">
<p>I am always happy to connect and collaborate on ideas, advice, or any other inquiries.
The best way to get in touch is via email.</p>
<div class="copyright">All text and media © Ryan McCune, unless otherwise noted. All rights reserved.
<br> Profile photo by Taylor Wanbaugh.
</div>
</div>
</section>
</main>
<script>
// --- Scroll Logic ---
const scrollContainer = document.getElementById("newsReel");
const leftBtn = document.getElementById("scrollLeft");
const rightBtn = document.getElementById("scrollRight");
rightBtn.addEventListener("click", () => {
scrollContainer.scrollBy({ left: 320, behavior: "smooth" });
});
leftBtn.addEventListener("click", () => {
scrollContainer.scrollBy({ left: -320, behavior: "smooth" });
});
// --- Bio Toggle Logic ---
const bioToggle = document.getElementById('bioToggle');
const bioFirst = document.getElementById('bio-first');
const bioThird = document.getElementById('bio-third');
bioToggle.addEventListener('change', function() {
if(this.checked) {
// Switch is ON -> Show 3rd Person
bioFirst.classList.add('hidden-text');
bioThird.classList.remove('hidden-text');
} else {
// Switch is OFF -> Show 1st Person
bioThird.classList.add('hidden-text');
bioFirst.classList.remove('hidden-text');
}
});
</script>
</body>
</html>