// Configuration par défaut const defaultConfig = { nom_prenom: "Diwen Sevestre", titre_professionnel: "Étudiant BTS SIO SISR", email: "diwen85160@gmail.com", telephone: "07 66 31 XX XX", description_personnelle: "Étudiant en BTS SIO spécialisé SISR, passionné par l'administration système et la cybersécurité. Recherche d'opportunités pour développer mes compétences techniques.", background_color: "#29394d", primary_color: "#163853", secondary_color: "#22a6b3", font_family: "Segoe UI", font_size: 16 }; // Fonctions pour la modale des projets function openProjectsModal() { const modal = document.getElementById('projects-modal'); modal.style.display = 'block'; document.body.style.overflow = 'hidden'; } function closeProjectsModal() { const modal = document.getElementById('projects-modal'); modal.style.display = 'none'; document.body.style.overflow = 'auto'; } // Fermer la modale en cliquant sur le fond document.addEventListener('click', function(e) { const modal = document.getElementById('projects-modal'); if (e.target === modal) { closeProjectsModal(); } }); // Fermer avec la touche Escape document.addEventListener('keydown', function(e) { if (e.key === 'Escape') { closeProjectsModal(); } }); // Navigation fluide document.addEventListener('DOMContentLoaded', function() { // Gestion du scroll fluide const navLinks = document.querySelectorAll('.nav-links a'); navLinks.forEach(link => { link.addEventListener('click', function(e) { e.preventDefault(); const targetId = this.getAttribute('href').substring(1); const targetSection = document.getElementById(targetId); if (targetSection) { targetSection.scrollIntoView({ behavior: 'smooth', block: 'start' }); } document.getElementById('nav-links').classList.remove('active'); }); }); // Gestion du clic sur la carte des projets const projectsCard = document.getElementById('projects-card'); if (projectsCard) { projectsCard.addEventListener('click', function() { openProjectsModal(); }); } }); function toggleMobileMenu() { document.getElementById('nav-links').classList.toggle('active'); } // Gestion du formulaire de contact function handleContactForm(event) { event.preventDefault(); const formData = new FormData(event.target); const name = formData.get('name'); const email = formData.get('email'); const subject = formData.get('subject'); const message = formData.get('message'); const submitBtn = event.target.querySelector('.submit-btn'); const originalText = submitBtn.textContent; submitBtn.textContent = 'Envoi en cours...'; submitBtn.disabled = true; setTimeout(() => { submitBtn.textContent = 'Message envoyé !'; submitBtn.style.backgroundColor = '#28a745'; event.target.reset(); setTimeout(() => { submitBtn.textContent = originalText; submitBtn.disabled = false; submitBtn.style.backgroundColor = '#163853'; }, 3000); }, 2000); } // Fonctions CV function downloadCV() { const button = event.target.closest('.download-btn'); const originalContent = button.innerHTML; button.innerHTML = ` Préparation du CV... `; button.disabled = true; setTimeout(() => { const cvContent = generateCVContent(); const blob = new Blob([cvContent], { type: 'text/html;charset=utf-8' }); const link = document.createElement('a'); link.href = URL.createObjectURL(blob); link.download = 'CV_Diwen_Sevestre_BTS_SIO.html'; document.body.appendChild(link); link.click(); document.body.removeChild(link); URL.revokeObjectURL(link.href); button.innerHTML = ` ✅ CV téléchargé ! `; button.style.backgroundColor = '#28a745'; showNotification('📄 CV téléchargé avec succès dans vos téléchargements !', '#28a745'); setTimeout(() => { button.innerHTML = originalContent; button.style.backgroundColor = '#163853'; button.disabled = false; }, 3000); }, 1500); } function consultCV() { const button = event.target.closest('.download-btn'); const originalContent = button.innerHTML; button.innerHTML = ` Ouverture du CV... `; button.disabled = true; setTimeout(() => { const cvContent = generateCVContent(); const newWindow = window.open('', '_blank', 'noopener,noreferrer'); if (newWindow) { newWindow.document.write(cvContent); newWindow.document.close(); button.innerHTML = ` ✅ CV ouvert ! `; button.style.backgroundColor = '#28a745'; showNotification('🌐 CV ouvert dans un nouvel onglet !', '#3b82f6'); } else { button.innerHTML = ` ⚠️ Pop-ups bloqués `; button.style.backgroundColor = '#f59e0b'; showNotification('⚠️ Veuillez autoriser les pop-ups pour consulter le CV', '#f59e0b'); } setTimeout(() => { button.innerHTML = originalContent; button.style.backgroundColor = '#29394d'; button.disabled = false; }, 3000); }, 1000); } function generateCVContent() { const config = window.elementSdk ? window.elementSdk.config : defaultConfig; return `
Étudiant en Services Informatiques aux Organisations
Spécialisation SISR – Solutions d’Infrastructure, Systèmes et Réseaux
🎯 Actuellement en BTS Services Informatiques aux Organisations, je voudrais me spécialiser dans le domaine de la cybersécurité.
🚀 Mon objectif est de devenir un Directeur de Système d’Information, capable de gérer des projets de A à Z, de la conception à la mise en production.
Administration et maintenance des infrastructures IT
Assistance utilisateurs et résolution de problèmes
Communication et service client de qualité
Pack Office, TeamViewer, Linux, Windows, MacOS
Formation complète en administration de systèmes informatiques.
Support Informatique aux Utilisateurs.
Première approche des technologies informatiques.
La Roche-sur-Yon
Mon alternance
Mon profil
📧 Email : diwen85160@gmail.com
📱 Téléphone : 07 66 31 XX XX
📍 Localisation : Les Brouzils
💼 LinkedIn : /in/diwen-sevestre-31929a294/
Recherche d’une alternance dans le domaine de la cybersécurité de l’administration systèmes pour mettre en pratique mes compétences acquises en BTS SIO et contribuer à des projets innovants.