Skip to content

Commit 1adb51f

Browse files
committed
add certificates and awards section
1 parent f69ca5f commit 1adb51f

8 files changed

Lines changed: 163 additions & 0 deletions
189 KB
Binary file not shown.
335 KB
Loading
151 KB
Binary file not shown.
60 KB
Loading
Binary file not shown.
249 KB
Loading

src/pages/index.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,45 @@ <h3 class="exp-role">Bachelor of Applied Science, Computer Science</h3>
408408
</div>
409409
</section>
410410

411+
<!-- Certifications & Awards -->
412+
<section id="certifications" class="section reveal">
413+
<div class="container">
414+
<h2 class="section-title type-on-scroll">Certifications &amp; Awards</h2>
415+
<div class="cert-cards">
416+
<a href="../assets/certificates/Dean's Honour Roll.pdf#view=FitH" target="_blank" rel="noopener noreferrer" class="cert-card-link" aria-label="View Dean's Honour Roll certificate (opens in new window)">
417+
<div class="post-card cert-card">
418+
<div class="cert-card-image-wrapper">
419+
<img src="../assets/certificates/Dean's Honour Roll.png" alt="Dean's Honour Roll certificate preview" class="cert-card-image" width="1200" height="400" loading="lazy">
420+
<img src="../assets/icons/external-link.png" class="external-link-icon" alt="View" title="View certificate">
421+
</div>
422+
<h3 class="post-card-title">Dean's Honour Roll</h3>
423+
<p class="post-card-description">Fraser International College</p>
424+
</div>
425+
</a>
426+
<a href="../assets/certificates/Supervised Machine Learning (Coursera).pdf#view=FitH" target="_blank" rel="noopener noreferrer" class="cert-card-link" aria-label="View Machine Learning certificate (opens in new window)">
427+
<div class="post-card cert-card">
428+
<div class="cert-card-image-wrapper">
429+
<img src="../assets/certificates/Supervised Machine Learning (Coursera).png" alt="Machine Learning certificate preview" class="cert-card-image" width="1200" height="400" loading="lazy">
430+
<img src="../assets/icons/external-link.png" class="external-link-icon" alt="View" title="View certificate">
431+
</div>
432+
<h3 class="post-card-title">Machine Learning</h3>
433+
<p class="post-card-description">Stanford Online (Coursera)</p>
434+
</div>
435+
</a>
436+
<a href="../assets/certificates/Pandas Certificate (Kaggle).pdf#view=FitH" target="_blank" rel="noopener noreferrer" class="cert-card-link" aria-label="View Pandas certificate (opens in new window)">
437+
<div class="post-card cert-card">
438+
<div class="cert-card-image-wrapper">
439+
<img src="../assets/certificates/Pandas Certificate (Kaggle).png" alt="Pandas certificate preview" class="cert-card-image" width="1200" height="400" loading="lazy">
440+
<img src="../assets/icons/external-link.png" class="external-link-icon" alt="View" title="View certificate">
441+
</div>
442+
<h3 class="post-card-title">Pandas</h3>
443+
<p class="post-card-description">Kaggle Learn</p>
444+
</div>
445+
</a>
446+
</div>
447+
</div>
448+
</section>
449+
411450
<!-- Volunteering -->
412451
<section id="volunteering" class="section reveal">
413452
<div class="container">

src/styles/main.css

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,6 +2200,108 @@ body.page-home .see-all a:focus-visible {
22002200
margin: 0;
22012201
}
22022202

2203+
/* Certifications & Awards: post-style cards, full width, title on top + image on bottom */
2204+
.cert-cards {
2205+
display: grid;
2206+
gap: 1.25rem;
2207+
margin-bottom: 1.5rem;
2208+
}
2209+
2210+
@media (min-width: 480px) {
2211+
.cert-cards {
2212+
grid-template-columns: repeat(2, 1fr);
2213+
}
2214+
}
2215+
2216+
@media (min-width: 720px) {
2217+
.cert-cards {
2218+
grid-template-columns: repeat(3, 1fr);
2219+
}
2220+
}
2221+
2222+
.cert-card-link {
2223+
display: flex;
2224+
min-height: 0;
2225+
text-decoration: none;
2226+
color: inherit;
2227+
cursor: pointer;
2228+
}
2229+
2230+
.cert-card-link:focus {
2231+
outline: none;
2232+
}
2233+
2234+
.cert-card-link:focus-visible .cert-card {
2235+
outline: 2px solid rgba(122, 184, 232, 0.6);
2236+
outline-offset: 2px;
2237+
}
2238+
2239+
.cert-card-link:hover .cert-card,
2240+
.cert-card-link:focus-visible .cert-card {
2241+
border-color: #3a3a3a;
2242+
background-color: #1e1e1e;
2243+
}
2244+
2245+
@media (hover: hover) {
2246+
.cert-card-link:hover .cert-card,
2247+
.cert-card-link:focus-visible .cert-card {
2248+
transform: scale(1.02);
2249+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
2250+
}
2251+
}
2252+
2253+
/* Cert cards: same look as post cards, image on top, equal height in row */
2254+
.post-card.cert-card {
2255+
display: flex;
2256+
flex-direction: column;
2257+
flex: 1;
2258+
min-height: 0;
2259+
}
2260+
2261+
.post-card.cert-card .post-card-title {
2262+
margin-bottom: 0.25rem;
2263+
}
2264+
2265+
.post-card.cert-card .post-card-description {
2266+
margin-bottom: 0;
2267+
}
2268+
2269+
.cert-card-image-wrapper {
2270+
position: relative;
2271+
border-radius: 6px;
2272+
overflow: hidden;
2273+
margin: -1.25rem -1.5rem 1rem -1.5rem;
2274+
height: 160px;
2275+
flex-shrink: 0;
2276+
}
2277+
2278+
.cert-card-image {
2279+
width: 100%;
2280+
height: 100%;
2281+
object-fit: cover;
2282+
display: block;
2283+
transition: transform 0.2s ease;
2284+
}
2285+
2286+
.cert-card-link:hover .cert-card-image {
2287+
transform: scale(1.02);
2288+
}
2289+
2290+
/* Home page: cert cards use same glassy style as post cards */
2291+
body.page-home .post-card.cert-card {
2292+
background-color: rgba(28, 24, 36, 0.45);
2293+
backdrop-filter: blur(10px);
2294+
-webkit-backdrop-filter: blur(10px);
2295+
border: 1px solid rgba(255, 255, 255, 0.08);
2296+
box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
2297+
}
2298+
2299+
body.page-home .cert-card-link:hover .cert-card,
2300+
body.page-home .cert-card-link:focus-visible .cert-card {
2301+
background-color: rgba(48, 38, 62, 0.55);
2302+
border-color: rgba(168, 85, 247, 0.15);
2303+
}
2304+
22032305
/* ========================================
22042306
Skills / Tech Stack
22052307
======================================== */
@@ -2412,6 +2514,28 @@ body.page-home .skill-group:hover .chips span {
24122514
color: #fff;
24132515
}
24142516

2517+
.exp-role-link {
2518+
color: inherit;
2519+
text-decoration: none;
2520+
transition: color 0.15s ease, text-decoration 0.15s ease;
2521+
}
2522+
2523+
.exp-role-link:hover,
2524+
.exp-role-link:focus-visible {
2525+
color: #fff;
2526+
text-decoration: underline;
2527+
}
2528+
2529+
.exp-role-link:focus {
2530+
outline: none;
2531+
}
2532+
2533+
.exp-role-link:focus-visible {
2534+
outline: 2px solid rgba(122, 184, 232, 0.6);
2535+
outline-offset: 2px;
2536+
border-radius: 2px;
2537+
}
2538+
24152539
.exp-minor {
24162540
font-size: 0.9rem;
24172541
font-weight: 500;

0 commit comments

Comments
 (0)