123 lines
4.9 KiB
PHP
Executable File
123 lines
4.9 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="Certifications — Qualifications and courses completed by Cris Charles Garcia.">
|
|
<title>Certifications | Cris Charles Garcia</title>
|
|
<link rel="stylesheet" href="assets/css/style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<input type="checkbox" id="dark-mode-toggle" class="toggle-checkbox" checked>
|
|
|
|
<!-- Animated Mesh Background -->
|
|
<div class="mesh-bg" aria-hidden="true">
|
|
<div class="orb orb-1"></div>
|
|
<div class="orb orb-2"></div>
|
|
<div class="orb orb-3"></div>
|
|
</div>
|
|
|
|
<div class="site-wrapper">
|
|
|
|
<nav id="main-nav">
|
|
<div class="logo">CG.</div>
|
|
|
|
<div class="hamburger" id="hamburger" aria-label="Toggle menu" aria-expanded="false" role="button" tabindex="0">
|
|
<span class="bar"></span>
|
|
<span class="bar"></span>
|
|
<span class="bar"></span>
|
|
</div>
|
|
|
|
<div class="nav-links" id="nav-links" role="navigation">
|
|
<a href="index.php#about" class="nav-item">About</a>
|
|
<a href="index.php#projects" class="nav-item">Work</a>
|
|
<a href="index.php#certificates" class="nav-item">Certs</a>
|
|
<a href="blog.php" class="nav-item">Blog</a>
|
|
<a href="index.php#contact" class="nav-item">Contact</a>
|
|
<label for="dark-mode-toggle" class="mode-btn" title="Toggle Theme" aria-label="Toggle dark/light mode">
|
|
<span class="icon-moon">🌙</span>
|
|
<span class="icon-sun">☀️</span>
|
|
</label>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="page-hero reveal">
|
|
<span class="section-label">Certifications</span>
|
|
<h1>My Certifications</h1>
|
|
<p class="subtitle">Certifications and courses I have completed.</p>
|
|
</div>
|
|
|
|
<div class="section-divider"></div>
|
|
|
|
<section class="section-pad">
|
|
<div class="cert-grid">
|
|
<?php include('views/certifications.php'); ?>
|
|
</div>
|
|
</section>
|
|
|
|
<footer>
|
|
<p>© <span id="year"></span> Cris Charles Garcia. Based in Laguna, Philippines.</p>
|
|
</footer>
|
|
</div>
|
|
|
|
<a href="#" id="back-to-top" title="Back to Top" aria-label="Back to top">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 15l-6-6-6 6"/></svg>
|
|
</a>
|
|
|
|
<script>
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
document.getElementById("year").textContent = new Date().getFullYear();
|
|
|
|
const observer = new IntersectionObserver((entries, obs) => {
|
|
entries.forEach(entry => {
|
|
if (entry.isIntersecting) { entry.target.classList.add('active'); obs.unobserve(entry.target); }
|
|
});
|
|
}, { threshold: 0.08 });
|
|
document.querySelectorAll('.reveal').forEach(el => observer.observe(el));
|
|
|
|
const backToTop = document.getElementById("back-to-top");
|
|
window.addEventListener('scroll', () => backToTop.classList.toggle("show", window.scrollY > 300));
|
|
|
|
const themeToggle = document.getElementById("dark-mode-toggle");
|
|
themeToggle.checked = localStorage.getItem("theme") !== "light";
|
|
themeToggle.addEventListener("change", () => localStorage.setItem("theme", themeToggle.checked ? "dark" : "light"));
|
|
|
|
// HAMBURGER MENU
|
|
const hamburger = document.getElementById("hamburger");
|
|
const navLinks = document.getElementById("nav-links");
|
|
const navItems = document.querySelectorAll(".nav-item");
|
|
|
|
function closeMenu() {
|
|
hamburger.classList.remove("active");
|
|
navLinks.classList.remove("active");
|
|
hamburger.setAttribute("aria-expanded", "false");
|
|
}
|
|
|
|
hamburger.addEventListener("click", (e) => {
|
|
e.stopPropagation();
|
|
const isOpen = hamburger.classList.toggle("active");
|
|
navLinks.classList.toggle("active");
|
|
hamburger.setAttribute("aria-expanded", isOpen);
|
|
});
|
|
|
|
// Close on nav link click
|
|
navItems.forEach(item => item.addEventListener("click", closeMenu));
|
|
|
|
// Close when clicking outside the menu
|
|
document.addEventListener("click", (e) => {
|
|
if (navLinks.classList.contains("active") && !navLinks.contains(e.target) && !hamburger.contains(e.target)) {
|
|
closeMenu();
|
|
}
|
|
});
|
|
|
|
// Close on scroll
|
|
window.addEventListener('scroll', () => {
|
|
if (navLinks.classList.contains('active')) {
|
|
closeMenu();
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|