595 lines
23 KiB
HTML
595 lines
23 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Maksym Buz - Making Technology Work</title>
|
|
<style>
|
|
/* --- Google Font Import --- */
|
|
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Inter:wght@400;500;600&display=swap');
|
|
|
|
/* --- CSS Variables (Root) --- */
|
|
:root {
|
|
--bg-color: #121826; /* Darker, slightly blue background */
|
|
--text-color: #E0E0E0;
|
|
--accent-color: #00BFFF;
|
|
--card-bg-color: #1A2035; /* Card background to stand out a bit */
|
|
--header-font: 'Montserrat', sans-serif;
|
|
--body-font: 'Inter', sans-serif;
|
|
}
|
|
|
|
/* --- Base & Reset --- */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
font-family: var(--body-font);
|
|
line-height: 1.7;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* --- FIX: Fixed dynamic background that doesn't scroll --- */
|
|
#dynamic-bg {
|
|
position: fixed; /* This keeps the canvas in place */
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1; /* Place it behind all content */
|
|
}
|
|
|
|
/* --- The Engine Room (Hero Section) --- */
|
|
.engine-room {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
position: relative;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
/* FIX: Softer overlay gradient instead of a hard edge */
|
|
.engine-room::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(ellipse at center, rgba(18, 24, 38, 0.7) 0%, rgba(18, 24, 38, 1) 75%);
|
|
z-index: 0;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
animation: fadeIn 1.5s ease-out;
|
|
}
|
|
|
|
.engine-room h1 {
|
|
font-family: var(--header-font);
|
|
font-size: clamp(3rem, 7vw, 6rem); /* Made title larger for impact */
|
|
font-weight: 900;
|
|
letter-spacing: -2px;
|
|
margin-bottom: 1rem;
|
|
text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
|
|
}
|
|
|
|
.scroll-cue {
|
|
position: absolute;
|
|
bottom: 2rem;
|
|
z-index: 1;
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
.scroll-cue span {
|
|
font-size: 0.9rem;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.scroll-cue svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
/* --- The Toolkit (Main Content) --- */
|
|
/* FIX: Removed solid background to allow fixed canvas to show through */
|
|
.toolkit {
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 6rem 1.5rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.section {
|
|
margin-bottom: 5rem;
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
|
|
}
|
|
|
|
.section.is-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.profile-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.profile-pic {
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: 50%;
|
|
border: 4px solid var(--accent-color);
|
|
margin-bottom: 1.5rem;
|
|
box-shadow: 0 0 25px rgba(0, 191, 255, 0.3);
|
|
}
|
|
|
|
.profile-header h1 {
|
|
font-family: var(--header-font);
|
|
font-size: 2.8rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.profile-header h2 {
|
|
font-size: 1.2rem;
|
|
color: var(--accent-color);
|
|
font-weight: 500;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.profile-summary {
|
|
font-size: 1.1rem;
|
|
max-width: 750px;
|
|
}
|
|
|
|
.contact-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.contact-links a {
|
|
color: var(--text-color);
|
|
transition: color 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
.contact-links a:hover {
|
|
color: var(--accent-color);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.contact-links svg {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.section-title {
|
|
font-family: var(--header-font);
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 2.5rem; /* Increased margin */
|
|
text-align: center; /* Centered title */
|
|
position: relative;
|
|
}
|
|
|
|
/* FIX: Replaced line under title with a centered version for better aesthetics */
|
|
.section-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%); /* Centering trick */
|
|
width: 80px;
|
|
height: 4px;
|
|
background-color: var(--accent-color);
|
|
}
|
|
|
|
/* FIX: Adjusted grid for 'Areas of Expertise' to be a 2x2 layout */
|
|
.expertise-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
|
|
gap: 1.5rem;
|
|
justify-items: center; /* Center items within grid cells */
|
|
}
|
|
|
|
/* FIX: Adjusted grid for 'Technologies' to also be a 2x2 layout */
|
|
.technologies-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.card {
|
|
background-color: var(--card-bg-color);
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
border: 1px solid #2a3149; /* Subtle border */
|
|
transition: transform 0.3s ease, border-color 0.3s ease;
|
|
width: 100%; /* Ensure cards take full width of grid cell */
|
|
max-width: 420px; /* Max width for cards */
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--accent-color);
|
|
}
|
|
|
|
.card h3 {
|
|
font-family: var(--header-font);
|
|
font-size: 1.5rem;
|
|
color: var(--accent-color);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card p {
|
|
color: var(--text-color);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.skill-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.tag {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 20px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
border: 1px solid transparent;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.tag:hover {
|
|
color: var(--accent-color);
|
|
border-color: var(--accent-color);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.experience-card {
|
|
background-color: var(--card-bg-color);
|
|
padding: 2.5rem; /* More padding */
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.experience-card h3 {
|
|
font-family: var(--header-font);
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.experience-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.experience-list li {
|
|
position: relative;
|
|
padding-left: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.experience-list li::before {
|
|
content: '⚡';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
color: var(--accent-color);
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.homelab-section {
|
|
padding: 3rem;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-color: var(--card-bg-color);
|
|
background-image:
|
|
linear-gradient(rgba(26, 32, 53, 0.95), rgba(26, 32, 53, 0.95)),
|
|
url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300BFFF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
|
|
}
|
|
|
|
.homelab-section h3 {
|
|
font-family: var(--header-font);
|
|
font-size: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cta-section {
|
|
text-align: center;
|
|
margin-top: 5rem;
|
|
}
|
|
|
|
.cta-button {
|
|
font-family: var(--header-font);
|
|
background-color: var(--accent-color);
|
|
color: var(--bg-color);
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
padding: 1rem 3rem;
|
|
border: 2px solid var(--accent-color);
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.cta-button:hover {
|
|
background-color: transparent;
|
|
color: var(--accent-color);
|
|
transform: scale(1.05);
|
|
box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
|
|
}
|
|
|
|
/* --- Animation Keyframes --- */
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { transform: scale(1); opacity: 0.7; }
|
|
50% { transform: scale(1.05); opacity: 1; }
|
|
100% { transform: scale(1); opacity: 0.7; }
|
|
}
|
|
|
|
/* --- Responsive Design --- */
|
|
@media (max-width: 768px) {
|
|
.toolkit {
|
|
padding: 4rem 1rem;
|
|
}
|
|
.profile-header h1 {
|
|
font-size: 2.2rem;
|
|
}
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
/* FIX: Stacking grids to 1 column on smaller screens */
|
|
.expertise-grid, .technologies-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<canvas id="dynamic-bg"></canvas>
|
|
|
|
<header class="engine-room" id="home">
|
|
<div class="hero-content">
|
|
<h1>Making Technology Work</h1>
|
|
</div>
|
|
<a href="#toolkit" class="scroll-cue">
|
|
<span>Explore the Toolkit</span>
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3" />
|
|
</svg>
|
|
</a>
|
|
</header>
|
|
|
|
<main class="toolkit" id="toolkit">
|
|
|
|
<section class="profile-header section">
|
|
<img src="https://i.imgur.com/placeholder.png" alt="Maksym Buz Profile Picture" class="profile-pic">
|
|
<h1>Maksym Buz</h1>
|
|
<h2>Senior Application Engineer</h2>
|
|
<p class="profile-summary">
|
|
A seasoned Application Engineer with over 7 years of experience transforming technical support into a proactive, solution-driven function. I bridge the gap between complex customer challenges and robust, turnkey solutions with a strong focus on automation, high availability, and disaster recovery. My passion for technology and DevOps principles extends to my personal Homelab, where I architect and manage dozens of self-hosted services.
|
|
</p>
|
|
<div class="contact-links">
|
|
<a href="mailto:buz.maxim@gmail.com" title="Email">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M1.5 4.5h21A1.5 1.5 0 0 1 24 6v12a1.5 1.5 0 0 1-1.5 1.5H1.5A1.5 1.5 0 0 1 0 18V6a1.5 1.5 0 0 1 1.5-1.5ZM21 5.5H3a.5.5 0 0 0-.492.576l9 7.5a.5.5 0 0 0 .492.001l9-7.5A.5.5 0 0 0 21 5.5Z"/></svg>
|
|
</a>
|
|
<a href="https://www.linkedin.com/in/maksym-buz/" target="_blank" rel="noopener noreferrer" title="LinkedIn">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z"/></svg>
|
|
</a>
|
|
<a href="https://git.mbuz.uk/Homelab" target="_blank" rel="noopener noreferrer" title="GitHub">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section">
|
|
<h2 class="section-title">Areas of Expertise</h2>
|
|
<div class="expertise-grid">
|
|
<div class="card"><h3>Automation</h3><p>Designing and implementing automated workflows to improve efficiency and reliability.</p></div>
|
|
<div class="card"><h3>Monitoring</h3><p>Building comprehensive monitoring solutions to ensure system health and performance.</p></div>
|
|
<div class="card"><h3>Turnkey Projects</h3><p>Delivering end-to-end solutions from conception to deployment and maintenance.</p></div>
|
|
<div class="card"><h3>Problem Solving</h3><p>Tackling complex technical challenges and providing robust, long-term fixes.</p></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section">
|
|
<h2 class="section-title">Technologies & Tools</h2>
|
|
<div class="technologies-grid">
|
|
<div class="card">
|
|
<h3>Core Languages</h3>
|
|
<div class="skill-tags"><span class="tag">Python</span><span class="tag">Bash</span><span class="tag">SQL</span></div>
|
|
</div>
|
|
<div class="card">
|
|
<h3>Infra & Automation</h3>
|
|
<div class="skill-tags"><span class="tag">Ansible</span><span class="tag">Docker</span><span class="tag">Proxmox</span><span class="tag">Git</span><span class="tag">CI/CD Principles</span></div>
|
|
</div>
|
|
<div class="card">
|
|
<h3>Monitoring & Observability</h3>
|
|
<div class="skill-tags"><span class="tag">Zabbix</span><span class="tag">SNMP</span></div>
|
|
</div>
|
|
<div class="card">
|
|
<h3>OS & Databases</h3>
|
|
<div class="skill-tags"><span class="tag">Linux</span><span class="tag">PostgreSQL (TimescaleDB, Patroni)</span><span class="tag">MySQL (MariaDB, Galera)</span></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section">
|
|
<h2 class="section-title">Professional Experience</h2>
|
|
<div class="experience-card">
|
|
<p style="font-size: 1.1rem; color: var(--text-color); opacity: 1;">A results-oriented engineer with a proven track record in both corporate IT and specialized product environments. My career is focused on enhancing system reliability, automating complex processes, and delivering high-value, turnkey projects.</p>
|
|
<br>
|
|
<ul class="experience-list">
|
|
<li>Led the end-to-end delivery of enterprise-grade monitoring solutions, ensuring stability and performance for high-stakes client infrastructures.</li>
|
|
<li>Developed and implemented robust automation scripts (Python, Bash, Ansible) that significantly reduced manual deployment times and operational errors.</li>
|
|
<li>Managed and synchronized critical business systems (CRM, HR), performing complex database upgrades, migrations, and root cause analysis (RCA).</li>
|
|
<li>Acted as a key technical resource, mentoring team members, assisting sales with expert insights, and delivering public webinars as a certified trainer.</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section">
|
|
<div class="homelab-section">
|
|
<h3>My Personal Engineering Sandbox: The Homelab</h3>
|
|
<p>Beyond professional duties, my passion for engineering thrives in my Homelab. Here, I architect and manage a multi-node virtualization environment (Proxmox, Docker), hosting a self-contained Git service, alongside dozens of multimedia and productivity services. It's my dedicated space for hands-on experimentation, deep-diving into new technologies, and mastering complex system deployments—a true testament to continuous learning and practical application of DevOps principles.</p>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="cta-section section">
|
|
<a href="mailto:buz.maxim@gmail.com" class="cta-button">Let's Build a Solution</a>
|
|
</section>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
// --- Dynamic Background Script ---
|
|
// This script creates an interactive particle network on the canvas
|
|
const canvas = document.getElementById('dynamic-bg');
|
|
const ctx = canvas.getContext('2d');
|
|
canvas.width = window.innerWidth;
|
|
canvas.height = window.innerHeight;
|
|
|
|
let particlesArray;
|
|
|
|
class Particle {
|
|
constructor(x, y, directionX, directionY, size, color) {
|
|
this.x = x;
|
|
this.y = y;
|
|
this.directionX = directionX;
|
|
this.directionY = directionY;
|
|
this.size = size;
|
|
this.color = color;
|
|
}
|
|
// Method to draw individual particle
|
|
draw() {
|
|
ctx.beginPath();
|
|
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2, false);
|
|
ctx.fillStyle = 'rgba(0, 191, 255, 0.5)';
|
|
ctx.fill();
|
|
}
|
|
// Method to update particle's position
|
|
update() {
|
|
if (this.x > canvas.width || this.x < 0) {
|
|
this.directionX = -this.directionX;
|
|
}
|
|
if (this.y > canvas.height || this.y < 0) {
|
|
this.directionY = -this.directionY;
|
|
}
|
|
this.x += this.directionX;
|
|
this.y += this.directionY;
|
|
this.draw();
|
|
}
|
|
}
|
|
|
|
// Function to create particle array
|
|
function init() {
|
|
particlesArray = [];
|
|
let numberOfParticles = (canvas.height * canvas.width) / 9000;
|
|
for (let i = 0; i < numberOfParticles; i++) {
|
|
let size = (Math.random() * 2) + 1;
|
|
let x = (Math.random() * ((innerWidth - size * 2) - (size * 2)) + size * 2);
|
|
let y = (Math.random() * ((innerHeight - size * 2) - (size * 2)) + size * 2);
|
|
let directionX = (Math.random() * 0.4) - 0.2;
|
|
let directionY = (Math.random() * 0.4) - 0.2;
|
|
let color = 'rgba(0, 191, 255, 0.5)';
|
|
particlesArray.push(new Particle(x, y, directionX, directionY, size, color));
|
|
}
|
|
}
|
|
|
|
// Function to draw lines between particles
|
|
function connect() {
|
|
let opacityValue = 1;
|
|
for (let a = 0; a < particlesArray.length; a++) {
|
|
for (let b = a; b < particlesArray.length; b++) {
|
|
let distance = ((particlesArray[a].x - particlesArray[b].x) * (particlesArray[a].x - particlesArray[b].x))
|
|
+ ((particlesArray[a].y - particlesArray[b].y) * (particlesArray[a].y - particlesArray[b].y));
|
|
if (distance < (canvas.width/7) * (canvas.height/7)) {
|
|
opacityValue = 1 - (distance/20000);
|
|
ctx.strokeStyle = 'rgba(0, 191, 255,' + opacityValue + ')';
|
|
ctx.lineWidth = 1;
|
|
ctx.beginPath();
|
|
ctx.moveTo(particlesArray[a].x, particlesArray[a].y);
|
|
ctx.lineTo(particlesArray[b].x, particlesArray[b].y);
|
|
ctx.stroke();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Animation loop
|
|
function animate() {
|
|
requestAnimationFrame(animate);
|
|
ctx.clearRect(0, 0, innerWidth, innerHeight);
|
|
|
|
for (let i = 0; i < particlesArray.length; i++) {
|
|
particlesArray[i].update();
|
|
}
|
|
connect();
|
|
}
|
|
|
|
// Event listener for window resize
|
|
window.addEventListener('resize', function() {
|
|
canvas.width = innerWidth;
|
|
canvas.height = innerHeight;
|
|
init();
|
|
});
|
|
|
|
init();
|
|
animate();
|
|
|
|
// --- Scroll Animation Observer ---
|
|
// This script fades in sections as they become visible
|
|
const sections = document.querySelectorAll('.section');
|
|
const observer = new IntersectionObserver(entries => {
|
|
entries.forEach(entry => {
|
|
if (entry.isIntersecting) {
|
|
entry.target.classList.add('is-visible');
|
|
}
|
|
});
|
|
}, {
|
|
threshold: 0.1
|
|
});
|
|
|
|
sections.forEach(section => {
|
|
observer.observe(section);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |